MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <HopFunc.h>
Public Member Functions | |
void | dataOpVec (const Eref &e, const vector< A > &arg, const OpFunc1Base< A > *op) const |
HopFunc1 (HopIndex hopIndex) | |
unsigned int | localFieldOpVec (const Eref &er, const vector< A > &arg, const OpFunc1Base< A > *op) const |
Executes the local vector assignment. Returns number of entries. More... | |
unsigned int | localOpVec (Element *elm, const vector< A > &arg, const OpFunc1Base< A > *op, unsigned int k) const |
Executes the local vector assignment. Returns current arg index. More... | |
void | op (const Eref &e, A arg) const |
void | opVec (const Eref &er, const vector< A > &arg, const OpFunc1Base< A > *op) const |
unsigned int | remoteOpVec (const Eref &er, const vector< A > &arg, const OpFunc1Base< A > *op, unsigned int start, unsigned int end) const |
Dispatches remote vector assignment. start and end are arg index. More... | |
Public Member Functions inherited from OpFunc1Base< A > | |
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... | |
void | opVecBuffer (const Eref &e, double *buf) const |
Executes the OpFunc for all data by converting a vector of args. More... | |
string | rttiType () const |
Public Member Functions inherited from OpFunc | |
OpFunc () | |
unsigned int | opIndex () const |
bool | setIndex (unsigned int i) |
Used when rebuilding the Fid->OpFunc mapping. More... | |
virtual | ~OpFunc () |
Private Attributes | |
HopIndex | hopIndex_ |
Additional Inherited Members | |
Static Public Member Functions inherited from OpFunc | |
static const OpFunc * | lookop (unsigned int opIndex) |
static unsigned int | rebuildOpIndex () |
cleans out the entire Ops vector. Returns size of orig vector. More... | |
|
inline |
Definition at line 123 of file HopFunc.h.
References Eref::dataIndex(), Eref::element(), Element::getNode(), Element::getNumOnNode(), Element::isGlobal(), HopFunc1< A >::localOpVec(), mooseMyNode(), mooseNumNodes(), HopFunc1< A >::remoteOpVec(), and Element::startDataIndex().
Referenced by HopFunc1< A >::opVec().
|
inline |
Executes the local vector assignment. Returns number of entries.
Definition at line 78 of file HopFunc.h.
References Eref::dataIndex(), Eref::element(), Eref::getNode(), Element::localDataStart(), mooseMyNode(), Element::numField(), and OpFunc1Base< A >::op().
Referenced by HopFunc1< A >::opVec().
|
inline |
Executes the local vector assignment. Returns current arg index.
Definition at line 59 of file HopFunc.h.
References Element::localDataStart(), Element::numField(), Element::numLocalData(), and OpFunc1Base< A >::op().
Referenced by HopFunc1< A >::dataOpVec().
Implements OpFunc1Base< A >.
Definition at line 51 of file HopFunc.h.
References addToBuf(), dispatchBuffers(), HopFunc1< A >::hopIndex_, and Conv< T >::val2buf().
|
inlinevirtual |
Reimplemented from OpFunc1Base< A >.
Definition at line 156 of file HopFunc.h.
References HopFunc1< A >::dataOpVec(), Eref::element(), Eref::getNode(), Element::hasFields(), Element::isGlobal(), HopFunc1< A >::localFieldOpVec(), mooseMyNode(), and HopFunc1< A >::remoteOpVec().
|
inline |
Dispatches remote vector assignment. start and end are arg index.
Definition at line 96 of file HopFunc.h.
References addToBuf(), dispatchBuffers(), HopFunc1< A >::hopIndex_, and mooseNumNodes().
Referenced by HopFunc1< A >::dataOpVec(), and HopFunc1< A >::opVec().
Definition at line 175 of file HopFunc.h.
Referenced by HopFunc1< A >::op(), and HopFunc1< A >::remoteOpVec().