ASPECT
ascii_reference_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-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_model_ascii_reference_profile_h
17 #define _aspect_model_ascii_reference_profile_h
18 
21 #include <aspect/utilities.h>
22 namespace aspect
23 {
24  namespace MaterialModel
25  {
37  template <int dim>
39  {
40  public:
45 
51  void
52  initialize () override;
53 
55  MaterialModel::MaterialModelOutputs<dim> &out) const override;
56 
65  bool is_compressible () const override;
77  static
78  void
80 
84  void
85  parse_parameters (ParameterHandler &prm) override;
86 
94  void
96 
97 
98  private:
104  bool tala;
105 
110  double viscosity;
111 
118 
126  std::vector<double> viscosity_prefactors;
127 
135  std::vector<double> transition_depths;
136 
138 
143 
148  unsigned int density_index;
150  unsigned int specific_heat_index;
151  unsigned int compressibility_index;
152 
157  unsigned int seismic_vp_index;
158  unsigned int seismic_vs_index;
159  unsigned int seismic_dvp_dT_index;
160  unsigned int seismic_dvs_dT_index;
161  };
162 
163  }
164 }
165 
166 #endif
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, MaterialModel::MaterialModelOutputs< dim > &out) const override
void create_additional_named_outputs(MaterialModel::MaterialModelOutputs< dim > &out) const override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
aspect::Utilities::AsciiDataProfile< dim > profile