#include <SetGet.h>
Public Member Functions | |
SetGet1 () | |
bool | checkOpClass (const OpFunc *op) const |
Static Public Member Functions | |
static bool | set (const ObjId &dest, const string &field, A arg) |
static bool | setVec (ObjId destId, const string &field, const vector< A > &arg) |
static bool | setRepeat (ObjId destId, const string &field, const A &arg) |
static bool | innerStrSet (const ObjId &dest, const string &field, const string &val) |
Implements SetGet.
static bool SetGet1< A >::innerStrSet | ( | const ObjId & | dest, | |
const string & | field, | |||
const string & | val | |||
) | [inline, static] |
Blocking call using string conversion
Reimplemented in Field< A >.
static bool SetGet1< A >::set | ( | const ObjId & | dest, | |
const string & | field, | |||
A | arg | |||
) | [inline, static] |
Blocking, typed 'Set' call
Reimplemented in Field< A >.
References SetGet::checkSet(), ObjId::eref(), ObjId::isGlobal(), ObjId::isOffNode(), OpFunc1Base< A >::makeHopFunc(), MooseSetHop, OpFunc1Base< A >::op(), and OpFunc::opIndex().
Referenced by testGetMsg(), testMpiFibonacci(), and testShellSetGet().
static bool SetGet1< A >::setRepeat | ( | ObjId | destId, | |
const string & | field, | |||
const A & | arg | |||
) | [inline, static] |
Sets all target array values to the single value
References SetGet1< A >::setVec().
Referenced by testSparseMsg().
static bool SetGet1< A >::setVec | ( | ObjId | destId, | |
const string & | field, | |||
const vector< A > & | arg | |||
) | [inline, static] |
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.
Reimplemented in Field< A >.
References SetGet::checkSet(), ObjId::eref(), OpFunc1Base< A >::makeHopFunc(), MooseSetVecHop, OpFunc::opIndex(), and OpFunc1Base< A >::opVec().
Referenced by benchmarkMsg(), SetGet1< A >::setRepeat(), testAssortedMsg(), testCopyMsgOps(), testShellAddMsg(), and testShellSetGet().