ASPECT
perplex_lookup.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 #ifndef _aspect_material_model_perplex_lookup_h
16 #define _aspect_material_model_perplex_lookup_h
17 
19 
20 namespace aspect
21 {
22  namespace MaterialModel
23  {
54  template <int dim>
55  class PerpleXLookup : public Interface<dim>
56  {
57  public:
62  void
63  initialize () override;
64 
65  bool is_compressible () const override;
66 
68  MaterialModel::MaterialModelOutputs<dim> &out) const override;
69 
70 
78  static
79  void
81 
85  void
86  parse_parameters (ParameterHandler &prm) override;
92  private:
96  std::string perplex_file_name;
100  double eta;
104  double k_value;
116  double min_pressure;
120  double max_pressure;
121  };
122 
123  }
124 }
125 
126 #endif
static void declare_parameters(ParameterHandler &prm)
bool is_compressible() const override
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, MaterialModel::MaterialModelOutputs< dim > &out) const override
void parse_parameters(ParameterHandler &prm) override