|
ESyS-Particle
2.3
|
templated abstract base class for parallel interaction storage array. Adds the vector of interactions and access functions to AParallelInteractionStorage More...
#include <CheckedScalarInteractionFieldSlave.h>


Classes | |
| class | InteractionIterator |
Public Types | |
| typedef I | interaction_type |
| typedef esys::lsm::quintuple < Vec3, double, Vec3, double, Vec3 > | Raw2Data |
| typedef esys::lsm::triplet < int, int, Vec3 > | DataWithID |
| typedef esys::lsm::quintuple < int, int, Vec3, Vec3, Vec3 > | DataWithPosID |
| access functions More... | |
Public Member Functions | |
| TParallelInteractionStorage (AParallelParticleArray *ppa) | |
| virtual | ~TParallelInteractionStorage () |
| InteractionIterator | getInnerInteractionIterator () |
| types More... | |
| template<typename P > | |
| vector< pair< Vec3, P > > | forAllInnerInteractionsGetWithPos (P(I::*rdf)() const) |
| template<typename P > | |
| vector< pair< Raw2Data, P > > | forAllInnerInteractionsGetRaw2 (P(I::*rdf)() const) |
| template<typename P > | |
| vector< pair< DataWithID, P > > | forAllInnerInteractionsGetDataWithID (P(I::*rdf)() const) |
| template<typename P > | |
| vector< pair< DataWithPosID, P > > | forAllInnerInteractionsGetDataWithPosID (P(I::*rdf)() const) |
| template<typename P > | |
| void | forAllInnerInteractionsGet (P &, typename P::value_type(I::*rdf)() const) |
| access functions with tags More... | |
| template<typename P > | |
| vector< pair< Vec3, P > > | forAllTaggedInnerInteractionsGetWithPos (P(I::*rdf)() const, int, int) |
| template<typename P > | |
| void | forAllTaggedInnerInteractionsGet (P &, typename P::value_type(I::*rdf)() const, int, int) |
| generate FieldSlave of correct type More... | |
| virtual AFieldSlave * | generateNewScalarFieldSlave (TML_Comm *, const string &, int, int, int, int) |
| virtual AFieldSlave * | generateNewVectorFieldSlave (TML_Comm *, const string &, int, int, int, int) |
| template<typename P > | |
| vector< pair< typename TParallelInteractionStorage< I > ::Raw2Data, P > > | forAllInnerInteractionsGetRaw2 (P(I::*rdf)() const) |
| template<typename P > | |
| vector< pair< typename TParallelInteractionStorage< I > ::DataWithPosID, P > > | forAllInnerInteractionsGetDataWithPosID (P(I::*rdf)() const) |
| template<typename P > | |
| vector< pair< typename TParallelInteractionStorage< I > ::DataWithID, P > > | forAllInnerInteractionsGetDataWithID (P(I::*rdf)() const) |
Public Member Functions inherited from AParallelInteractionStorage | |
| AParallelInteractionStorage (AParallelParticleArray *ppa) | |
| virtual | ~AParallelInteractionStorage () |
| virtual void | exchange ()=0 |
| virtual void | rebuild ()=0 |
| virtual bool | update ()=0 |
| virtual bool | isIn (const vector< int > &)=0 |
| virtual void | calcForces ()=0 |
| virtual void | calcHeatFrict () |
| virtual void | calcHeatTrans () |
| virtual void | setTimeStepSize (double dt)=0 |
| virtual void | addExIG (AParallelInteractionStorage *) |
| virtual void | saveCheckPointData (std::ostream &) |
| virtual void | loadCheckPointData (std::istream &) |
| virtual void | saveSnapShotData (std::ostream &) |
| virtual bool | willSave () |
Public Member Functions inherited from esys::lsm::CheckPointable | |
| CheckPointable () | |
| virtual | ~CheckPointable () |
Protected Attributes | |
| list< I > | m_interactions |
Protected Attributes inherited from AParallelInteractionStorage | |
| AParallelParticleArray * | m_ppa |
templated abstract base class for parallel interaction storage array. Adds the vector of interactions and access functions to AParallelInteractionStorage
| typedef esys::lsm::triplet<int,int,Vec3> TParallelInteractionStorage< I >::DataWithID |
| typedef esys::lsm::quintuple<int,int,Vec3,Vec3,Vec3> TParallelInteractionStorage< I >::DataWithPosID |
access functions
| typedef I TParallelInteractionStorage< I >::interaction_type |
| typedef esys::lsm::quintuple<Vec3,double,Vec3,double,Vec3> TParallelInteractionStorage< I >::Raw2Data |
|
inline |
|
inlinevirtual |
| void TParallelInteractionStorage< I >::forAllInnerInteractionsGet | ( | P & | cont, |
| typename P::value_type(I::*)() const | rdf | ||
| ) |
access functions with tags
For all interactions with the lower particle in the inner area of the ntable call a function reading a value and return the results in a container particle ids
the container
| rdf | the function |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| vector<pair<DataWithID,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithID | ( | P(I::*)() const | rdf | ) |
| vector<pair<typename TParallelInteractionStorage<I>::DataWithID,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithID | ( | P(I::*)() const | rdf | ) |
For all interactions with the lower particle in the inner area of the ntable call a function reading a value and return the results in a vector of <<ipos,pid1,pid2>,value> groups
| rdf | the function |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| vector<pair<DataWithPosID,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithPosID | ( | P(I::*)() const | rdf | ) |
| vector<pair<typename TParallelInteractionStorage<I>::DataWithPosID,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithPosID | ( | P(I::*)() const | rdf | ) |
For all interactions with the lower particle in the inner area of the ntable call a function reading a value and return the results in a vector of <<pid1,pid2,pos1,pos2,ipos>,value> groups
| rdf | the function |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| vector<pair<typename TParallelInteractionStorage<I>::Raw2Data,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetRaw2 | ( | P(I::*)() const | rdf | ) |
For all interactions with the lower particle in the inner area of the ntable call a function reading a value and return the results in a vector of <<pos1,radius1,pos2,radius2,ipos>,value> groups
| rdf | the function |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| vector<pair<Raw2Data,P> > TParallelInteractionStorage< I >::forAllInnerInteractionsGetRaw2 | ( | P(I::*)() const | rdf | ) |
| vector< pair< Vec3, P > > TParallelInteractionStorage< I >::forAllInnerInteractionsGetWithPos | ( | P(I::*)() const | rdf | ) |
For all interactions with the lower particle in the inner area of the ntable call a function reading a value and return the results in a vector of <position,vaule> pairs
| rdf | the function |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| void TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGet | ( | P & | cont, |
| typename P::value_type(I::*)() const | rdf, | ||
| int | tag, | ||
| int | mask | ||
| ) |
generate FieldSlave of correct type
For all interactions with the lower particle in the inner area of the ntable and one of the particles having the specified tag call a function reading a value and return the results in a container
the container
| rdf | the function |
| tag | the tag |
| mask | the mask used in tag comparison |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

