WARPXM v1.10.0
Loading...
Searching...
No Matches
wmvariableloader.h
Go to the documentation of this file.
1#ifndef wmvariableloader_h
2#define wmvariableloader_h
3
4// WarpX lib includes
5
6// WarpX HostAction includes
8
9// std includes
10#include <vector>
11
21{
22public:
29 WmVariableLoader(const WmConstOpaquePtr& parent_solver) : WmHostAction(parent_solver)
30 {
31 }
32
38 void setup(const WxCryptSet& wxc);
39
44 virtual void typeCheck();
45
52
58 bool needsDomain() const
59 {
60 return false;
61 }
62
63private:
64 void loadVariables(WxMsgBase& msg, WxIoBase& io, WxIoNodeType fn);
65
66 std::string _sourceFile;
67 bool _isRestart;
68};
69
72#endif // wmvariableloader_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 WmVariableLoader class loads all components of a variable from a specified file from the input pa...
Definition: wmvariableloader.h:21
bool needsDomain() const
Return false because swap operation does not depend on domain specifics.
Definition: wmvariableloader.h:58
virtual void typeCheck()
check that variable types are appropriate for this HostAction.
WxStepperStatus step()
Step the solver by assigned time step.
WmVariableLoader(const WmConstOpaquePtr &parent_solver)
Create new WmVariableLoader host action.
Definition: wmvariableloader.h:29
void setup(const WxCryptSet &wxc)
Setup HostAction object using supplied cryptset.
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Provides an abstract interface for access to hierachical datasets.
Definition: wxiobase.h:25
Provides an abstract interface for message based communication between different processes.
Definition: wxmsgbase.h:22
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
Provides a means for derived messengers to return implimentation specific message status flags and da...
Definition: wxiotmpl.h:23