Tempus
Version of the Day
Time Integration
Loading...
Searching...
No Matches
src
Tempus_StepperNewmarkImplicitAFormAppActionComposite.hpp
Go to the documentation of this file.
1
//@HEADER
2
// *****************************************************************************
3
// Tempus: Time Integration and Sensitivity Analysis Package
4
//
5
// Copyright 2017 NTESS and the Tempus contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
//@HEADER
9
10
#ifndef Tempus_StepperNewmarkImplicitAFormAppActionComposite_hpp
11
#define Tempus_StepperNewmarkImplicitAFormAppActionComposite_hpp
12
13
#include "Tempus_config.hpp"
14
#include "
Tempus_StepperNewmarkImplicitAFormAppAction.hpp
"
15
#include "Tempus_TimeStepControl.hpp"
16
#include <vector>
17
18
namespace
Tempus
{
19
25
template
<
class
Scalar>
26
class
StepperNewmarkImplicitAFormAppActionComposite
27
:
virtual
public
Tempus::StepperNewmarkImplicitAFormAppAction
<Scalar> {
28
public
:
30
StepperNewmarkImplicitAFormAppActionComposite
();
31
33
virtual
~StepperNewmarkImplicitAFormAppActionComposite
();
34
36
virtual
void
execute
(
37
Teuchos::RCP<
SolutionHistory<Scalar>
> sh,
38
Teuchos::RCP<
StepperNewmarkImplicitAForm<Scalar>
> stepper,
39
const
typename
StepperNewmarkImplicitAFormAppAction
<
40
Scalar>
::ACTION_LOCATION
actLoc)
41
{
42
for
(
auto
& a :
appActions_
) a->execute(sh, stepper, actLoc);
43
}
44
45
// Add AppAction to the AppAction vector.
46
void
addNewmarkImplicitAFormAppAction
(
47
Teuchos::RCP<
StepperNewmarkImplicitAFormAppAction<Scalar>
> appAction);
48
{
49
appActions_
.push_back(appAction);
50
}
51
52
// Clear the AppAction vector.
53
void
clearAppActions
();
54
{
55
appActions_
.clear();
56
}
57
58
// Return the size of the AppAction vector.
59
std::size_t
getSize
()
const
{
return
appActions_
.size(); }
60
61
private
:
62
std::vector<Teuchos::RCP<StepperNewmarkImplicitAFormAppAction<Scalar> > >
63
appActions_
;
64
};
65
66
}
// namespace Tempus
67
#endif
// Tempus_StepperNewmarkImplicitAFormAppActionComposite_hpp
Tempus_StepperNewmarkImplicitAFormAppAction.hpp
Tempus::SolutionHistory
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Definition
Tempus_SolutionHistory_decl.hpp:119
Tempus::StepperNewmarkImplicitAFormAppActionComposite
This composite AppAction loops over added AppActions.
Definition
Tempus_StepperNewmarkImplicitAFormAppActionComposite.hpp:27
Tempus::StepperNewmarkImplicitAFormAppActionComposite::execute
virtual void execute(Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperNewmarkImplicitAForm< Scalar > > stepper, const typename StepperNewmarkImplicitAFormAppAction< Scalar >::ACTION_LOCATION actLoc)
Execute application action for NewmarkImplicitAForm Stepper.
Definition
Tempus_StepperNewmarkImplicitAFormAppActionComposite.hpp:36
Tempus::StepperNewmarkImplicitAFormAppActionComposite::appActions_
std::vector< Teuchos::RCP< StepperNewmarkImplicitAFormAppAction< Scalar > > > appActions_
Definition
Tempus_StepperNewmarkImplicitAFormAppActionComposite.hpp:63
Tempus::StepperNewmarkImplicitAFormAppActionComposite::addNewmarkImplicitAFormAppAction
void addNewmarkImplicitAFormAppAction(Teuchos::RCP< StepperNewmarkImplicitAFormAppAction< Scalar > > appAction)
Tempus::StepperNewmarkImplicitAFormAppActionComposite::~StepperNewmarkImplicitAFormAppActionComposite
virtual ~StepperNewmarkImplicitAFormAppActionComposite()
Destructor.
Tempus::StepperNewmarkImplicitAFormAppActionComposite::StepperNewmarkImplicitAFormAppActionComposite
StepperNewmarkImplicitAFormAppActionComposite()
Default constructor.
Tempus::StepperNewmarkImplicitAFormAppActionComposite::getSize
std::size_t getSize() const
Definition
Tempus_StepperNewmarkImplicitAFormAppActionComposite.hpp:59
Tempus::StepperNewmarkImplicitAFormAppActionComposite::clearAppActions
void clearAppActions()
Tempus::StepperNewmarkImplicitAFormAppAction
Application Action for StepperNewmarkImplicitAForm.
Definition
Tempus_StepperNewmarkImplicitAFormAppAction.hpp:35
Tempus::StepperNewmarkImplicitAFormAppAction::ACTION_LOCATION
ACTION_LOCATION
Indicates the location of application action (see algorithm).
Definition
Tempus_StepperNewmarkImplicitAFormAppAction.hpp:38
Tempus::StepperNewmarkImplicitAForm
Newmark time stepper in acceleration form (a-form).
Definition
Tempus_StepperNewmarkImplicitAForm_decl.hpp:93
Tempus
Definition
Tempus_AdjointAuxSensitivityModelEvaluator_decl.hpp:22
Generated on Thu Oct 9 2025 20:59:09 for Tempus by
1.9.8