ASPECT
composition_reaction.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_composition_reaction_h
16 #define _aspect_material_model_composition_reaction_h
17 
21 
22 namespace aspect
23 {
24  namespace MaterialModel
25  {
37  template <int dim>
39  {
40  public:
44  void evaluate(const MaterialModelInputs<dim> &in,
45  MaterialModelOutputs<dim> &out) const override;
46 
60  bool is_compressible () const override;
72  static
73  void
75 
79  void
80  parse_parameters (ParameterHandler &prm) override;
81 
89  void
91 
92 
93  private:
97  double reference_T;
101  double eta;
114 
120  double k_value;
121 
123 
131  };
132 
133  }
134 }
135 
136 #endif
void parse_parameters(ParameterHandler &prm) override
void evaluate(const MaterialModelInputs< dim > &in, MaterialModelOutputs< dim > &out) const override
static void declare_parameters(ParameterHandler &prm)
void create_additional_named_outputs(MaterialModel::MaterialModelOutputs< dim > &out) const override
EquationOfState::LinearizedIncompressible< dim > equation_of_state