Tempus
Version of the Day
Time Integration
Loading...
Searching...
No Matches
src
Tempus_StepperLeapfrogAppAction.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_StepperLeapfrogAppAction_hpp
10
#define Tempus_StepperLeapfrogAppAction_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
StepperLeapfrog;
20
33
template
<
class
Scalar>
34
class
StepperLeapfrogAppAction
35
{
36
public
:
37
39
enum
ACTION_LOCATION
{
40
BEGIN_STEP
,
41
BEFORE_X_UPDATE
,
42
BEFORE_EXPLICIT_EVAL
,
43
BEFORE_XDOT_UPDATE
,
44
END_STEP
45
};
46
48
StepperLeapfrogAppAction
(){}
49
51
virtual
~StepperLeapfrogAppAction
(){}
52
54
virtual
void
execute
(
55
Teuchos::RCP<SolutionHistory<Scalar> > sh,
56
Teuchos::RCP<StepperLeapfrog<Scalar> > stepper,
57
const
typename
StepperLeapfrogAppAction<Scalar>::ACTION_LOCATION
actLoc) = 0;
58
};
59
60
}
// namespace Tempus
61
62
#endif
// Tempus_StepperLeapfrogAppAction_hpp
Tempus::StepperLeapfrogAppAction
Application Action for StepperLeapfrog.
Definition
Tempus_StepperLeapfrogAppAction.hpp:35
Tempus::StepperLeapfrogAppAction::execute
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperLeapfrog< Scalar > > stepper, const typename StepperLeapfrogAppAction< Scalar >::ACTION_LOCATION actLoc)=0
Execute application action for Leapfrog Stepper.
Tempus::StepperLeapfrogAppAction::StepperLeapfrogAppAction
StepperLeapfrogAppAction()
Constructor.
Definition
Tempus_StepperLeapfrogAppAction.hpp:48
Tempus::StepperLeapfrogAppAction::~StepperLeapfrogAppAction
virtual ~StepperLeapfrogAppAction()
Destructor.
Definition
Tempus_StepperLeapfrogAppAction.hpp:51
Tempus::StepperLeapfrogAppAction::ACTION_LOCATION
ACTION_LOCATION
Indicates the location of application action (see algorithm).
Definition
Tempus_StepperLeapfrogAppAction.hpp:39
Tempus::StepperLeapfrogAppAction::BEFORE_X_UPDATE
@ BEFORE_X_UPDATE
Before updating x.
Definition
Tempus_StepperLeapfrogAppAction.hpp:41
Tempus::StepperLeapfrogAppAction::BEFORE_EXPLICIT_EVAL
@ BEFORE_EXPLICIT_EVAL
Before the explicit ME evaluation.
Definition
Tempus_StepperLeapfrogAppAction.hpp:42
Tempus::StepperLeapfrogAppAction::END_STEP
@ END_STEP
At the end of the step.
Definition
Tempus_StepperLeapfrogAppAction.hpp:44
Tempus::StepperLeapfrogAppAction::BEFORE_XDOT_UPDATE
@ BEFORE_XDOT_UPDATE
Before updating xDot.
Definition
Tempus_StepperLeapfrogAppAction.hpp:43
Tempus::StepperLeapfrogAppAction::BEGIN_STEP
@ BEGIN_STEP
At the beginning of the step.
Definition
Tempus_StepperLeapfrogAppAction.hpp:40
Tempus
Definition
Tempus_AdjointAuxSensitivityModelEvaluator_decl.hpp:21
Generated by
1.10.0