ASPECT
include
aspect
prescribed_dilation
function.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2014 - 2024 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
ASPECT 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 General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with ASPECT; see the file LICENSE. If not see
18
<http://www.gnu.org/licenses/>.
19
*/
20
21
22
#ifndef _aspect_prescribed_dilation_function_h
23
#define _aspect_prescribed_dilation_function_h
24
25
#include <
aspect/simulator_access.h
>
26
#include <
aspect/prescribed_dilation/interface.h
>
27
28
#include <
deal.II/base/parsed_function.h
>
29
30
namespace
aspect
31
{
32
namespace
PrescribedDilation
33
{
40
template
<
int
dim>
41
class
Function
:
public
Interface
<dim>,
public
SimulatorAccess
<dim>
42
{
43
public
:
47
Function
();
48
52
void
evaluate
(
const
aspect::MaterialModel::MaterialModelInputs<dim>
&in,
53
PrescribedDilationOutputs<dim>
&out)
const override
;
54
60
void
61
update
()
override
;
62
66
static
67
void
68
declare_parameters
(
ParameterHandler
&prm);
69
73
void
74
parse_parameters
(
ParameterHandler
&prm)
override
;
75
76
private
:
80
Functions::ParsedFunction<dim>
function
;
81
86
Utilities::Coordinates::CoordinateSystem
coordinate_system
;
87
};
88
}
89
}
90
91
92
#endif
aspect::PrescribedDilation::Function::update
void update() override
aspect::PrescribedDilation::PrescribedDilationOutputs
Definition:
interface.h:50
aspect::PrescribedDilation::Function::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::Utilities::Coordinates::CoordinateSystem
CoordinateSystem
Definition:
coordinate_systems.h:59
parsed_function.h
Functions::ParsedFunction< dim >
ParameterHandler
interface.h
aspect::PrescribedDilation::Function::Function
Function()
simulator_access.h
aspect::PrescribedDilation::Function::evaluate
void evaluate(const aspect::MaterialModel::MaterialModelInputs< dim > &in, PrescribedDilationOutputs< dim > &out) const override
aspect::SimulatorAccess
Definition:
plugins.h:47
aspect
Definition:
advection_field.h:30
aspect::PrescribedDilation::Function::coordinate_system
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition:
function.h:86
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:243
aspect::PrescribedDilation::Function
Definition:
function.h:41
aspect::PrescribedDilation::Interface
Definition:
interface.h:121
aspect::PrescribedDilation::Function::declare_parameters
static void declare_parameters(ParameterHandler &prm)
ASPECT manual
| Generated by
1.8.12