ASPECT
function.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) 2014-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_boundary_temperature_function_h
17 #define _aspect_boundary_temperature_function_h
18 
21 #include <aspect/utilities.h>
22 
24 
25 namespace aspect
26 {
27  namespace BoundaryTemperature
28  {
35  template <int dim>
36  class Function : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
42  Function ();
43 
49  double
50  boundary_temperature (const types::boundary_id boundary_indicator,
51  const Point<dim> &position) const override;
52 
59  void update () override;
60 
68  double minimal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
69 
77  double maximal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
78 
79 
83  static
84  void
86 
90  void
91  parse_parameters (ParameterHandler &prm) override;
92 
93  private:
98 
105 
111 
119  };
120  }
121 }
122 
123 
124 #endif
Functions::ParsedFunction< dim > boundary_temperature_function
Definition: function.h:97
double boundary_temperature(const types::boundary_id boundary_indicator, const Point< dim > &position) const override
static void declare_parameters(ParameterHandler &prm)
double minimal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
void parse_parameters(ParameterHandler &prm) override
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition: function.h:118
double maximal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override