ASPECT
ascii_data.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_geometry_model_initial_topography_model_ascii_data_h
17 #define _aspect_geometry_model_initial_topography_model_ascii_data_h
18 
21 #include <aspect/utilities.h>
22 
23 
24 namespace aspect
25 {
26  namespace InitialTopographyModel
27  {
34  template <int dim>
35  class AsciiData : public Utilities::AsciiDataBoundary<dim>, public Interface<dim>
36  {
37  public:
41  AsciiData ();
42 
47  void
48  initialize () override;
49 
50  // avoid -Woverloaded-virtual:
52 
53 
60  double
61  value (const Point<dim-1> &surface_point) const override;
62 
66  double max_topography () const override;
67 
72  Tensor<1,dim-1>
73  vector_gradient(const Point<dim> &p) const;
74 
78  static
79  void
81 
85  void
86  parse_parameters (ParameterHandler &prm) override;
87 
88  private:
90  };
91  }
92 }
93 
94 
95 #endif
static void declare_parameters(ParameterHandler &prm)
Tensor< 1, dim-1 > vector_gradient(const Point< dim > &p) const
double value(const Point< dim-1 > &surface_point) const override
void parse_parameters(ParameterHandler &prm) override
double max_topography() const override