ASPECT
include
aspect
postprocess
boundary_pressures.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-2019 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_postprocess_boundary_pressures_h
17
#define _aspect_postprocess_boundary_pressures_h
18
19
#include <
aspect/postprocess/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
22
namespace
aspect
23
{
24
namespace
Postprocess
25
{
26
34
template
<
int
dim>
35
class
BoundaryPressures
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
36
{
37
public
:
42
std::pair<std::string,std::string>
43
execute
(
TableHandler
&statistics)
override
;
44
48
double
pressure_at_top
()
const
;
49
53
double
pressure_at_bottom
()
const
;
54
55
private
:
56
61
double
top_pressure
;
62
67
double
bottom_pressure
;
68
};
69
}
70
}
71
72
73
#endif
aspect::Postprocess::BoundaryPressures::top_pressure
double top_pressure
Definition:
boundary_pressures.h:61
aspect::Postprocess::BoundaryPressures::bottom_pressure
double bottom_pressure
Definition:
boundary_pressures.h:67
aspect::Postprocess::BoundaryPressures::execute
std::pair< std::string, std::string > execute(TableHandler &statistics) override
aspect::Postprocess::BoundaryPressures::pressure_at_bottom
double pressure_at_bottom() const
aspect::Postprocess::BoundaryPressures::pressure_at_top
double pressure_at_top() const
TableHandler
interface.h
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect
Definition:
advection_field.h:24
aspect::Postprocess::BoundaryPressures
Definition:
boundary_pressures.h:35
aspect::Postprocess::Interface
Definition:
interface.h:63
ASPECT manual
| Generated by
1.8.12