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
:
85
double
crustal_thickness
;
89
double
lithosphere_thickness
;
90
95
unsigned
int
basalt_index
;
96
unsigned
int
harzburgite_index
;
97
};
98
}
99
100
}
101
}
102
103
#endif
ParameterHandler
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:244
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:513
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation
Definition:
crust_and_lithosphere_formation.h:49
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::lithosphere_thickness
double lithosphere_thickness
Definition:
crust_and_lithosphere_formation.h:89
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::basalt_index
unsigned int basalt_index
Definition:
crust_and_lithosphere_formation.h:95
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::harzburgite_index
unsigned int harzburgite_index
Definition:
crust_and_lithosphere_formation.h:96
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::parse_parameters
void parse_parameters(ParameterHandler &prm)
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::crustal_thickness
double crustal_thickness
Definition:
crust_and_lithosphere_formation.h:85
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::calculate_reaction_terms
void calculate_reaction_terms(const typename Interface< dim >::MaterialModelInputs &in, typename Interface< dim >::MaterialModelOutputs &out) const
aspect::MaterialModel::ReactionModel::CrustLithosphereFormation::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::SimulatorAccess
Definition:
simulator_access.h:211
interface.h
aspect
Definition:
advection_field.h:31
dealii
simulator_access.h
ASPECT manual
| Generated by
1.9.1