MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <SrcFinfo.h>
Public Member Functions | |
string | rttiType () const |
void | send (const Eref &er, T arg) const |
void | sendBuffer (const Eref &e, double *buf) const |
void | sendTo (const Eref &er, Id tgt, T arg) const |
void | sendVec (const Eref &er, const vector< T > &arg) const |
SrcFinfo1 (const string &name, const string &doc) | |
~SrcFinfo1 () | |
![]() | |
bool | addMsg (const Finfo *target, ObjId mid, Element *src) const |
bool | checkTarget (const Finfo *target) const |
BindIndex | getBindIndex () const |
void | registerFinfo (Cinfo *c) |
void | setBindIndex (BindIndex b) |
SrcFinfo (const string &name, const string &doc) | |
bool | strGet (const Eref &tgt, const string &field, string &returnValue) const |
bool | strSet (const Eref &tgt, const string &field, const string &arg) const |
~SrcFinfo () | |
![]() | |
const string & | docs () const |
Returns documentation string. More... | |
Finfo (const string &name, const string &doc) | |
virtual vector< string > | innerDest () const |
virtual vector< string > | innerSrc () const |
const string & | name () const |
virtual void | postCreationFunc (Id newId, Element *newElm) const |
virtual | ~Finfo () |
Additional Inherited Members | |
![]() | |
static const Cinfo * | initCinfo () |
![]() | |
static const BindIndex | BadBindIndex = 65535 |
Definition at line 97 of file SrcFinfo.h.
Definition at line 100 of file SrcFinfo.h.
Definition at line 102 of file SrcFinfo.h.
|
inlinevirtual |
Returns the documentation string for the Finfo string docs() const; Returns the RTTI type string for the finfo by referring to an internal virtual function. string type() const; Returns the list of subsidiary SrcFinfos. Used in Shared Finfos, empty otherwise. Goes via internal virtual function. vector< string > src() const; Returns the list of subsidiary destFinfos. Used in SharedFinfos and ValueFinfos, empty otherwise. Goes via internal virtual function. vector< string > dest() const; Returns an RTTI type string for this Finfo.
Reimplemented from Finfo.
Definition at line 210 of file SrcFinfo.h.
References Conv< T >::rttiType().
Definition at line 106 of file SrcFinfo.h.
References ALLDATA, SrcFinfo::getBindIndex(), Element::localDataStart(), Eref::msgDigest(), Element::numLocalData(), and OpFunc1Base< A >::op().
Referenced by SrcFinfo1< T >::sendBuffer(), testCreateMsg(), testSendMsg(), testSharedMsg(), Pool::vProcess(), and Pool::vReinit().
|
inlinevirtual |
Sends contents of buffer on to msg targets Buffer has a header with the TgtInfo.
Implements SrcFinfo.
Definition at line 205 of file SrcFinfo.h.
References SrcFinfo1< T >::send().
Definition at line 134 of file SrcFinfo.h.
References ALLDATA, Id::element(), SrcFinfo::getBindIndex(), Element::localDataStart(), Eref::msgDigest(), Element::numLocalData(), and OpFunc1Base< A >::op().
|
inline |
Each target gets successive entries from the arg vector. Rolls over if the # of targets exceeds vector size. Fails totally if the targets are off-node.
Definition at line 169 of file SrcFinfo.h.
References ALLDATA, SrcFinfo::getBindIndex(), Element::localDataStart(), Eref::msgDigest(), Element::numLocalData(), and OpFunc1Base< A >::op().