ASPECT
initial_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) 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 
16 #ifndef _aspect_boundary_temperature_initial_temperature_h
17 #define _aspect_boundary_temperature_initial_temperature_h
18 
22 
23 namespace aspect
24 {
25  namespace BoundaryTemperature
26  {
34  template <int dim>
35  class InitialTemperature : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
36  {
37  public:
46  void
47  initialize () override;
48 
55  double boundary_temperature (const types::boundary_id boundary_indicator,
56  const Point<dim> &position) const override;
57 
65  double minimal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
66 
74  double maximal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
75 
80  static
81  void
83 
87  void
88  parse_parameters (ParameterHandler &prm) override;
89 
90  private:
97 
104 
111  std::shared_ptr<const aspect::InitialTemperature::Manager<dim>> initial_temperature;
112  };
113  }
114 }
115 
116 
117 #endif
static void declare_parameters(ParameterHandler &prm)
std::shared_ptr< const aspect::InitialTemperature::Manager< dim > > initial_temperature
double maximal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
double boundary_temperature(const types::boundary_id boundary_indicator, const Point< dim > &position) const override
double minimal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
void parse_parameters(ParameterHandler &prm) override