ASPECT
steady_temperature.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) 2019-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_termination_criteria_steady_temperature_h
17 #define _aspect_termination_criteria_steady_temperature_h
18 
21 
22 namespace aspect
23 {
24  namespace TerminationCriteria
25  {
32  template <int dim>
33  class SteadyTemperature : 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  void
59  save (std::map<std::string, std::string> &status_strings) const override;
60 
61  void
62  load (const std::map<std::string, std::string> &status_strings) override;
63 
64  private:
70 
76 
82  std::list<std::pair<double, double>> time_temperature;
83  };
84  }
85 }
86 
87 #endif
void save(std::map< std::string, std::string > &status_strings) const override
std::list< std::pair< double, double > > time_temperature
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
void load(const std::map< std::string, std::string > &status_strings) override