World Builder
1.1.0-pre
A geodynamic initial conditions generator
smooth.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
#ifndef _world_builder_features_fault_composition_smooth_h
21
#define _world_builder_features_fault_composition_smooth_h
22
23
#include <
world_builder/features/fault_models/composition/interface.h
>
24
#include <
world_builder/features/feature_utilities.h
>
25
#include <
world_builder/world.h
>
26
27
28
namespace
WorldBuilder
29
{
30
namespace
Features
31
{
32
using namespace
FeatureUtilities;
33
namespace
FaultModels
34
{
35
namespace
Composition
36
{
43
class
Smooth
:
public
Interface
44
{
45
public
:
49
Smooth
(
WorldBuilder::World
*world);
50
54
~
Smooth
();
55
59
static
60
void
declare_entries(
Parameters
&prm,
const
std::string &parent_name =
""
);
61
65
void
parse_entries(
Parameters
&prm)
override
final
;
66
67
72
double
get_composition(
const
Point<3>
&position,
73
const
double
depth,
74
const
unsigned
int
composition_number,
75
double
composition,
76
const
double
feature_min_depth,
77
const
double
feature_max_depth,
78
const
WorldBuilder::Utilities::PointDistanceFromCurvedPlanes
&distance_from_planes,
79
const
AdditionalParameters
&additional_parameters)
const
override
final
;
80
81
private
:
82
// linear temperature submodule parameters
83
double
min_distance
;
84
double
side_distance
;
85
std::vector<double>
center_fraction
;
86
// currently not using the side composition, but maybe useful if you want another composition towards the end
87
std::vector<double>
side_fraction
;
88
std::vector<unsigned int>
compositions
;
89
Operations
operation
;
90
91
};
92
}
93
}
94
}
95
}
96
97
#endif
WorldBuilder::Features::FaultModels::Composition::Smooth::center_fraction
std::vector< double > center_fraction
Definition:
smooth.h:85
WorldBuilder::Features::FaultModels::Composition::Smooth::compositions
std::vector< unsigned int > compositions
Definition:
smooth.h:88
WorldBuilder::Point< 3 >
world.h
WorldBuilder::Features::FaultModels::Composition::Smooth
Definition:
smooth.h:43
WorldBuilder::Features::FaultModels::Composition::Smooth::min_distance
double min_distance
Definition:
smooth.h:83
WorldBuilder::Features::FeatureUtilities::AdditionalParameters
Definition:
feature_utilities.h:80
WorldBuilder::Features::FaultModels::Composition::Smooth::side_fraction
std::vector< double > side_fraction
Definition:
smooth.h:87
interface.h
feature_utilities.h
WorldBuilder::Features::FaultModels::Composition::Smooth::side_distance
double side_distance
Definition:
smooth.h:84
WorldBuilder::Features::FaultModels::Composition::Interface
Definition:
interface.h:50
WorldBuilder::Utilities::PointDistanceFromCurvedPlanes
Definition:
utilities.h:287
WorldBuilder
Definition:
cartesian.cc:24
WorldBuilder::Parameters
Definition:
parameters.h:78
WorldBuilder::World
Definition:
world.h:41
WorldBuilder::Features::FeatureUtilities::Operations
Operations
Definition:
feature_utilities.h:35
WorldBuilder::Features::FaultModels::Composition::Smooth::operation
Operations operation
Definition:
smooth.h:89
include
world_builder
features
fault_models
composition
smooth.h
Generated by
1.8.13