ASPECT
command.h
Go to the documentation of this file.
1 // ------------------------------------------------------
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 //
5 // SPDX-FileCopyrightText: Copyright (C) 2016-2026 by the ASPECT authors.
6 //
7 // This file is part of ASPECT.
8 //
9 // Detailed license information governing the source code and
10 // contributions can be found in the folder LICENSES and in
11 // LICENSE and CONTRIBUTING.md at the top level directory.
12 //
13 // ------------------------------------------------------
14 
15 
16 #ifndef _aspect_postprocess_command_h
17 #define _aspect_postprocess_command_h
18 
21 
22 #include <cstdlib>
23 
24 namespace aspect
25 {
26  namespace Postprocess
27  {
28 
34  template <int dim>
35  class Command : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
36  {
37  public:
41  static
42  void
44 
48  void
49  parse_parameters (ParameterHandler &prm) override;
50 
54  std::pair<std::string,std::string>
55  execute (TableHandler &statistics) override;
56 
57  private:
61  std::string command;
70  };
71  }
72 }
73 
74 
75 #endif
void parse_parameters(ParameterHandler &prm) override
std::pair< std::string, std::string > execute(TableHandler &statistics) override
static void declare_parameters(ParameterHandler &prm)