ASPECT
include
aspect
mesh_deformation
ascii_data.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) 2016-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_mesh_deformation_ascii_data_h
17
#define _aspect_mesh_deformation_ascii_data_h
18
19
#include <
aspect/mesh_deformation/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
#include <
aspect/utilities.h
>
22
23
24
namespace
aspect
25
{
26
namespace
MeshDeformation
27
{
34
template
<
int
dim>
35
class
AsciiData
:
public
Utilities::AsciiDataBoundary
<dim>,
public
Interface
<dim>
36
{
37
public
:
41
AsciiData
();
42
47
void
48
initialize
()
override
;
49
50
// avoid -Woverloaded-virtual:
51
using
Utilities::AsciiDataBoundary<dim>::initialize
;
52
59
Tensor<1,dim>
60
compute_initial_deformation_on_boundary
(
const
types::boundary_id
boundary_indicator,
61
const
Point<dim>
&position)
const override
;
62
66
bool
needs_surface_stabilization
()
const override
;
67
71
static
72
void
73
declare_parameters
(
ParameterHandler
&prm);
74
78
void
79
parse_parameters
(
ParameterHandler
&prm)
override
;
80
81
private
:
82
types::boundary_id
surface_boundary_id
;
83
};
84
}
85
}
86
87
88
#endif
unsigned int
aspect::MeshDeformation::AsciiData::initialize
void initialize() override
aspect::MeshDeformation::AsciiData::compute_initial_deformation_on_boundary
Tensor< 1, dim > compute_initial_deformation_on_boundary(const types::boundary_id boundary_indicator, const Point< dim > &position) const override
utilities.h
aspect::Utilities::AsciiDataBoundary
Definition:
structured_data.h:405
interface.h
aspect::MeshDeformation::AsciiData
Definition:
ascii_data.h:35
aspect::MeshDeformation::AsciiData::parse_parameters
void parse_parameters(ParameterHandler &prm) override
Point< dim >
ParameterHandler
aspect::MeshDeformation::AsciiData::AsciiData
AsciiData()
simulator_access.h
aspect::MeshDeformation::AsciiData::needs_surface_stabilization
bool needs_surface_stabilization() const override
aspect::MeshDeformation::Interface
Definition:
interface.h:83
aspect::MeshDeformation::AsciiData::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect
Definition:
advection_field.h:24
Tensor< 1, dim >
aspect::MeshDeformation::AsciiData::surface_boundary_id
types::boundary_id surface_boundary_id
Definition:
ascii_data.h:82
ASPECT manual
| Generated by
1.8.12