ASPECT
include
aspect
material_model
reaction_model
crust_and_lithosphere_formation.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2024 by the authors of the ASPECT code.
3
4
This file is part of ASPECT.
5
6
ASPECT is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2, or (at your option)
9
any later version.
10
11
ASPECT is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with ASPECT; see the file LICENSE. If not see
18
<http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef _aspect_material_model_reaction_model_crust_and_lithosphere_formation_h
22
#define _aspect_material_model_reaction_model_crust_and_lithosphere_formation_h
23
24
#include <
aspect/material_model/interface.h
>
25
#include <
aspect/simulator_access.h
>
26
27
namespace
aspect
28
{
29
namespace
MaterialModel
30
{
31
using namespace
dealii
;
32
33
namespace
ReactionModel
34
{
35
47
template
<
int
dim>
48
class
CrustLithosphereFormation
:
public
::aspect::SimulatorAccess
<dim>
49
{
50
public
:
54
static
55
void
56
declare_parameters
(ParameterHandler &prm);
57
61
void
62
parse_parameters (ParameterHandler &prm);
63
72
void
73
calculate_reaction_terms (
const
typename
Interface<dim>::MaterialModelInputs
&in,
74
typename
Interface<dim>::MaterialModelOutputs
&out)
const
;
75
76
private
:
83
double
crustal_thickness
;
84
double
lithosphere_thickness
;
85
90
unsigned
int
basalt_index
;
91
unsigned
int
harzburgite_index
;
92
};
93
}
94
95
}
96
}
97
98
#endif
interface.h
aspect::MaterialModel::declare_parameters
void declare_parameters(ParameterHandler &prm)
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::lithosphere_thickness
double lithosphere_thickness
Definition:
crust_and_lithosphere_formation.h:84
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:47
aspect
Definition:
advection_field.h:30
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:243
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::crustal_thickness
double crustal_thickness
Definition:
crust_and_lithosphere_formation.h:83
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:512
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::harzburgite_index
unsigned int harzburgite_index
Definition:
crust_and_lithosphere_formation.h:91
dealii
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::basalt_index
unsigned int basalt_index
Definition:
crust_and_lithosphere_formation.h:90
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation
Definition:
crust_and_lithosphere_formation.h:48