WARPXM v1.10.0
Loading...
Searching...
No Matches
wmtimedswapvariables.h
Go to the documentation of this file.
1#ifndef WMTIMEDSWAPVARIABLES_H
2#define WMTIMEDSWAPVARIABLES_H
3
4// WarpX HostAction includes
6
7// std includes
8#include <vector>
9
19{
20public:
27 : WmHostAction(parent_solver)
28 {
29 }
30
36 void setup(const WxCryptSet& wxc);
37
42 virtual void typeCheck();
43
50
56 bool needsDomain() const
57 {
58 return false;
59 }
60
61protected:
64
65private:
66};
67
70#endif // WMTIMEDSWAPVARIABLES_H
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
The WmHostAction class is a base class for sub-solvers in the WARPXM system.
Definition: wmhostaction.h:35
The WmTimedSwapVariables class swaps two like variables, internalized storage remains,...
Definition: wmtimedswapvariables.h:19
WxStepperStatus step()
Step the solver by assigned time step.
real _swap_time
Definition: wmtimedswapvariables.h:63
void setup(const WxCryptSet &wxc)
Setup HostAction object using supplied cryptset.
virtual void typeCheck()
check that variable types are appropriate for this HostAction.
real _previous_time
Definition: wmtimedswapvariables.h:62
bool needsDomain() const
Return false because swap operation does not depend on domain specifics.
Definition: wmtimedswapvariables.h:56
WmTimedSwapVariables(const WmConstOpaquePtr &parent_solver)
Create new WmTimedSwapVariables host action.
Definition: wmtimedswapvariables.h:26
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
#define real
Definition: wmoclunstructuredreconstruction.h:11