#include <Eref.h>
Public Member Functions | |
Eref () | |
Eref (Element *e, unsigned int index, unsigned int field=0) | |
char * | data () const |
Element * | element () const |
unsigned int | dataIndex () const |
unsigned int | fieldIndex () const |
ObjId | objId () const |
Id | id () const |
const vector< MsgDigest > & | msgDigest (unsigned int bindIndex) const |
bool | isDataHere () const |
unsigned int | getNode () const |
Friends | |
ostream & | operator<< (ostream &s, const Eref &e) |
Eref::Eref | ( | ) |
Eref::Eref | ( | Element * | e, | |
unsigned int | index, | |||
unsigned int | field = 0 | |||
) |
char * Eref::data | ( | ) | const |
Returns data entry.
References Element::data(), isDataHere(), and Element::rawIndex().
Referenced by benchmarkMsg(), checkArg1(), Shell::cleanSimulation(), Shell::destroy(), getEpFuncData(), MarkovSolverBase::init(), init(), isDoingReinit(), Shell::isRunning(), Shell::launchParser(), OpFunc6< T, A1, A2, A3, A4, A5, A6 >::op(), OpFunc5< T, A1, A2, A3, A4, A5 >::op(), OpFunc4< T, A1, A2, A3, A4 >::op(), OpFunc3< T, A1, A2, A3 >::op(), OpFunc2< T, A1, A2 >::op(), OpFunc1< T, A >::op(), OpFunc0< T >::op(), EpFunc6< T, A1, A2, A3, A4, A5, A6 >::op(), EpFunc5< T, A1, A2, A3, A4, A5 >::op(), EpFunc4< T, A1, A2, A3, A4 >::op(), EpFunc3< T, A1, A2, A3 >::op(), EpFunc2< T, A1, A2 >::op(), EpFunc1< T, ProcPtr >::op(), EpFunc0< T >::op(), HSolveUtils::rates(), SpikeGenStruct::reinit(), GetOpFunc1< T, L, A >::returnOp(), GetOpFunc< T, A >::returnOp(), GetEpFunc1< T, L, A >::returnOp(), SpikeGenStruct::send(), Stoich::setDsolve(), Ksolve::setDsolve(), Gsolve::setDsolve(), MarkovRateTable::setInt2dChildTable(), Stoich::setKsolve(), ZombieReac::setSolver(), ZombieMMenz::setSolver(), ZombieEnz::setSolver(), SteadyState::setStoich(), Ksolve::setStoich(), Gsolve::setStoich(), MarkovRateTable::setVtChildTable(), testAssortedMsg(), testChildren(), testClock(), testCopy(), testCopyFieldElement(), testCopyMsgOps(), testDescendant(), testFilterOffNodeTargets(), testFindModelParent(), testGetMsgs(), testInterNodeOps(), testMove(), testMsgElementListing(), testObjIdToAndFromPath(), testSendSpike(), testSharedMsg(), testShellAddMsg(), testShellParserCreateDelete(), testShellParserQuit(), testShellParserStart(), testShellSetGet(), testSyncSynapseSize(), testTable(), testTreeTraversal(), verifyKids(), ZombieHHChannel::vSetSolver(), ZombieCompartment::vSetSolver(), ZombieCaConc::vSetSolver(), ReacBase::zombify(), PoolBase::zombify(), EnzBase::zombify(), CplxEnzBase::zombify(), HHChannelBase::zombify(), moose::CompartmentBase::zombify(), and CaConcBase::zombify().
unsigned int Eref::dataIndex | ( | ) | const [inline] |
Returns data index, for now typecast to unsigned int.
Referenced by HopFunc1< A >::dataOpVec(), filterOffNodeTargets(), SparseMsg::firstTgt(), OneToOneMsg::firstTgt(), OneToOneDataIndexMsg::firstTgt(), DiagonalMsg::firstTgt(), GetHopFunc< A >::getLocalFieldVec(), Neutral::getNumField(), Ksolve::getVoxelIndex(), Gsolve::getVoxelIndex(), HopFunc1< A >::localFieldOpVec(), lookupVolumeFromMesh(), OpFunc1Base< ProcPtr >::opVecBuffer(), IntFire::process(), Adaptor::reinit(), MeshEntry::reinit(), ChemCompt::setEntireVolume(), Neutral::setNumField(), and testSendMsg().
Element* Eref::element | ( | ) | const [inline] |
Returns Element part
Referenced by convertConcToNumRateUsingMesh(), convertConcToNumRateUsingVol(), HopFunc1< A >::dataOpVec(), Neutral::destroy(), filterOffNodeTargets(), SparseMsg::firstTgt(), SingleMsg::firstTgt(), OneToOneMsg::firstTgt(), OneToOneDataIndexMsg::firstTgt(), OneToAllMsg::firstTgt(), DiagonalMsg::firstTgt(), Neutral::getClass(), Neutral::getDestFields(), Neutral::getDt(), Neutral::getIncomingMsgs(), GetHopFunc< A >::getLocalFieldVec(), GetHopFunc< A >::getMultiNodeVec(), Neutral::getName(), Neutral::getNumData(), Neutral::getNumField(), ReacBase::getNumPrd(), ReacBase::getNumSub(), EnzBase::getNumSub(), Neutral::getOutgoingMsgs(), getReactantVols(), Neutral::getSourceFields(), Neutral::getTick(), Neutral::getValueFields(), Neutral::isDescendant(), HopFunc1< A >::localFieldOpVec(), localGet(), GetHopFunc< A >::opGetVec(), HopFunc2< A1, A2 >::opVec(), HopFunc1< A >::opVec(), OpFunc2Base< A1, A2 >::opVecBuffer(), OpFunc1Base< ProcPtr >::opVecBuffer(), Neutral::path(), Arith::process(), Adaptor::reinit(), moose::VClamp::reinit(), SrcFinfo6< T1, T2, T3, T4, T5, T6 >::send(), SrcFinfo5< T1, T2, T3, T4, T5 >::send(), SrcFinfo4< T1, T2, T3, T4 >::send(), SrcFinfo3< T1, T2, T3 >::send(), SrcFinfo2< T1, T2 >::send(), SrcFinfo0::send(), SrcFinfo2< T1, T2 >::sendTo(), ChemCompt::setEntireVolume(), Gsolve::setN(), Gsolve::setNinit(), Neutral::setNumData(), Neutral::setNumField(), Neutral::setTick(), testCreateMsg(), testFibonacci(), testMsgField(), testSendMsg(), testShellAddMsg(), NeuroMesh::transmitSpineInfo(), Stoich::unZombifyModel(), HHChannel2D::vReinit(), and HHChannel::vReinit().
unsigned int Eref::fieldIndex | ( | ) | const [inline] |
Returns field index, for now typecast to unsigned int. This is really an extra bit of baggage used here not for immediate lookup, but to pass to EpFuncs that know how to use this for lookup.
Referenced by InputVariable::epSetValue(), MeshEntry::getCoordinates(), MeshEntry::getDiffusionArea(), MeshEntry::getDiffusionScaling(), MeshEntry::getDimensions(), Spine::getHeadDiameter(), Spine::getHeadLength(), MeshEntry::getMeshType(), MeshEntry::getNeighbors(), Spine::getShaftDiameter(), Spine::getShaftLength(), MeshEntry::getVolume(), Neutral::path(), Spine::setHeadDiameter(), Spine::setHeadLength(), Spine::setShaftDiameter(), and Spine::setShaftLength().
unsigned int Eref::getNode | ( | ) | const |
Returns node upon which specified data entry resides . If this is a GlobalElement then it returns the local node.
References Element::getNode().
Referenced by filterOffNodeTargets(), HopFunc1< A >::localFieldOpVec(), GetHopFunc< A >::opGetVec(), and HopFunc1< A >::opVec().
Id Eref::id | ( | ) | const |
Returns the Id corresponding to the Eref. Loses information.
References Element::id().
Referenced by Neuron::buildSegmentTree(), Ksolve::getPoolIndex(), Gsolve::getPoolIndex(), Stoich::getR1(), Stoich::getR1offset1(), Stoich::getR1offset2(), Stoich::getR2(), Ksolve::initProc(), Gsolve::initProc(), Ksolve::initReinit(), Gsolve::initReinit(), lookupVolumeFromMesh(), Cell::reinit(), HHGate::setDivs(), Stoich::setEnzK1(), Stoich::setEnzK2(), Stoich::setEnzK3(), HHGate::setMax(), HHGate::setMin(), Stoich::setMMenzKcat(), Stoich::setMMenzKm(), Stoich::setReacKb(), Stoich::setReacKf(), HHGate::setUseInterpolation(), ZombieCaConc::vCurrent(), ZombieCaConc::vGetCa(), ZombieCaConc::vGetCaBasal(), ZombieCaConc::vGetCeiling(), ZombieCompartment::vGetCm(), ZombieHHChannel::vGetEk(), ZombieCompartment::vGetEm(), ZombieCaConc::vGetFloor(), ZombieHHChannel::vGetGbar(), ZombieHHChannel::vGetGk(), ZombieHHChannel::vGetIk(), ZombieCompartment::vGetIm(), ZombieCompartment::vGetInitVm(), ZombieCompartment::vGetInject(), ZombieHHChannel::vGetInstant(), ZombieCompartment::vGetRa(), ZombieCompartment::vGetRm(), ZombieCompartment::vGetVm(), ZombieHHChannel::vGetX(), ZombieHHChannel::vGetY(), ZombieHHChannel::vGetZ(), ZombieCompartment::vHandleChannel(), ZombieCompartment::vInjectMsg(), RandGenerator::vReinit(), ZombieCaConc::vSetB(), ZombieCaConc::vSetCa(), ZombieCaConc::vSetCaBasal(), ZombieCaConc::vSetCeiling(), ZombieCompartment::vSetCm(), ZombieHHChannel::vSetEk(), ZombieCompartment::vSetEm(), ZombieCaConc::vSetFloor(), ZombieHHChannel::vSetGbar(), ZombieHHChannel::vSetGk(), ZombieCompartment::vSetInitVm(), ZombieCompartment::vSetInject(), ZombieHHChannel::vSetInstant(), ZombieHHChannel::vSetModulation(), ZombieCompartment::vSetRa(), ZombieCompartment::vSetRm(), ZombieCaConc::vSetTau(), ZombieCompartment::vSetVm(), ZombieHHChannel::vSetX(), ZombieHHChannel::vSetXpower(), ZombieHHChannel::vSetY(), ZombieHHChannel::vSetYpower(), ZombieHHChannel::vSetZ(), and ZombieHHChannel::vSetZpower().
bool Eref::isDataHere | ( | ) | const |
True if the data are on the current node
References Element::getNode(), and Shell::myNode().
Referenced by data(), Neutral::getNumField(), and Neutral::setNumField().
const vector< MsgDigest > & Eref::msgDigest | ( | unsigned int | bindIndex | ) | const |
Returns the digested version of the specified msgsrc. If the message has changed, this call triggers the digestion operation.
References Element::cinfo(), Element::msgDigest(), and Cinfo::numBindIndex().
Referenced by Element::getMsgTargets(), SrcFinfo6< T1, T2, T3, T4, T5, T6 >::send(), SrcFinfo5< T1, T2, T3, T4, T5 >::send(), SrcFinfo4< T1, T2, T3, T4 >::send(), SrcFinfo3< T1, T2, T3 >::send(), SrcFinfo2< T1, T2 >::send(), SrcFinfo1< T >::send(), SrcFinfo0::send(), SrcFinfo2< T1, T2 >::sendTo(), SrcFinfo1< T >::sendTo(), and SrcFinfo1< T >::sendVec().
ObjId Eref::objId | ( | ) | const |
Returns the ObjId corresponding to the Eref. All info is kept.
References Element::id().
Referenced by Neutral::destroy(), Function::getExpr(), Neutral::getObjId(), Neutral::isDescendant(), Neutral::parent(), Neutral::path(), Arith::process(), moose::CompartmentBase::setGeomAndElec(), ReadOnlyValueFinfo< T, F >::strGet(), ValueFinfo< T, F >::strGet(), ReadOnlyLookupValueFinfo< T, L, F >::strGet(), LookupValueFinfo< T, L, F >::strGet(), ReadOnlyLookupElementValueFinfo< T, L, F >::strGet(), LookupElementValueFinfo< T, L, F >::strGet(), ReadOnlyElementValueFinfo< T, F >::strGet(), ElementValueFinfo< T, F >::strGet(), ValueFinfo< T, F >::strSet(), LookupValueFinfo< T, L, F >::strSet(), LookupElementValueFinfo< T, L, F >::strSet(), ElementValueFinfo< T, F >::strSet(), and testGetMsg().
ostream& operator<< | ( | ostream & | s, | |
const Eref & | e | |||
) | [friend] |