ASPECT
ascii_data_layered.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_initial_temperature_ascii_data_layered_h
17 #define _aspect_initial_temperature_ascii_data_layered_h
18 
21 #include <aspect/utilities.h>
22 
23 
24 namespace aspect
25 {
26  namespace InitialTemperature
27  {
34  template <int dim>
35  class AsciiDataLayered : public Utilities::AsciiDataLayered<dim>, public Interface<dim>
36  {
37  public:
42 
47  void
48  initialize () override;
49 
50  // avoid -Woverloaded-virtual:
52 
57  double
58  initial_temperature (const Point<dim> &position) const override;
59 
63  static
64  void
66 
70  void
71  parse_parameters (ParameterHandler &prm) override;
72  };
73  }
74 }
75 
76 
77 #endif
double initial_temperature(const Point< dim > &position) const override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override