Tempus
Version of the Day
Time Integration
Loading...
Searching...
No Matches
src
Tempus_StepperBDF2AppAction.hpp
Go to the documentation of this file.
1
// @HEADER
2
// ****************************************************************************
3
// Tempus: Copyright (2017) Sandia Corporation
4
//
5
// Distributed under BSD 3-clause license (See accompanying file Copyright.txt)
6
// ****************************************************************************
7
// @HEADER
8
9
#ifndef Tempus_StepperBDF2AppAction_hpp
10
#define Tempus_StepperBDF2AppAction_hpp
11
12
#include "Tempus_config.hpp"
13
#include "Tempus_SolutionHistory.hpp"
14
15
16
namespace
Tempus
{
17
18
// Forward Declaration
19
template
<
class
Scalar>
class
StepperBDF2;
20
33
template
<
class
Scalar>
34
class
StepperBDF2AppAction
35
{
36
public
:
37
39
enum
ACTION_LOCATION
{
40
BEGIN_STEP
,
41
BEFORE_SOLVE
,
42
AFTER_SOLVE
,
43
END_STEP
,
44
};
45
47
StepperBDF2AppAction
(){}
48
50
virtual
~StepperBDF2AppAction
(){}
51
53
virtual
void
execute
(
54
Teuchos::RCP<SolutionHistory<Scalar> > sh,
55
Teuchos::RCP<StepperBDF2<Scalar> > stepper,
56
const
typename
StepperBDF2AppAction<Scalar>::ACTION_LOCATION
actLoc) = 0;
57
};
58
59
}
// namespace Tempus
60
61
#endif
// Tempus_StepperBDF2AppAction_hpp
Tempus::StepperBDF2AppAction
Application Action for StepperBDF2.
Definition
Tempus_StepperBDF2AppAction.hpp:35
Tempus::StepperBDF2AppAction::StepperBDF2AppAction
StepperBDF2AppAction()
Constructor.
Definition
Tempus_StepperBDF2AppAction.hpp:47
Tempus::StepperBDF2AppAction::~StepperBDF2AppAction
virtual ~StepperBDF2AppAction()
Destructor.
Definition
Tempus_StepperBDF2AppAction.hpp:50
Tempus::StepperBDF2AppAction::ACTION_LOCATION
ACTION_LOCATION
Indicates the location of application action (see algorithm).
Definition
Tempus_StepperBDF2AppAction.hpp:39
Tempus::StepperBDF2AppAction::BEGIN_STEP
@ BEGIN_STEP
At the beginning of the step.
Definition
Tempus_StepperBDF2AppAction.hpp:40
Tempus::StepperBDF2AppAction::AFTER_SOLVE
@ AFTER_SOLVE
After the solve.
Definition
Tempus_StepperBDF2AppAction.hpp:42
Tempus::StepperBDF2AppAction::BEFORE_SOLVE
@ BEFORE_SOLVE
Before the solve.
Definition
Tempus_StepperBDF2AppAction.hpp:41
Tempus::StepperBDF2AppAction::END_STEP
@ END_STEP
At the end of the step.
Definition
Tempus_StepperBDF2AppAction.hpp:43
Tempus::StepperBDF2AppAction::execute
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperBDF2< Scalar > > stepper, const typename StepperBDF2AppAction< Scalar >::ACTION_LOCATION actLoc)=0
Execute application action for BDF2 Stepper.
Tempus
Definition
Tempus_AdjointAuxSensitivityModelEvaluator_decl.hpp:21
Generated by
1.10.0