ASPECT
include
aspect
termination_criteria
end_step.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) 2011-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
#ifndef _aspect_termination_criteria_end_step_h
16
#define _aspect_termination_criteria_end_step_h
17
18
#include <
aspect/termination_criteria/interface.h
>
19
#include <
aspect/simulator_access.h
>
20
21
namespace
aspect
22
{
23
namespace
TerminationCriteria
24
{
25
32
template
<
int
dim>
33
class
EndStep
:
public
Interface
<dim>,
public
SimulatorAccess
<dim>
34
{
35
public
:
42
bool
43
execute
()
override
;
44
48
static
49
void
50
declare_parameters
(
ParameterHandler
&prm);
51
55
void
56
parse_parameters
(
ParameterHandler
&prm)
override
;
57
58
private
:
63
unsigned
int
end_step
;
64
};
65
}
66
}
67
68
#endif
aspect::TerminationCriteria::EndStep::execute
bool execute() override
aspect::TerminationCriteria::EndStep::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::TerminationCriteria::EndStep::declare_parameters
static void declare_parameters(ParameterHandler &prm)
ParameterHandler
aspect::TerminationCriteria::EndStep::end_step
unsigned int end_step
Definition:
end_step.h:63
interface.h
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect
Definition:
advection_field.h:24
aspect::TerminationCriteria::EndStep
Definition:
end_step.h:33
aspect::TerminationCriteria::Interface
Definition:
interface.h:57
ASPECT manual
| Generated by
1.8.12