ASPECT
continental_geotherm.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) 2014-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 
17 #ifndef _aspect_initial_temperature_continental_geotherm_h
18 #define _aspect_initial_temperature_continental_geotherm_h
19 
22 
23 namespace aspect
24 {
25  namespace InitialTemperature
26  {
27 
32  template <int dim>
33  class ContinentalGeotherm : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
34  {
35  public:
40 
45  void
46  initialize () override;
47 
53  double initial_temperature (const Point<dim> &position) const override;
54 
58  static
59  void
61 
65  void
66  parse_parameters (ParameterHandler &prm) override;
67 
68  private:
74  double T0;
75 
81  double LAB_isotherm;
82 
89  std::vector<double> thicknesses;
90 
95  std::vector<double> heat_productivities;
96 
101  std::vector<double> conductivities;
102 
107  std::vector<double> densities;
108  };
109  }
110 }
111 
112 
113 #endif
static void declare_parameters(ParameterHandler &prm)
double initial_temperature(const Point< dim > &position) const override
void parse_parameters(ParameterHandler &prm) override