ASPECT
function.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_geometry_model_initial_topography_model_function_h
17 #define _aspect_geometry_model_initial_topography_model_function_h
18 
21 #include <aspect/utilities.h>
22 
24 
25 namespace aspect
26 {
27  namespace InitialTopographyModel
28  {
35  template <int dim>
36  class Function : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
42  Function ();
43 
48  double
49  value (const Point<dim-1> &p) const override;
50 
54  double max_topography () const override;
55 
56  static
57  void
59 
60  void
61  parse_parameters (ParameterHandler &prm) override;
62 
63  private:
64 
70  double max_topo;
71 
76 
84  };
85  }
86 }
87 
88 
89 #endif
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition: function.h:83
void parse_parameters(ParameterHandler &prm) override
double max_topography() const override
Functions::ParsedFunction< dim > initial_topography_function
Definition: function.h:75
double value(const Point< dim-1 > &p) const override
static void declare_parameters(ParameterHandler &prm)