World Builder
1.1.0-pre
A geodynamic initial conditions generator
distance_from_surface.cc
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
#include "
world_builder/objects/distance_from_surface.h
"
21
22
namespace
WorldBuilder
23
{
24
namespace
Objects
25
{
26
double
PlaneDistances::get_distance_from_surface
()
const
27
{
28
return
this->
distance_from_surface
;
29
}
30
31
double
PlaneDistances::get_distance_along_surface
()
const
32
{
33
return
this->
distance_along_surface
;
34
}
35
}
// namespace Objects
36
}
// namespace WorldBuilder
distance_from_surface.h
WorldBuilder::Objects::PlaneDistances::distance_along_surface
double distance_along_surface
Definition:
distance_from_surface.h:59
WorldBuilder::Objects::PlaneDistances::get_distance_from_surface
double get_distance_from_surface() const
Definition:
distance_from_surface.cc:26
WorldBuilder::Objects::PlaneDistances::get_distance_along_surface
double get_distance_along_surface() const
Definition:
distance_from_surface.cc:31
WorldBuilder::Objects::PlaneDistances::distance_from_surface
double distance_from_surface
Definition:
distance_from_surface.h:55
WorldBuilder
Definition:
cartesian.cc:24
source
world_builder
objects
distance_from_surface.cc
Generated by
1.8.13