ASPECT
ascii_depth_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) 2020-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_material_model_rheology_ascii_depth_profile_h
17 #define _aspect_material_model_rheology_ascii_depth_profile_h
18 
20 #include <aspect/utilities.h>
22 
23 #include <deal.II/base/point.h>
24 
25 
26 namespace aspect
27 {
28  namespace MaterialModel
29  {
30  namespace Rheology
31  {
32 
39  template <int dim>
41  {
42  public:
47 
51  void initialize ();
52 
53  // avoid -Woverloaded-virtual:
55 
59  double compute_viscosity (const double depth) const;
60 
64  static
65  void
67  const std::string &subsection_name = "Ascii data model");
68 
72  void
74  const std::string &subsection_name = "Ascii data model");
75 
76  private:
77 
81  unsigned int viscosity_index;
82  };
83  }
84  }
85 }
86 
87 
88 #endif
void parse_parameters(ParameterHandler &prm, const std::string &subsection_name="Ascii data model")
double compute_viscosity(const double depth) const
static void declare_parameters(ParameterHandler &prm, const std::string &subsection_name="Ascii data model")