ASPECT
include
aspect
postprocess
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
19
#include <
aspect/postprocess/interface.h
>
20
#include <
aspect/simulator_access.h
>
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
43
declare_parameters
(
ParameterHandler
&prm);
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
;
65
bool
terminate_on_failure
;
69
bool
on_all_processes
;
70
};
71
}
72
}
73
74
75
#endif
aspect::Postprocess::Command::parse_parameters
void parse_parameters(ParameterHandler &prm) override
ParameterHandler
aspect::Postprocess::Command::command
std::string command
Definition:
command.h:61
TableHandler
interface.h
aspect::Postprocess::Command::terminate_on_failure
bool terminate_on_failure
Definition:
command.h:65
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect::Postprocess::Command::on_all_processes
bool on_all_processes
Definition:
command.h:69
aspect
Definition:
advection_field.h:24
aspect::Postprocess::Command::execute
std::pair< std::string, std::string > execute(TableHandler &statistics) override
aspect::Postprocess::Interface
Definition:
interface.h:63
aspect::Postprocess::Command
Definition:
command.h:35
aspect::Postprocess::Command::declare_parameters
static void declare_parameters(ParameterHandler &prm)
ASPECT manual
| Generated by
1.8.12