SetGet1< A > Class Template Reference

#include <SetGet.h>

Inheritance diagram for SetGet1< A >:
Inheritance graph
[legend]
Collaboration diagram for SetGet1< A >:
Collaboration graph
[legend]

List of all members.

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)

template<class A>
class SetGet1< A >


Constructor & Destructor Documentation

template<class A>
SetGet1< A >::SetGet1 (  )  [inline]

Member Function Documentation

template<class A>
bool SetGet1< A >::checkOpClass ( const OpFunc op  )  const [inline, virtual]

Implements SetGet.

template<class A>
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 >.

template<class A>
static bool SetGet1< A >::set ( const ObjId dest,
const string &  field,
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().

Here is the call graph for this function:

template<class A>
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().

Here is the call graph for this function:

template<class A>
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().

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1