MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <SetGet.h>
Public Member Functions | |
bool | checkOpClass (const OpFunc *op) const |
SetGet1 () | |
![]() | |
SetGet () | |
virtual | ~SetGet () |
Static Public Member Functions | |
static bool | innerStrSet (const ObjId &dest, const string &field, const string &val) |
static bool | set (const ObjId &dest, const string &field, A arg) |
static bool | setRepeat (ObjId destId, const string &field, const A &arg) |
static bool | setVec (ObjId destId, const string &field, const vector< A > &arg) |
![]() | |
static const OpFunc * | checkSet (const string &field, ObjId &tgt, FuncId &fid) |
static const vector< double * > * | dispatchGet (const ObjId &tgt, FuncId tgtFid, const double *arg, unsigned int size) |
Sends out request for data, and awaits its return. More... | |
static bool | strGet (const ObjId &tgt, const string &field, string &ret) |
static bool | strSet (const ObjId &dest, const string &field, const string &val) |
Implements SetGet.
Definition at line 231 of file SetGet.h.
References op().
|
inlinestatic |
Blocking call using string conversion
Definition at line 223 of file SetGet.h.
References SetGet1< A >::set(), and Conv< T >::str2val().
|
inlinestatic |
Blocking, typed 'Set' call
Definition at line 153 of file SetGet.h.
References SetGet::checkSet(), ObjId::eref(), ObjId::isGlobal(), ObjId::isOffNode(), OpFunc1Base< A >::makeHopFunc(), MooseSetHop, OpFunc1Base< A >::op(), op(), and OpFunc::opIndex().
Referenced by ReadKkit::assignPoolCompartments(), Shell::doDelete(), SetGet1< A >::innerStrSet(), Field< A >::set(), setDestFinfo(), testGetMsg(), testMpiFibonacci(), and testShellSetGet().
|
inlinestatic |
Sets all target array values to the single value
Definition at line 213 of file SetGet.h.
References SetGet1< A >::setVec().
Referenced by Field< A >::setRepeat(), and testSparseMsg().
|
inlinestatic |
setVec assigns all the entries in the target Id to the specified vector of values. If the target is a FieldElement it assigns the entries on the specific DataIndex provided in the ObjId argument. The vector is used as a circular buffer: if the number of targets exceeds the vector size, it rolls over.
Definition at line 188 of file SetGet.h.
References SetGet::checkSet(), ObjId::eref(), OpFunc1Base< A >::makeHopFunc(), MooseSetVecHop, op(), OpFunc::opIndex(), and OpFunc1Base< A >::opVec().
Referenced by benchmarkMsg(), SetGet1< A >::setRepeat(), Field< A >::setVec(), testAssortedMsg(), testCopyMsgOps(), testShellAddMsg(), and testShellSetGet().