19class WmDomainGeometry;
175 const std::type_info&
getVarType(
const std::string& variableName)
const;
223 std::vector<std::string> _readVars;
224 std::vector<std::string> _writeVars;
225 std::string _onDomainStr;
226 unsigned _numActualReadVars;
227 unsigned _numActualWriteVars;
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
Definition: wmdomain.h:35
Definition: wmhostaction.h:22
The WmHostAction class is a base class for sub-solvers in the WARPXM system.
Definition: wmhostaction.h:35
const WmDomain & getDomain() const
Get (unstructured) domain on which host action works.
bool _allReadVarsSameType
Definition: wmhostaction.h:201
bool allowsVariableWriteVars() const
Does this hostaction allow variable number of write variables?
unsigned numExpectedWriteVars() const
Return number of write variables expected by this hostaction, or minimum number required for hostacti...
bool _WriteVarConditionHasBeenSet
Definition: wmhostaction.h:207
std::vector< std::string > getReadVarList() const
Returns list of read variables for this hostaction.
bool _ReadVarConditionHasBeenSet
Definition: wmhostaction.h:210
bool allowsVariableReadVars() const
Does this hostaction allow variable number of read variables?
virtual bool needsDomain() const
Return true if this updater needs a domain to work on.
std::vector< std::string > readVarNames() const
Get names of all read variables used.
unsigned numActualReadVars() const
Get number of actual read variables used when user calls this hostaction.
bool _allowsVariableWriteVars
Definition: wmhostaction.h:205
void setParentStepHandler(WmExecutionStep< WmHostAction > *parentStepHandler)
Set enclosing step handler TODO: convert this to being a friend function or something.
std::vector< std::string > writeVarNames() const
Get names of all write variables used.
bool _allWriteVarsSameType
Definition: wmhostaction.h:202
bool _allowsVariableReadVars
Definition: wmhostaction.h:203
WmHostAction(const WmConstOpaquePtr &parent_solver)
Create new hostaction.
unsigned numActualWriteVars() const
Get number of actual write variables used when user calls this hostaction.
const std::type_info & getVarType(const std::string &variableName) const
Get a variable types from the parent solver.
unsigned _numExpectedWriteVars
Definition: wmhostaction.h:214
const WmSolverBase & getParent() const
Get parent solver object.
~WmHostAction() override
Destroy hostaction.
wxm::variable::variable_t & getWriteVar(unsigned pos) const
Get a reference to a write variable.
void setup(const WxCryptSet &wxc) override
Setup hostaction object using supplied cryptset.
unsigned _numExpectedReadVars
Definition: wmhostaction.h:213
unsigned numExpectedReadVars() const
Return number of read variables expected by this hostaction, or minimum number required for hostactio...
const wxm::variable::variable_t & getReadVar(unsigned pos) const
Get a reference to a read variable.
std::vector< std::string > getWriteVarList() const
Returns list of write variables for this hostaction.
virtual void typeCheck()=0
Check that the provided variables meet the expected variable types for this hostaction.
A base class for solvers in WARPM.
Definition: wmsolverbase.h:35
Base class for variables that store one or more components of data.
Definition: wmvariable.h:31
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
WxObject is a base class for WarpX classes which need to go through a creation/destruction cycle with...
Definition: wxobject.h:54
Base class for objects which can be advanced in time.
Definition: wxstepper.h:26
Definition: variable.h:22