ASPECT
include
aspect
prescribed_stokes_solution
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) 2011-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_prescribed_stokes_solution_ascii_data_h
17
#define _aspect_prescribed_stokes_solution_ascii_data_h
18
19
#include <
aspect/prescribed_stokes_solution/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
#include <
aspect/utilities.h
>
22
23
24
namespace
aspect
25
{
26
namespace
PrescribedStokesSolution
27
{
34
template
<
int
dim>
35
class
AsciiData
:
public
Utilities::AsciiDataInitial
<dim>,
public
Interface
<dim>
36
{
37
public
:
41
AsciiData
();
42
47
void
48
initialize
()
override
;
49
50
// avoid -Woverloaded-virtual:
51
using
Utilities::AsciiDataInitial<dim>::initialize
;
52
57
void
58
stokes_solution
(
const
Point<dim>
&position,
Vector<double>
&value)
const override
;
59
63
static
64
void
65
declare_parameters
(
ParameterHandler
&prm);
66
70
void
71
parse_parameters
(
ParameterHandler
&prm)
override
;
72
};
73
}
74
}
75
76
77
#endif
aspect::PrescribedStokesSolution::AsciiData::initialize
void initialize() override
utilities.h
aspect::PrescribedStokesSolution::AsciiData::stokes_solution
void stokes_solution(const Point< dim > &position, Vector< double > &value) const override
Vector< double >
Point< dim >
aspect::PrescribedStokesSolution::AsciiData::AsciiData
AsciiData()
aspect::PrescribedStokesSolution::Interface
Definition:
interface.h:48
ParameterHandler
aspect::PrescribedStokesSolution::AsciiData::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::Utilities::AsciiDataInitial
Definition:
structured_data.h:578
simulator_access.h
aspect::PrescribedStokesSolution::AsciiData::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect
Definition:
advection_field.h:24
aspect::PrescribedStokesSolution::AsciiData
Definition:
ascii_data.h:35
interface.h
ASPECT manual
| Generated by
1.8.12