ASPECT
constant.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) 2025-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_thermal_conductivity_constant_h
16 #define _aspect_material_model_thermal_conductivity_constant_h
17 
19 
20 
21 namespace aspect
22 {
23  namespace MaterialModel
24  {
25  namespace ThermalConductivity
26  {
32  template <int dim>
33  class Constant : public Interface<dim>
34  {
35  public:
41  MaterialModel::MaterialModelOutputs<dim> &out) const override;
42 
46  static
47  void
49 
53  void
54  parse_parameters (ParameterHandler &prm) override;
55 
56  private:
62  double k;
63  };
64  }
65  }
66 }
67 
68 #endif
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, MaterialModel::MaterialModelOutputs< dim > &out) const override