World Builder
1.1.0-pre
A geodynamic initial conditions generator
chapman.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2018-2024 by the authors of the World Builder code.
3
4
This file is part of the World Builder.
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation, either version 2 of the License, or
9
(at your option) any later version.
10
11
This program 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 Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
/*
21
Typical continental geotherm,
22
from D.S. Chapman (1986), "Thermal gradients in the continental crust"
23
Geological Society of London Special Publications, v.24, p.63-70.
24
*/
25
26
#ifndef WORLD_BUILDER_FEATURES_CONTINENTAL_PLATE_MODELS_TEMPERATURE_CHAPMAN_H
27
#define WORLD_BUILDER_FEATURES_CONTINENTAL_PLATE_MODELS_TEMPERATURE_CHAPMAN_H
28
29
30
#include "
world_builder/features/continental_plate_models/temperature/interface.h
"
31
#include "
world_builder/features/feature_utilities.h
"
32
#include "
world_builder/objects/surface.h
"
33
34
35
namespace
WorldBuilder
36
{
37
38
namespace
Features
39
{
40
using namespace
FeatureUtilities;
41
namespace
ContinentalPlateModels
42
{
43
namespace
Temperature
44
{
51
class
Chapman
final:
public
Interface
52
{
53
public
:
57
Chapman
(
WorldBuilder::World
*world);
58
62
~
Chapman
()
override
final
;
63
67
static
68
void
declare_entries(
Parameters
&prm,
const
std::string &parent_name =
""
);
69
73
void
parse_entries(
Parameters
&prm,
const
std::vector<
Point<2>
> &coordinates)
override
final
;
74
75
80
double
get_temperature(
const
Point<3>
&position,
81
const
Objects::NaturalCoordinate
&position_in_natural_coordinates,
82
const
double
depth,
83
const
double
gravity,
84
double
temperature,
85
const
double
feature_min_depth,
86
const
double
feature_max_depth)
const
override
final
;
87
88
89
private
:
90
double
top_temperature
;
91
double
top_heat_flux
;
92
double
thermal_conductivity
;
93
double
heat_production_per_unit_volume
;
94
double
min_depth
;
95
Objects::Surface
min_depth_surface
;
96
double
max_depth
;
97
Objects::Surface
max_depth_surface
;
98
Operations
operation
;
99
100
};
101
}
// namespace Temperature
102
}
// namespace ContinentalPlateModels
103
}
// namespace Features
104
}
// namespace WorldBuilder
105
106
#endif
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::thermal_conductivity
double thermal_conductivity
Definition:
chapman.h:92
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::min_depth_surface
Objects::Surface min_depth_surface
Definition:
chapman.h:95
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::top_temperature
double top_temperature
Definition:
chapman.h:90
WorldBuilder::Point< 2 >
WorldBuilder::Objects::NaturalCoordinate
Definition:
natural_coordinate.h:34
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::max_depth
double max_depth
Definition:
chapman.h:96
WorldBuilder::Features::ContinentalPlateModels::Temperature::Interface
Definition:
interface.h:47
interface.h
surface.h
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::min_depth
double min_depth
Definition:
chapman.h:94
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::heat_production_per_unit_volume
double heat_production_per_unit_volume
Definition:
chapman.h:93
feature_utilities.h
WorldBuilder::Objects::Surface
Definition:
surface.h:56
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::top_heat_flux
double top_heat_flux
Definition:
chapman.h:91
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::operation
Operations operation
Definition:
chapman.h:98
WorldBuilder
Definition:
cartesian.cc:24
WorldBuilder::Parameters
Definition:
parameters.h:78
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman
Definition:
chapman.h:51
WorldBuilder::Features::ContinentalPlateModels::Temperature::Chapman::max_depth_surface
Objects::Surface max_depth_surface
Definition:
chapman.h:97
WorldBuilder::World
Definition:
world.h:41
WorldBuilder::Features::FeatureUtilities::Operations
Operations
Definition:
feature_utilities.h:35
include
world_builder
features
continental_plate_models
temperature
chapman.h
Generated by
1.8.13