MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <OpFunc.h>
Public Member Functions | |
GetOpFunc (A(T::*func)() const ) | |
void | op (const Eref &e, vector< A > *ret) const |
A | returnOp (const Eref &e) const |
![]() | |
const OpFunc * | makeHopFunc (HopIndex hopIndex) const |
void | opBuffer (const Eref &e, double *buf) const |
Executes the OpFunc by converting args. More... | |
![]() | |
bool | checkFinfo (const Finfo *s) const |
const OpFunc * | makeHopFunc (HopIndex hopIndex) const |
void | opBuffer (const Eref &e, double *buf) const |
Executes the OpFunc by converting args. More... | |
virtual void | opVec (const Eref &e, const vector< vector< A > * > &arg, const OpFunc1Base< vector< A > * > *op) const |
void | opVecBuffer (const Eref &e, double *buf) const |
Executes the OpFunc for all data by converting a vector of args. More... | |
string | rttiType () const |
![]() | |
OpFunc () | |
unsigned int | opIndex () const |
bool | setIndex (unsigned int i) |
Used when rebuilding the Fid->OpFunc mapping. More... | |
virtual | ~OpFunc () |
Private Attributes | |
A(T::* | func_ )() const |
Additional Inherited Members | |
![]() | |
static const OpFunc * | lookop (unsigned int opIndex) |
static unsigned int | rebuildOpIndex () |
cleans out the entire Ops vector. Returns size of orig vector. More... | |
This specialized OpFunc is for returning a single field value It generates an opFunc that takes a single argument, a reference to a vector into which the return value should be appended. It manages the 'get' function that retrieves the return value. Note that the 'get' function must be blocking in case the request goes off node.
|
inlinevirtual |
Implements OpFunc1Base< vector< A > * >.
Definition at line 141 of file OpFunc.h.
References GetOpFunc< T, A >::returnOp().
Implements GetOpFuncBase< A >.
Definition at line 145 of file OpFunc.h.
References Eref::data(), and GetOpFunc< T, A >::func_.
Referenced by GetOpFunc< T, A >::op().
|
private |
Definition at line 150 of file OpFunc.h.
Referenced by GetOpFunc< T, A >::returnOp().