#include <HopFunc.h>
Public Member Functions | |
HopFunc1 (HopIndex hopIndex) | |
void | op (const Eref &e, A arg) const |
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. | |
unsigned int | localFieldOpVec (const Eref &er, const vector< A > &arg, const OpFunc1Base< A > *op) const |
Executes the local vector assignment. Returns number of entries. | |
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. | |
void | dataOpVec (const Eref &e, const vector< A > &arg, const OpFunc1Base< A > *op) const |
void | opVec (const Eref &er, const vector< A > &arg, const OpFunc1Base< A > *op) const |
void HopFunc1< A >::dataOpVec | ( | const Eref & | e, | |
const vector< A > & | arg, | |||
const OpFunc1Base< A > * | op | |||
) | const [inline] |
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().
unsigned int HopFunc1< A >::localFieldOpVec | ( | const Eref & | er, | |
const vector< A > & | arg, | |||
const OpFunc1Base< A > * | op | |||
) | const [inline] |
Executes the local vector assignment. Returns number of entries.
References Eref::dataIndex(), Eref::element(), Eref::getNode(), Element::localDataStart(), mooseMyNode(), Element::numField(), OpFunc1Base< A >::op(), and q.
Referenced by HopFunc1< A >::opVec().
unsigned int HopFunc1< A >::localOpVec | ( | Element * | elm, | |
const vector< A > & | arg, | |||
const OpFunc1Base< A > * | op, | |||
unsigned int | k | |||
) | const [inline] |
Executes the local vector assignment. Returns current arg index.
References Element::localDataStart(), Element::numField(), Element::numLocalData(), OpFunc1Base< A >::op(), and q.
Referenced by HopFunc1< A >::dataOpVec().
Implements OpFunc1Base< A >.
References addToBuf(), and dispatchBuffers().
void HopFunc1< A >::opVec | ( | const Eref & | er, | |
const vector< A > & | arg, | |||
const OpFunc1Base< A > * | op | |||
) | const [inline] |
References HopFunc1< A >::dataOpVec(), Eref::element(), Eref::getNode(), Element::hasFields(), Element::isGlobal(), HopFunc1< A >::localFieldOpVec(), mooseMyNode(), and HopFunc1< A >::remoteOpVec().
unsigned int HopFunc1< A >::remoteOpVec | ( | const Eref & | er, | |
const vector< A > & | arg, | |||
const OpFunc1Base< A > * | op, | |||
unsigned int | start, | |||
unsigned int | end | |||
) | const [inline] |
Dispatches remote vector assignment. start and end are arg index.
References addToBuf(), dispatchBuffers(), and mooseNumNodes().
Referenced by HopFunc1< A >::dataOpVec(), and HopFunc1< A >::opVec().