ASPECT
simple_compressible.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) 2014-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_simple_compressible_h
16 #define _aspect_material_model_simple_compressible_h
17 
21 
22 namespace aspect
23 {
24  namespace MaterialModel
25  {
45  template <int dim>
47  {
48  public:
52  void evaluate(const MaterialModelInputs<dim> &in,
53  MaterialModelOutputs<dim> &out) const override;
54 
68  bool is_compressible () const override;
80  static
81  void
83 
87  void
88  parse_parameters (ParameterHandler &prm) override;
89 
94  private:
101 
107 
113 
119 
125  double k_value;
126 
131  };
132 
133  }
134 }
135 
136 #endif
void evaluate(const MaterialModelInputs< dim > &in, MaterialModelOutputs< dim > &out) const override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
Rheology::ConstantViscosity constant_rheology