ASPECT
ascii_profile.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) 2016-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_profile_h
17 #define _aspect_initial_temperature_ascii_profile_h
18 
20 #include <aspect/utilities.h>
22 
23 #include <deal.II/base/point.h>
24 
25 
26 namespace aspect
27 {
28  namespace InitialTemperature
29  {
36  template <int dim>
37  class AsciiProfile : public Utilities::AsciiDataProfile<dim>, public Interface<dim>, public SimulatorAccess<dim>
38  {
39  public:
43  AsciiProfile ();
44 
48  void initialize () override;
49 
50  // avoid -Woverloaded-virtual:
52 
56  double initial_temperature (const Point<dim> &p) const override;
57 
61  static
62  void
64 
68  void
69  parse_parameters (ParameterHandler &prm) override;
70 
71  private:
72 
76  unsigned int temperature_index;
77  };
78  }
79 }
80 
81 
82 #endif
double initial_temperature(const Point< dim > &p) const override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override