SetGet2< A1, A2 > Class Template Reference

#include <SetGet.h>

Inheritance diagram for SetGet2< A1, A2 >:
Inheritance graph
[legend]
Collaboration diagram for SetGet2< A1, A2 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SetGet2 ()

Static Public Member Functions

static bool set (const ObjId &dest, const string &field, A1 arg1, A2 arg2)
static bool setVec (Id destId, const string &field, const vector< A1 > &arg1, const vector< A2 > &arg2)
static bool innerStrSet (const ObjId &dest, const string &field, const string &val)

Detailed Description

template<class A1, class A2>
class SetGet2< A1, A2 >

SetGet2 handles 2-argument Sets. It does not deal with Gets.


Constructor & Destructor Documentation

template<class A1, class A2>
SetGet2< A1, A2 >::SetGet2 (  )  [inline]

Member Function Documentation

template<class A1, class A2>
static bool SetGet2< A1, A2 >::innerStrSet ( const ObjId dest,
const string &  field,
const string &  val 
) [inline, static]

Blocking call using string conversion.

template<class A1, class A2>
static bool SetGet2< A1, A2 >::set ( const ObjId dest,
const string &  field,
A1  arg1,
A2  arg2 
) [inline, static]

Blocking, typed 'Set' call

Reimplemented in LookupField< L, A >.

Referenced by benchmarkMsg(), makeStandardElements(), testReMesh(), testRunGsolve(), and testRunKsolve().

template<class A1, class A2>
static bool SetGet2< A1, A2 >::setVec ( Id  destId,
const string &  field,
const vector< A1 > &  arg1,
const vector< A2 > &  arg2 
) [inline, static]

Assign a vector of targets, using matching vectors of arguments arg1 and arg2. Specifically, index i on the target receives arguments arg1[i], arg2[i]. Note that there is no requirement for the size of the argument vectors to be equal to the size of the target array of objects. If there are fewer arguments then the index cycles back, so as to tile the target array with as many arguments as we have.

Not yet implemented correct handling for FieldElements.

Reimplemented in LookupField< L, A >.

Referenced by test2ArgSetVec().


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

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1