ExaDG
Loading...
Searching...
No Matches
include
exadg
structure
postprocessor
postprocessor_base.h
1
/* ______________________________________________________________________
2
*
3
* ExaDG - High-Order Discontinuous Galerkin for the Exa-Scale
4
*
5
* Copyright (C) 2021 by the ExaDG authors
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
* ______________________________________________________________________
20
*/
21
#ifndef INCLUDE_EXADG_STRUCTURE_POSTPROCESSOR_POSTPROCESSOR_BASE_H_
22
#define INCLUDE_EXADG_STRUCTURE_POSTPROCESSOR_POSTPROCESSOR_BASE_H_
23
24
// deal.II
25
#include <deal.II/lac/la_parallel_vector.h>
26
27
// ExaDG
28
#include <exadg/utilities/numbers.h>
29
30
namespace
ExaDG
31
{
32
namespace
Structure
33
{
34
template
<
typename
Number>
35
class
PostProcessorBase
36
{
37
protected
:
38
typedef
dealii::LinearAlgebra::distributed::Vector<Number> VectorType;
39
40
public
:
41
virtual
~PostProcessorBase
()
42
{
43
}
44
45
virtual
void
46
do_postprocessing(VectorType
const
& solution,
47
double
const
time = 0.0,
48
types::time_step
const
time_step_number = numbers::steady_timestep) = 0;
49
};
50
51
}
// namespace Structure
52
}
// namespace ExaDG
53
54
55
#endif
/* INCLUDE_EXADG_STRUCTURE_POSTPROCESSOR_POSTPROCESSOR_BASE_H_ */
ExaDG::Structure::PostProcessorBase
Definition
postprocessor_base.h:36
ExaDG
Definition
driver.cpp:33
Generated by
1.13.2