ASPECT
include
aspect
initial_temperature
world_builder.h
Go to the documentation of this file.
1
// ------------------------------------------------------
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4
//
5
// SPDX-FileCopyrightText: Copyright (C) 2011-2026 by the ASPECT authors.
6
//
7
// This file is part of ASPECT.
8
//
9
// Detailed license information governing the source code and
10
// contributions can be found in the folder LICENSES and in
11
// LICENSE and CONTRIBUTING.md at the top level directory.
12
//
13
// ------------------------------------------------------
14
15
#ifndef _aspect_initial_temperature_world_builder_h
16
#define _aspect_initial_temperature_world_builder_h
17
18
#include <
aspect/global.h
>
19
20
#include <
aspect/initial_temperature/interface.h
>
21
#include <
aspect/simulator_access.h
>
22
23
namespace
WorldBuilder
24
{
25
class
World
;
26
}
27
28
29
30
namespace
aspect
31
{
32
33
#ifdef ASPECT_WITH_WORLD_BUILDER
34
35
namespace
InitialTemperature
36
{
44
template
<
int
dim>
45
class
WorldBuilder
:
public
Interface<dim>,
public
SimulatorAccess<dim>
46
{
47
public
:
51
WorldBuilder
();
52
58
void
59
initialize
()
override
;
60
64
double
initial_temperature (
const
Point<dim>
&position)
const override
;
65
66
private
:
71
std::shared_ptr<const ::WorldBuilder::World>
world_builder
;
72
};
73
}
74
#endif
75
76
}
77
78
#endif
WorldBuilder
Definition:
simulator.h:76
global.h
Point< dim >
interface.h
aspect::Particle::World
Manager< dim > World
Definition:
world.h:33
simulator_access.h
aspect
Definition:
advection_field.h:24
aspect::Particle::Property::initialize
Definition:
interface.h:307
aspect::Particle::Property::CPOInitialGrainsModel::world_builder
ASPECT manual
| Generated by
1.8.12