WARPXM v1.10.0
Loading...
Searching...
No Matches
wmvariableswapper.h
Go to the documentation of this file.
1#ifndef wmvariableswapper_h
2#define wmvariableswapper_h
3
4// WarpX lib includes
5//#include <wxfunction.h>
6
7// WarpX HostAction includes
9
10// std includes
11#include <vector>
12
22{
23public:
30 WmVariableSwapper(const WmConstOpaquePtr& parent_solver) : WmHostAction(parent_solver)
31 {
32 }
33
39 void setup(const WxCryptSet& wxc);
40
45 virtual void typeCheck();
46
53
59 bool needsDomain() const
60 {
61 return false;
62 }
63
64private:
65};
66
69#endif // wmvariableswapper_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 WmVariableSwapper class swaps two like variables, internalized storage remains,...
Definition: wmvariableswapper.h:22
virtual void typeCheck()
check that variable types are appropriate for this HostAction.
WxStepperStatus step()
Step the solver by assigned time step.
WmVariableSwapper(const WmConstOpaquePtr &parent_solver)
Create new WmVariableSwapper host action.
Definition: wmvariableswapper.h:30
void setup(const WxCryptSet &wxc)
Setup HostAction object using supplied cryptset.
bool needsDomain() const
Return false because swap operation does not depend on domain specifics.
Definition: wmvariableswapper.h:59
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