ASPECT
include
aspect
heating_model
latent_heat_melt.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
16
#ifndef _aspect_heating_model_latent_heat_melt_h
17
#define _aspect_heating_model_latent_heat_melt_h
18
19
#include <
aspect/heating_model/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
22
namespace
aspect
23
{
24
namespace
HeatingModel
25
{
37
template
<
int
dim>
38
class
LatentHeatMelt
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
39
{
40
public
:
44
void
45
evaluate
(
const
MaterialModel::MaterialModelInputs<dim>
&material_model_inputs,
46
const
MaterialModel::MaterialModelOutputs<dim>
&material_model_outputs,
47
HeatingModel::HeatingModelOutputs
&heating_model_outputs)
const override
;
48
53
MaterialModel::MaterialProperties::Property
54
get_required_properties
()
const override
;
55
63
static
64
void
65
declare_parameters
(
ParameterHandler
&prm);
66
70
void
71
parse_parameters
(
ParameterHandler
&prm)
override
;
72
77
virtual
78
void
79
create_additional_material_model_outputs
(
MaterialModel::MaterialModelOutputs<dim>
&outputs)
const override
;
80
81
private
:
87
double
melting_entropy_change
;
88
92
bool
retrieve_entropy_change_from_material_model
;
93
};
94
}
95
}
96
97
98
#endif
aspect::HeatingModel::LatentHeatMelt::retrieve_entropy_change_from_material_model
bool retrieve_entropy_change_from_material_model
Definition:
latent_heat_melt.h:92
aspect::HeatingModel::LatentHeatMelt::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::MaterialModel::MaterialProperties::Property
Property
Definition:
interface.h:177
aspect::HeatingModel::Interface
Definition:
interface.h:114
ParameterHandler
aspect::HeatingModel::LatentHeatMelt::evaluate
void evaluate(const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, HeatingModel::HeatingModelOutputs &heating_model_outputs) const override
aspect::HeatingModel::LatentHeatMelt::get_required_properties
MaterialModel::MaterialProperties::Property get_required_properties() const override
aspect::HeatingModel::LatentHeatMelt
Definition:
latent_heat_melt.h:38
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
interface.h
aspect
Definition:
advection_field.h:24
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:237
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:524
aspect::HeatingModel::LatentHeatMelt::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::HeatingModel::HeatingModelOutputs
Definition:
interface.h:48
aspect::HeatingModel::LatentHeatMelt::create_additional_material_model_outputs
virtual void create_additional_material_model_outputs(MaterialModel::MaterialModelOutputs< dim > &outputs) const override
aspect::HeatingModel::LatentHeatMelt::melting_entropy_change
double melting_entropy_change
Definition:
latent_heat_melt.h:87
ASPECT manual
| Generated by
1.8.12