ASPECT
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 
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
51 
55  void
56  parse_parameters (ParameterHandler &prm) override;
57 
58  private:
63  unsigned int end_step;
64  };
65  }
66 }
67 
68 #endif
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)