ASPECT
linearized_incompressible.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_equation_of_state_linearized_incompressible_h
16 #define _aspect_material_model_equation_of_state_linearized_incompressible_h
17 
21 
22 
23 namespace aspect
24 {
25  namespace MaterialModel
26  {
27  namespace EquationOfState
28  {
37  template <int dim>
39  {
40  public:
57  const unsigned int q,
59 
68  bool is_compressible () const;
69 
77  static
78  void
80  const unsigned int n_compositions = 0);
81 
89  void
91  const unsigned int n_compositions = 0);
92 
93 
94  private:
101 
106  double reference_T;
107 
113 
119 
126 
134  std::vector<double> compositional_delta_rhos;
135  };
136  }
137  }
138 }
139 
140 #endif
static void declare_parameters(ParameterHandler &prm, const unsigned int n_compositions=0)
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, const unsigned int q, MaterialModel::EquationOfStateOutputs< dim > &eos_outputs) const
void parse_parameters(ParameterHandler &prm, const unsigned int n_compositions=0)