ASPECT
patch_on_S40RTS.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_initial_temperature_patch_on_S40RTS_h
17 #define _aspect_initial_temperature_patch_on_S40RTS_h
18 
22 #include <aspect/utilities.h>
23 
24 
25 namespace aspect
26 {
27  namespace InitialTemperature
28  {
36  template <int dim>
37  class PatchOnS40RTS : public Utilities::AsciiDataInitial<dim>, public Interface<dim>
38  {
39  public:
43  PatchOnS40RTS ();
44 
49  void
50  initialize () override;
51 
52  // avoid -Woverloaded-virtual:
54 
59  double
60  ascii_grid_vs (const Point<dim> &position) const;
61 
69 
77 
83  double
84  initial_temperature (const Point<dim> &position) const override;
85 
89  static
90  void
92 
96  void
97  parse_parameters (ParameterHandler &prm) override;
98 
99  private:
105 
113 
114  };
115  }
116 }
117 
118 
119 #endif
void parse_parameters(ParameterHandler &prm) override
virtual void initialize(const unsigned int components)
double ascii_grid_vs(const Point< dim > &position) const
static void declare_parameters(ParameterHandler &prm)
double initial_temperature(const Point< dim > &position) const override