ASPECT
two_merged_boxes.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_two_merged_boxes_h
17 #define _aspect_boundary_temperature_two_merged_boxes_h
18 
20 
22 
23 
24 namespace aspect
25 {
26  namespace BoundaryTemperature
27  {
35  template <int dim>
36  class TwoMergedBoxes : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
44  double boundary_temperature (const types::boundary_id boundary_indicator,
45  const Point<dim> &position) const override;
46 
54  double minimal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
55 
63  double maximal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
64 
69  static
70  void
72 
76  void
77  parse_parameters (ParameterHandler &prm) override;
78 
79  private:
89  double temperature_values[2*dim+2*(dim-1)];
90  };
91  }
92 }
93 
94 
95 #endif
double minimal_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
void parse_parameters(ParameterHandler &prm) override
double temperature_values[2 *dim+2 *(dim-1)]
double maximal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
static void declare_parameters(ParameterHandler &prm)