ASPECT
include
aspect
geometry_model
initial_topography_model
world_builder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2026 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
12
#ifndef _aspect_geometry_model_initial_topography_model_world_builder_h
13
#define _aspect_geometry_model_initial_topography_model_world_builder_h
14
15
#include <
aspect/global.h
>
16
#include <
aspect/geometry_model/initial_topography_model/interface.h
>
17
#include <
aspect/simulator_access.h
>
18
19
#ifdef ASPECT_WITH_WORLD_BUILDER
20
# include <world_builder/config.h>
21
#endif
22
23
namespace
WorldBuilder
24
{
25
class
World
;
26
}
27
28
29
namespace
aspect
30
{
31
#ifdef ASPECT_WITH_WORLD_BUILDER
32
# if WORLD_BUILDER_VERSION_GTE(1,1,1)
33
namespace
InitialTopographyModel
34
{
42
template
<
int
dim>
43
class
WorldBuilder
:
public
Interface<dim>,
public
SimulatorAccess<dim>
44
{
45
public
:
49
void
50
initialize
()
override
;
51
55
double
56
value
(
const
Point<dim-1>
&surface_point)
const override
;
57
61
double
62
max_topography ()
const override
;
63
64
private
:
65
std::shared_ptr<const ::WorldBuilder::World>
world_builder
;
66
double
maximum_topography;
67
};
68
}
69
# endif
70
#endif
71
}
72
73
#endif
internal::EvaluatorQuantity::value
WorldBuilder
Definition:
simulator.h:80
global.h
Point
aspect::Particle::World
Manager< dim > World
Definition:
world.h:39
simulator_access.h
aspect
Definition:
advection_field.h:30
interface.h
aspect::Particle::Property::initialize
Definition:
interface.h:313
aspect::Particle::Property::CPOInitialGrainsModel::world_builder
ASPECT manual
| Generated by
1.8.12