ASPECT
include
aspect
initial_temperature
prescribed_temperature.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) 2012-2025 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
16
#ifndef _aspect_initial_prescribed_temperature_h
17
#define _aspect_initial_prescribed_temperature_h
18
19
#include <
aspect/initial_temperature/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
22
namespace
aspect
23
{
24
namespace
InitialTemperature
25
{
32
template
<
int
dim>
33
class
PrescribedTemperature
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
34
{
35
public
:
44
void
45
initialize
()
override
;
46
50
double
initial_temperature
(
const
Point<dim>
&position)
const override
;
51
52
private
:
59
std::shared_ptr<const aspect::InitialComposition::Manager<dim>>
initial_composition
;
60
};
61
}
62
}
63
64
65
#endif
aspect::InitialTemperature::PrescribedTemperature
Definition:
prescribed_temperature.h:33
Point< dim >
interface.h
aspect::InitialTemperature::PrescribedTemperature::initialize
void initialize() override
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect
Definition:
advection_field.h:24
aspect::InitialTemperature::PrescribedTemperature::initial_temperature
double initial_temperature(const Point< dim > &position) const override
aspect::InitialTemperature::PrescribedTemperature::initial_composition
std::shared_ptr< const aspect::InitialComposition::Manager< dim > > initial_composition
Definition:
prescribed_temperature.h:59
aspect::InitialTemperature::Interface
Definition:
simulator_access.h:68
ASPECT manual
| Generated by
1.8.12