ASPECT
melt_simple.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) 2015-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_melt_simple_h
16 #define _aspect_material_model_melt_simple_h
17 
21 #include <aspect/melt.h>
23 
24 namespace aspect
25 {
26  namespace MaterialModel
27  {
47  template <int dim>
50  public ::aspect::SimulatorAccess<dim>
51  {
52  public:
61  bool is_compressible () const override;
62 
68  void
69  initialize () override;
70 
71  void evaluate(const typename Interface<dim>::MaterialModelInputs &in,
72  typename Interface<dim>::MaterialModelOutputs &out) const override;
73 
75  std::vector<double> &melt_fractions,
76  const MaterialModel::MaterialModelOutputs<dim> *out = nullptr) const override;
77 
82  double reference_darcy_coefficient () const override;
83 
95  static
96  void
98 
102  void
103  parse_parameters (ParameterHandler &prm) override;
104 
109  void
111 
112 
113  private:
125  double eta_0;
142  double reference_T;
151 
152 
153 
154  /*
155  * Object for computing the melt parameters
156  */
158 
159  };
160 
161  }
162 }
163 
164 #endif
void melt_fractions(const MaterialModel::MaterialModelInputs< dim > &in, std::vector< double > &melt_fractions, const MaterialModel::MaterialModelOutputs< dim > *out=nullptr) const override
static void declare_parameters(ParameterHandler &prm)
double reference_darcy_coefficient() const override
bool is_compressible() const override
void evaluate(const typename Interface< dim >::MaterialModelInputs &in, typename Interface< dim >::MaterialModelOutputs &out) const override
void create_additional_named_outputs(MaterialModel::MaterialModelOutputs< dim > &out) const override
void parse_parameters(ParameterHandler &prm) override
ReactionModel::Katz2003MantleMelting< dim > katz2003_model
Definition: melt_simple.h:157