ASPECT
compositional_heating.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) 2017-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 
16 
17 #ifndef _aspect_heating_model_compositional_heating_h
18 #define _aspect_heating_model_compositional_heating_h
19 
22 
23 namespace aspect
24 {
25  namespace HeatingModel
26  {
33  template <int dim>
34  class CompositionalHeating : public Interface<dim>, public SimulatorAccess<dim>
35  {
36  public:
41  void
42  evaluate (const MaterialModel::MaterialModelInputs<dim> &material_model_inputs,
43  const MaterialModel::MaterialModelOutputs<dim> &material_model_outputs,
44  HeatingModel::HeatingModelOutputs &heating_model_outputs) const override;
45 
51  get_required_properties () const override;
52 
56  static
57  void
59 
63  void
64  parse_parameters (ParameterHandler &prm) override;
65 
66  private:
72  std::vector<double> heating_values;
73 
83 
90  };
91  }
92 }
93 
94 
95 #endif
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
void evaluate(const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, HeatingModel::HeatingModelOutputs &heating_model_outputs) const override
MaterialModel::MaterialProperties::Property get_required_properties() const override