ASPECT
repeat_on_cutback.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) 2018-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_time_stepping_repeat_on_cutback_h
17 #define _aspect_time_stepping_repeat_on_cutback_h
18 
20 
21 namespace aspect
22 {
23  namespace TimeStepping
24  {
31  template <int dim>
32  class RepeatOnCutback : public Interface<dim>, public SimulatorAccess<dim>
33  {
34  public:
38  RepeatOnCutback () = default;
39 
43  double
44  execute() override;
45 
49  std::pair<Reaction, double>
50  determine_reaction(const TimeStepInfo &info) override;
51 
52  static
53  void
55 
56  void
57  parse_parameters (ParameterHandler &prm) override;
58 
59  private:
68 
78  };
79  }
80 }
81 
82 
83 #endif
std::pair< Reaction, double > determine_reaction(const TimeStepInfo &info) override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override