ESyS-Particle  2.3
ASubLattice Class Referenceabstract

Abstract base class for sublattices. More...

#include <ASubLattice.h>

Inheritance diagram for ASubLattice:
Collaboration diagram for ASubLattice:

Public Types

typedef std::pair< int, int > ParticleIdPair
 
typedef std::vector
< ParticleIdPair
ParticleIdPairVector
 
typedef std::vector< int > IdVector
 

Public Member Functions

virtual ~ASubLattice ()
 
void setNTSize (int)
 
virtual void setParticleType (const std::string &particleType)
 
virtual const std::string & getParticleType () const
 
virtual void setTimeStepSize (double dt)=0
 
virtual vector< int > getCommCoords () const =0
 
virtual vector< int > getCommDims () const =0
 
virtual void receiveParticles ()=0
 
virtual void receiveConnections ()=0
 
virtual void addWall ()=0
 
virtual void addElasticWIG ()=0
 
virtual void addBondedWIG ()=0
 
virtual void addDirBondedWIG ()=0
 
virtual void addViscWIG ()=0
 
virtual void addTaggedElasticWIG ()=0
 
virtual void initNeighborTable (const Vec3 &, const Vec3 &)=0
 
virtual void initNeighborTable (const Vec3 &, const Vec3 &, const vector< bool > &)=0
 
virtual void addPairIG ()=0
 
virtual void addTaggedPairIG ()=0
 
virtual void addTriMesh ()=0
 
virtual void addTriMeshIG ()=0
 
virtual void addBondedTriMeshIG ()=0
 
virtual void addMesh2D ()=0
 
virtual void addMesh2DIG ()=0
 
virtual void addBondedMesh2DIG ()=0
 
virtual void addSingleIG ()=0
 
virtual void addBondedIG ()=0
 
virtual void addCappedBondedIG ()=0
 
virtual void addShortBondedIG ()=0
 
virtual void addRotBondedIG ()=0
 
virtual void addRotThermBondedIG ()=0
 
virtual void addDamping ()=0
 
virtual void setExIG ()=0
 
virtual void initComplex ()
 
virtual void removeIG ()=0
 
virtual void getWallPos ()=0
 
virtual void getWallForce ()=0
 
virtual const MPI_Comm & getWorkerComm () const =0
 
virtual void rebuildParticleArray ()=0
 
virtual void rebuildInteractions ()=0
 
virtual void searchNeighbors ()=0
 
virtual void checkNeighbors ()=0
 
virtual void updateInteractions ()=0
 
virtual int getNumParticles ()=0
 
virtual std::pair< double, int > findParticleNearestTo (const Vec3 &pt)=0
 
virtual std::pair< int, Vec3getParticlePosn (int particleId)=0
 
virtual void oneStep ()=0
 
virtual void exchangePos ()=0
 
virtual void moveParticleTo ()=0
 
virtual void moveTaggedParticlesBy ()=0
 
virtual void moveSingleParticleTo (int particleId, const Vec3 &posn)=0
 
virtual void moveWallBy ()=0
 
virtual void setWallNormal ()=0
 
virtual void applyForceToWall ()=0
 
virtual void setVelocityOfWall ()=0
 
virtual void setParticleVelocity ()=0
 
virtual void setParticleDensity ()=0
 
virtual void setTaggedParticleVel ()=0
 
virtual void setParticleAngularVelocity ()
 
virtual void setParticleNonDynamic ()=0
 
virtual void setParticleNonRot ()=0
 
virtual void tagParticleNearestTo ()=0
 
virtual void moveSingleNode ()=0
 
virtual void moveTaggedNodes ()=0
 
virtual void translateMeshBy (const std::string &meshName, const Vec3 &translation)=0
 
virtual void setTimer (MpiWTimers &timers)=0
 
virtual void do2dCalculations (bool do2d)=0
 
virtual void countParticles ()=0
 
virtual void addScalarParticleField ()=0
 
virtual void addVectorParticleField ()=0
 
virtual void addScalarInteractionField ()=0
 
virtual void addVectorInteractionField ()=0
 
virtual void addVectorTriangleField ()=0
 
virtual void addScalarTriangleField ()=0
 
virtual void sendFieldData ()=0
 
virtual void addVectorWallField ()=0
 
virtual void printStruct ()=0
 
virtual void printData ()=0
 
virtual void printTimes ()=0
 
virtual void getMeshNodeRef ()=0
 
virtual void getMeshFaceRef ()=0
 
virtual void getMesh2DStress ()=0
 
virtual void getTriMeshForce ()=0
 
virtual void getParticleData (const IdVector &particleIdVector)=0
 
virtual void loadCheckPointData (std::istream &)
 
- Public Member Functions inherited from esys::lsm::CheckPointable
 CheckPointable ()
 
virtual ~CheckPointable ()
 
virtual void saveCheckPointData (std::ostream &oStream)=0
 
virtual void saveSnapShotData (std::ostream &oStream)
 

Private Attributes

std::string m_particleType
 

Detailed Description

Abstract base class for sublattices.

Member Typedef Documentation

typedef std::vector<int> ASubLattice::IdVector
typedef std::pair<int,int> ASubLattice::ParticleIdPair

Constructor & Destructor Documentation

ASubLattice::~ASubLattice ( )
virtual

Member Function Documentation

