ExaDG
Loading...
Searching...
No Matches
include
exadg
time_integration
extrapolation_constants.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
22
#ifndef INCLUDE_EXADG_TIME_INTEGRATION_EXTRAPOLATION_SCHEME_H_
23
#define INCLUDE_EXADG_TIME_INTEGRATION_EXTRAPOLATION_SCHEME_H_
24
25
// C/C++
26
#include <vector>
27
28
// deal.II
29
#include <deal.II/base/conditional_ostream.h>
30
31
// ExaDG
32
#include <exadg/time_integration/time_integration_constants_base.h>
33
34
namespace
ExaDG
35
{
36
class
ExtrapolationConstants
:
public
TimeIntegratorConstantsBase
37
{
38
public
:
39
ExtrapolationConstants
(
unsigned
int
const
order,
bool
const
start_with_low_order);
40
41
double
42
get_beta(
unsigned
int
const
i)
const
;
43
44
void
45
print(dealii::ConditionalOStream & pcout)
const
final
;
46
47
private
:
48
void
49
set_constant_time_step(
unsigned
int
const
current_order)
final
;
50
51
void
52
set_adaptive_time_step(
unsigned
int
const
current_order,
53
std::vector<double>
const
& time_steps)
final
;
54
55
/*
56
* Constants of extrapolation scheme
57
*/
58
std::vector<double> beta;
59
};
60
61
}
// namespace ExaDG
62
63
#endif
/* INCLUDE_EXADG_TIME_INTEGRATION_EXTRAPOLATION_SCHEME_H_ */
ExaDG::ExtrapolationConstants
Definition
extrapolation_constants.h:37
ExaDG::TimeIntegratorConstantsBase
Definition
time_integration_constants_base.h:30
ExaDG
Definition
driver.cpp:33
Generated by
1.10.0