ASPECT
steady_heat_flux.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) 2021-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_heat_flux_h
17 #define _aspect_termination_criteria_steady_heat_flux_h
18 
22 
23 namespace aspect
24 {
25  namespace TerminationCriteria
26  {
33  template <int dim>
34  class SteadyHeatFlux : public Interface<dim>, public SimulatorAccess<dim>
35  {
36  public:
43  bool
44  execute () override;
45 
49  static
50  void
52 
56  void
57  parse_parameters (ParameterHandler &prm) override;
58 
59  void
60  save (std::map<std::string, std::string> &status_strings) const override;
61 
62  void
63  load (const std::map<std::string, std::string> &status_strings) override;
64 
65  private:
74 
82 
90  std::set<types::boundary_id> boundary_indicators;
91 
97  std::list<std::pair<double, double>> time_heat_flux;
98  };
99  }
100 }
101 
102 #endif
std::list< std::pair< double, double > > time_heat_flux
void save(std::map< std::string, std::string > &status_strings) const override
std::set< types::boundary_id > boundary_indicators
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
void load(const std::map< std::string, std::string > &status_strings) override