ASPECT
include
aspect
gravity_model
vertical.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
16
#ifndef _aspect_gravity_model_vertical_h
17
#define _aspect_gravity_model_vertical_h
18
19
#include <
aspect/gravity_model/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
22
namespace
aspect
23
{
24
namespace
GravityModel
25
{
32
template
<
int
dim>
33
class
Vertical
:
public
Interface
<dim>,
public
SimulatorAccess
<dim>
34
{
35
public
:
39
Tensor<1,dim>
gravity_vector
(
const
Point<dim>
&position)
const override
;
40
44
static
45
void
46
declare_parameters
(
ParameterHandler
&prm);
47
51
void
52
parse_parameters
(
ParameterHandler
&prm)
override
;
53
54
private
:
60
double
gravity_magnitude
;
61
62
};
63
}
64
}
65
66
#endif
aspect::GravityModel::Vertical::gravity_magnitude
double gravity_magnitude
Definition:
vertical.h:60
aspect::GravityModel::Vertical::gravity_vector
Tensor< 1, dim > gravity_vector(const Point< dim > &position) const override
aspect::GravityModel::Vertical
Definition:
vertical.h:33
Point< dim >
ParameterHandler
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect::GravityModel::Vertical::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect
Definition:
advection_field.h:24
aspect::GravityModel::Interface
Definition:
simulator_access.h:47
aspect::GravityModel::Vertical::declare_parameters
static void declare_parameters(ParameterHandler &prm)
interface.h
Tensor< 1, dim >
ASPECT manual
| Generated by
1.8.12