ASPECT
box.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_box_h
17 #define _aspect_boundary_temperature_box_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace BoundaryTemperature
26  {
33  template <int dim>
34  class Box : public Interface<dim>, public SimulatorAccess<dim>
35  {
36  public:
43  double boundary_temperature (const types::boundary_id boundary_indicator,
44  const Point<dim> &position) const override;
45 
53  double minimal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
54 
62  double maximal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
63 
68  static
69  void
71 
75  void
76  parse_parameters (ParameterHandler &prm) override;
77 
78  private:
86  double temperature_[2*dim];
87  };
88  }
89 }
90 
91 
92 #endif
static void declare_parameters(ParameterHandler &prm)
double boundary_temperature(const types::boundary_id boundary_indicator, const Point< dim > &position) const override
void parse_parameters(ParameterHandler &prm) override
double minimal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
double maximal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
double temperature_[2 *dim]
Definition: box.h:86