ASPECT
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 
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 
68  };
69  }
70 }
71 
72 
73 #endif
std::pair< std::string, std::string > execute(TableHandler &statistics) override