virtual void ASubLattice::addBondedIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addBondedMesh2DIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addBondedTriMeshIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addBondedWIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addCappedBondedIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addDamping ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addDirBondedWIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addElasticWIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addMesh2D ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addMesh2DIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addPairIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addRotBondedIG ( )
pure virtual

Implemented in TSubLattice< T >, and TRotSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addRotThermBondedIG ( )
pure virtual

Implemented in TSubLattice< T >, and TRotSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addScalarInteractionField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addScalarParticleField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addScalarTriangleField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addShortBondedIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addSingleIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addTaggedElasticWIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addTaggedPairIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addTriMesh ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addTriMeshIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addVectorInteractionField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addVectorParticleField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addVectorTriangleField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addVectorWallField ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addViscWIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::addWall ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::applyForceToWall ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::checkNeighbors ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::countParticles ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::do2dCalculations ( bool  do2d)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::do2dCalculations().

Here is the caller graph for this function:

virtual void ASubLattice::exchangePos ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual std::pair<double, int> ASubLattice::findParticleNearestTo ( const Vec3 pt)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::findParticleNearestToPoint().

Here is the caller graph for this function:

virtual vector<int> ASubLattice::getCommCoords ( ) const
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::initLattice(), and CSubLatticeControler::initLatticeCirc().

Here is the caller graph for this function:

virtual vector<int> ASubLattice::getCommDims ( ) const
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::initLattice(), and CSubLatticeControler::initLatticeCirc().

Here is the caller graph for this function:

virtual void ASubLattice::getMesh2DStress ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::getMeshFaceRef ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::getMeshNodeRef ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual int ASubLattice::getNumParticles ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::getNumParticles().

Here is the caller graph for this function:

virtual void ASubLattice::getParticleData ( const IdVector particleIdVector)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::getIdParticleData().

Here is the caller graph for this function:

virtual std::pair<int, Vec3> ASubLattice::getParticlePosn ( int  particleId)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::getParticlePosn().

Here is the caller graph for this function:

virtual const std::string& ASubLattice::getParticleType ( ) const
inlinevirtual

References m_particleType.

virtual void ASubLattice::getTriMeshForce ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::getWallForce ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::getWallPos ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual const MPI_Comm& ASubLattice::getWorkerComm ( ) const
pure virtual

Implemented in TSubLattice< T >.

void ASubLattice::initComplex ( )
virtual

Default implementation for complex init. Just prints an error message.

References console, BasicCon::Critical(), CVarMPIBuffer::receiveBroadcast(), CMPIBarrier::wait(), and BasicCon::XDebug().

Referenced by CSubLatticeControler::run().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void ASubLattice::initNeighborTable ( const Vec3 ,
const Vec3  
)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::initLattice(), and CSubLatticeControler::initLatticeCirc().

Here is the caller graph for this function:

virtual void ASubLattice::initNeighborTable ( const Vec3 ,
const Vec3 ,
const vector< bool > &   
)
pure virtual

Implemented in TSubLattice< T >.

virtual void ASubLattice::loadCheckPointData ( std::istream &  )
inlinevirtual

Implements esys::lsm::CheckPointable.

Reimplemented in TSubLattice< T >.

Referenced by CSubLatticeControler::loadCheckPointData().

Here is the caller graph for this function:

virtual void ASubLattice::moveParticleTo ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::moveSingleNode ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::moveSingleParticleTo ( int  particleId,
const Vec3 posn 
)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::moveSingleParticle().

Here is the caller graph for this function:

virtual void ASubLattice::moveTaggedNodes ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::moveTaggedParticlesBy ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::moveWallBy ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::oneStep ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::printData ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::printStruct ( )
pure virtual

Implemented in TSubLattice< T >.

virtual void ASubLattice::printTimes ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::rebuildInteractions ( )
pure virtual

Implemented in TSubLattice< T >.

virtual void ASubLattice::rebuildParticleArray ( )
pure virtual

Implemented in TSubLattice< T >.

virtual void ASubLattice::receiveConnections ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::receiveParticles ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::removeIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::searchNeighbors ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::searchNeighbors().

Here is the caller graph for this function:

virtual void ASubLattice::sendFieldData ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setExIG ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

void ASubLattice::setNTSize ( int  size)

Adjust the size of the neighbor table

Parameters
sizethe size
virtual void ASubLattice::setParticleAngularVelocity ( )
inlinevirtual

Reimplemented in TRotSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setParticleDensity ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setParticleNonDynamic ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setParticleNonRot ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setParticleType ( const std::string &  particleType)
inlinevirtual
virtual void ASubLattice::setParticleVelocity ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setTaggedParticleVel ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::setTimer ( MpiWTimers timers)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::makeLattice().

Here is the caller graph for this function:

virtual void ASubLattice::setTimeStepSize ( double  dt)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::setTimeStepSize().

Here is the caller graph for this function:

virtual void ASubLattice::setVelocityOfWall ( )
pure virtual

Implemented in TSubLattice< T >.

virtual void ASubLattice::setWallNormal ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::tagParticleNearestTo ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

virtual void ASubLattice::translateMeshBy ( const std::string &  meshName,
const Vec3 translation 
)
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::translateMeshBy().

Here is the caller graph for this function:

virtual void ASubLattice::updateInteractions ( )
pure virtual

Implemented in TSubLattice< T >.

Referenced by CSubLatticeControler::run().

Here is the caller graph for this function:

Member Data Documentation

std::string ASubLattice::m_particleType
private

Referenced by getParticleType().


The documentation for this class was generated from the following files: