Tempus
Version of the Day
Time Integration
Loading...
Searching...
No Matches
src
Tempus_StepperRKAppAction.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_StepperRKAppAction_hpp
10
#define Tempus_StepperRKAppAction_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
StepperRKBase;
20
33
template
<
class
Scalar>
34
class
StepperRKAppAction
35
{
36
public
:
37
39
enum
ACTION_LOCATION
{
40
BEGIN_STEP
,
41
BEGIN_STAGE
,
42
BEFORE_SOLVE
,
43
AFTER_SOLVE
,
44
BEFORE_EXPLICIT_EVAL
,
45
END_STAGE
,
46
END_STEP
47
};
48
50
StepperRKAppAction
(){}
51
53
virtual
~StepperRKAppAction
(){}
54
56
virtual
void
execute
(
57
Teuchos::RCP<SolutionHistory<Scalar> > sh,
58
Teuchos::RCP<StepperRKBase<Scalar> > stepper,
59
const
typename
StepperRKAppAction<Scalar>::ACTION_LOCATION
actLoc) = 0;
60
};
61
62
}
// namespace Tempus
63
64
#endif
// Tempus_StepperRKAppAction_hpp
Tempus::StepperRKAppAction
Application Action for StepperRKBase.
Definition
Tempus_StepperRKAppAction.hpp:35
Tempus::StepperRKAppAction::ACTION_LOCATION
ACTION_LOCATION
Indicates the location of application action (see algorithm).
Definition
Tempus_StepperRKAppAction.hpp:39
Tempus::StepperRKAppAction::BEGIN_STEP
@ BEGIN_STEP
At the beginning of the step.
Definition
Tempus_StepperRKAppAction.hpp:40
Tempus::StepperRKAppAction::BEFORE_SOLVE
@ BEFORE_SOLVE
Before the implicit solve.
Definition
Tempus_StepperRKAppAction.hpp:42
Tempus::StepperRKAppAction::BEFORE_EXPLICIT_EVAL
@ BEFORE_EXPLICIT_EVAL
Before the explicit evaluation.
Definition
Tempus_StepperRKAppAction.hpp:44
Tempus::StepperRKAppAction::AFTER_SOLVE
@ AFTER_SOLVE
After the implicit solve.
Definition
Tempus_StepperRKAppAction.hpp:43
Tempus::StepperRKAppAction::BEGIN_STAGE
@ BEGIN_STAGE
At the beginning of the stage.
Definition
Tempus_StepperRKAppAction.hpp:41
Tempus::StepperRKAppAction::END_STAGE
@ END_STAGE
At the end of the stage.
Definition
Tempus_StepperRKAppAction.hpp:45
Tempus::StepperRKAppAction::END_STEP
@ END_STEP
At the end of the step.
Definition
Tempus_StepperRKAppAction.hpp:46
Tempus::StepperRKAppAction::execute
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperRKBase< Scalar > > stepper, const typename StepperRKAppAction< Scalar >::ACTION_LOCATION actLoc)=0
Execute application action for RK Stepper.
Tempus::StepperRKAppAction::~StepperRKAppAction
virtual ~StepperRKAppAction()
Destructor.
Definition
Tempus_StepperRKAppAction.hpp:53
Tempus::StepperRKAppAction::StepperRKAppAction
StepperRKAppAction()
Constructor.
Definition
Tempus_StepperRKAppAction.hpp:50
Tempus
Definition
Tempus_AdjointAuxSensitivityModelEvaluator_decl.hpp:21
Generated by
1.10.0