ASPECT
include
aspect
material_model
rheology
ascii_depth_profile.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) 2020-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_material_model_rheology_ascii_depth_profile_h
17
#define _aspect_material_model_rheology_ascii_depth_profile_h
18
19
#include <
aspect/material_model/interface.h
>
20
#include <
aspect/utilities.h
>
21
#include <
aspect/simulator_access.h
>
22
23
#include <
deal.II/base/point.h
>
24
25
26
namespace
aspect
27
{
28
namespace
MaterialModel
29
{
30
namespace
Rheology
31
{
32
39
template
<
int
dim>
40
class
AsciiDepthProfile
:
public
Utilities::AsciiDataProfile
<dim> ,
public
SimulatorAccess
<dim>
41
{
42
public
:
46
AsciiDepthProfile
();
47
51
void
initialize
();
52
53
// avoid -Woverloaded-virtual:
54
using
Utilities::AsciiDataProfile<dim>::initialize
;
55
59
double
compute_viscosity
(
const
double
depth
)
const
;
60
64
static
65
void
66
declare_parameters
(
ParameterHandler
&prm,
67
const
std::string &subsection_name =
"Ascii data model"
);
68
72
void
73
parse_parameters
(
ParameterHandler
&prm,
74
const
std::string &subsection_name =
"Ascii data model"
);
75
76
private
:
77
81
unsigned
int
viscosity_index
;
82
};
83
}
84
}
85
}
86
87
88
#endif
aspect::MaterialModel::Rheology::AsciiDepthProfile::parse_parameters
void parse_parameters(ParameterHandler &prm, const std::string &subsection_name="Ascii data model")
interface.h
utilities.h
aspect::Utilities::AsciiDataProfile
Definition:
structured_data.h:726
point.h
aspect::MaterialModel::Rheology::AsciiDepthProfile::AsciiDepthProfile
AsciiDepthProfile()
ParameterHandler
aspect::MaterialModel::Rheology::AsciiDepthProfile::compute_viscosity
double compute_viscosity(const double depth) const
aspect::Utilities::Coordinates::depth
Definition:
coordinate_systems.h:55
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect
Definition:
advection_field.h:24
aspect::MaterialModel::Rheology::AsciiDepthProfile
Definition:
ascii_depth_profile.h:40
aspect::MaterialModel::Rheology::AsciiDepthProfile::viscosity_index
unsigned int viscosity_index
Definition:
ascii_depth_profile.h:81
aspect::MaterialModel::Rheology::AsciiDepthProfile::declare_parameters
static void declare_parameters(ParameterHandler &prm, const std::string &subsection_name="Ascii data model")
aspect::MaterialModel::Rheology::AsciiDepthProfile::initialize
void initialize()
ASPECT manual
| Generated by
1.8.12