| vector< pair< Vec3, P > > TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGetWithPos | ( | P(I::*)() const | rdf, |
| int | tag, | ||
| int | mask | ||
| ) |
For all interactions with the lower particle in the inner area of the ntable and one of the particles having the specified tag call a function reading a value and return the results in a vector of <position,value> pairs
| rdf | the function |
| tag | the tag |
| mask | the mask used in tag comparison |
References AParallelParticleArray::isInInner(), esys::lsm::bpu::iter(), TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.

|
virtual |
generate new scalar field saver from the PIS
| comm | |
| fieldname | |
| is_checked | |
| is_tagged | |
| tag | |
| mask |
Implements AParallelInteractionStorage.
|
virtual |
generate new vector field saver from the PIS
| comm | |
| fieldname | |
| is_checked | |
| is_tagged | |
| tag | |
| mask |
Implements AParallelInteractionStorage.
References NULL.
| TParallelInteractionStorage< I >::InteractionIterator TParallelInteractionStorage< I >::getInnerInteractionIterator | ( | ) |
types
References TParallelInteractionStorage< I >::m_interactions, and AParallelInteractionStorage::m_ppa.
|
protected |
Referenced by TParallelInteractionStorage< I >::forAllInnerInteractionsGet(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithID(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetDataWithPosID(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetRaw2(), TParallelInteractionStorage< I >::forAllInnerInteractionsGetWithPos(), TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGet(), TParallelInteractionStorage< I >::forAllTaggedInnerInteractionsGetWithPos(), and TParallelInteractionStorage< I >::getInnerInteractionIterator().