ASPECT
ascii_data.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-2025 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_ascii_data_h
17 #define _aspect_boundary_temperature_ascii_data_h
18 
21 #include <aspect/utilities.h>
22 
23 
24 namespace aspect
25 {
26  namespace BoundaryTemperature
27  {
34  template <int dim>
35  class AsciiData : public Utilities::AsciiDataBoundary<dim>, public Interface<dim>
36  {
37  public:
41  AsciiData ();
42 
47  void
48  initialize () override;
49 
50  // avoid -Woverloaded-virtual:
52 
59  void update () override;
60 
67  double
68  boundary_temperature (const types::boundary_id boundary_indicator,
69  const Point<dim> &position) const override;
70 
78  double minimal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
79 
87  double maximal_temperature (const std::set<types::boundary_id> &fixed_boundary_ids) const override;
88 
89 
93  static
94  void
96 
100  void
101  parse_parameters (ParameterHandler &prm) override;
102  };
103  }
104 }
105 
106 
107 #endif
void parse_parameters(ParameterHandler &prm) override
double minimal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override
static void declare_parameters(ParameterHandler &prm)
double boundary_temperature(const types::boundary_id boundary_indicator, const Point< dim > &position) const override
double maximal_temperature(const std::set< types::boundary_id > &fixed_boundary_ids) const override