|
ESyS-Particle
2.3.4
|
#include <LatticeMaster.h>

Public Types | |
| typedef std::vector< esys::lsm::Runnable * > | RunnableVector |
| typedef std::pair< int, int > | ParticleIdPair |
| typedef std::vector< ParticleIdPair > | ParticleIdPairVector |
| typedef std::vector< MeshNodeData > | MeshNodeDataVector |
| typedef std::vector< MeshTriData > | MeshTriDataVector |
| typedef std::pair< MeshNodeDataVector, MeshTriDataVector > | TriMeshDataPair |
| typedef std::vector< int > | IdVector |
Public Member Functions | |
| CLatticeMaster () | |
| ~CLatticeMaster () | |
| std::string | getLsmVersion () const |
| int | getNumWorkerProcesses () const |
| int | getTimeStep () const |
| double | getTimeStepSize () const |
| void | setTimeStepSize (double dt) |
| void | init () |
| void | setupWorkers (int numWorkers) |
| void | run () |
| void | runInit () |
| void | runOneStep () |
| void | runEnd () |
| void | oneStep () |
| void | searchNeighbors (bool) |
| bool | checkNeighbors () |
| void | updateInteractions () |
| void | addBondedIG (const CBondedIGP &) |
| void | addCappedBondedIG (int, const std::string &, double, double, double) |
| void | addShortBondedIG (int, const std::string &, double, double) |
| void | addPairIG (const CElasticIGP &prms) |
| void | addPairIG (const CFrictionIGP &prms) |
| void | addPairIG (const FractalFrictionIGP &prms) |
| void | addPairIG (const CAdhesiveFrictionIGP &prms) |
| void | addPairIG (const CRotElasticIGP &prms) |
| void | addPairIG (const CRotFrictionIGP &prms) |
| void | addPairIG (const CHertzianElasticIGP &prms) |
| void | addPairIG (const CHertzianViscoElasticFrictionIGP &prms) |
| void | addPairIG (const CHertzianViscoElasticIGP &prms) |
| void | addPairIG (const CHertzMindlinIGP &prms) |
| void | addPairIG (const CHertzMindlinViscoIGP &prms) |
| void | addPairIG (const CLinearDashpotIGP &prms) |
| void | addPairIG (const CRotThermElasticIGP &prms) |
| void | addPairIG (const CRotThermFrictionIGP &prms) |
| void | addTaggedPairIG (const CRotFrictionIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CFrictionIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CHertzianElasticIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CHertzianViscoElasticFrictionIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CHertzianViscoElasticIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CHertzMindlinIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CHertzMindlinViscoIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CLinearDashpotIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CRotElasticIGP &prms, int, int, int, int) |
| void | addTaggedPairIG (const CElasticIGP &prms, int, int, int, int) |
| void | removeIG (const std::string &) |
| void | readAndDistributeTriMesh (const std::string &, const std::string &, int) |
| void | readAndDistributeTriMesh (const std::string &, const std::string &) |
| void | createTriMesh (const std::string &meshName, const MeshNodeDataVector &mndVector, const MeshTriDataVector &mtdVector) |
| void | addMesh2D (const std::string &, const std::string &, int) |
| void | addMesh2DIG (const ETriMeshIP &prms) |
| void | addTriMesh (const std::string &meshName, const std::string &fileName) |
| void | addTriMeshIG (const ETriMeshIP &prms) |
| void | addBondedTriMeshIG (const BTriMeshIP &triMeshPrms, const MeshTagBuildPrms &buildPrms) |
| void | addBondedTriMeshIG (const BTriMeshIP &triMeshPrms, const MeshGapBuildPrms &buildPrms) |
| void | addBondedMesh2DIG (const BMesh2DIP &, const MeshTagBuildPrms &) |
| void | addBondedMesh2DIG (const BMesh2DIP &, const MeshGapBuildPrms &) |
| void | addDamping (const CDampingIGP &dampingIGP) |
| void | addDamping (const CLocalDampingIGP &dampingIGP) |
| void | addDamping (const ABCDampingIGP &dampingIGP) |
| void | addSingleIG (const esys::lsm::GravityIGP &gravityIGP) |
| void | addSingleIG (const esys::lsm::BuoyancyIGP &buoyancyIGP) |
| void | addExIG (const std::string &, const std::string &) |
| void | setNumSteps (int s) |
| int | getNumSteps () const |
| int | getSteps () const |
| void | addRotBondedIG (int, const std::string &, double, double, double, double, double, double, double, double, bool, bool, double) |
| void | addRotThermBondedIG (const CRotThermBondedIGP &prms) |
| void | addWall (const std::string &, const Vec3 &, const Vec3 &) |
| void | addWallIG (const CEWallIGP &) |
| void | addWallIG (const CBWallIGP &) |
| void | addWallIG (const CVWallIGP &) |
| void | addWallIG (const CSoftBWallIGP &) |
| void | addTaggedWallIG (const CEWallIGP &, int, int) |
| Vec3 | getWallPosn (const std::string &) |
| Vec3 | getWallForce (const std::string &) |
| void | addSphereBody (const std::string &, const Vec3 &, const double &) |
| void | addSphereBodyIG (const CESphereBodyIGP &) |
| Vec3 | getSphereBodyPosn (const std::string &) |
| Vec3 | getSphereBodyForce (const std::string &) |
| void | moveParticleTo (int particleTag, const Vec3 &posn) |
| void | moveTaggedParticlesBy (int particleTag, const Vec3 &displacement) |
| void | moveSingleParticleTo (int particleId, const Vec3 &posn) |
| Vec3 | getParticlePosn (int particleId) |
| void | setParticleNonDynamic (int) |
| void | setParticleNonRot (int) |
| void | setParticleNonTrans (int) |
| void | setParticleVel (int, const Vec3 &) |
| void | setParticleAngVel (int, const Vec3 &) |
| void | setParticleDensity (int tag, int mask, double rho) |
| void | setTaggedParticleVel (int tag, const Vec3 &) |
| void | moveWallBy (const std::string &, const Vec3 &) |
| void | moveSphereBodyBy (const std::string &, const Vec3 &) |
| void | setWallNormal (const std::string &, const Vec3 &) |
| void | setVelocityOfWall (const std::string &, const Vec3 &) |
| void | tagParticleNearestTo (int, int, const Vec3 &) |
| int | findParticleNearestTo (const Vec3 &pos) |
| void | applyForceToWall (const std::string &, const Vec3 &) |
| void | applyForceToSphereBody (const std::string &, const Vec3 &) |
| void | moveSingleNodeBy (const std::string &, int, const Vec3 &) |
| void | moveTaggedNodesBy (const std::string &, int, const Vec3 &) |
| void | translateMeshBy (const std::string &, const Vec3 &) |
| void | saveTimingDataToFile (const std::string &fileNamePrefix) |
| void | do2dCalculations (bool do2d) |
| void | setProcessDims (const esys::lsm::CLatticeParam::ProcessDims &dims) |
| const esys::lsm::CLatticeParam::ProcessDims & | getProcessDims () const |
| void | setTimingFileName (const std::string &fileName) |
| const std::string & | getTimingFileName () const |
| const std::string & | getParticleType () const |
| int | getNumParticles () |
| void | addScalarParticleSaveField (const std::string &, const std::string &, const std::string &, int, int, int) |
| field saving functions More... | |
| void | addTaggedScalarParticleSaveField (const std::string &, const std::string &, const std::string &, int, int, int, int, int) |
| void | addVectorParticleSaveField (const std::string &, const std::string &, const std::string &, int, int, int) |
| void | addTaggedVectorParticleSaveField (const std::string &, const std::string &, const std::string &, int, int, int, int, int) |
| void | addScalarInteractionSaveField (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, int, int, int, bool checked=false) |
| void | addScalarHistoryInteractionSaveField (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, int, int, int) |
| void | addVectorInteractionSaveField (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, int, int, int, bool checked=false) |
| void | addTaggedScalarInteractionSaveField (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, int, int, int, int, int, bool) |
| void | addTaggedScalarParticleDistributionSaver (const std::string &, const std::string &, const std::string &, int, int, int, int, int, int, double, double, int) |
| void | addVectorTriangleSaveField (const string &, const string &, const string &, const string &, int, int, int) |
| void | addScalarTriangleSaveField (const string &, const string &, const string &, const string &, int, int, int) |
| void | addVectorWallField (const string &, const string &, vector< string >, const string &, int, int, int) |
| void | addVectorParticleSaveFieldWT (const std::string &, const std::string &, const std::string &, int, int, int, const MaxTrigParams &) |
| void | addTaggedVectorParticleSaveFieldWT (const std::string &, const std::string &, const std::string &, int, int, int, int, int, const MaxTrigParams &) |
| void | performCheckPoints (const std::string &fileNamePrefix, int beginTime, int endTime, int timeInterval, int precision) |
| void | performCheckPointsThroughMaster (const std::string &fileNamePrefix, int beginTime, int endTime, int timeInterval, int precision) |
| void | initSnapShotController (const std::string &, int, int, int) |
| void | makeLattice (const char *particleType, double gridSize, double verletDist) |
| initialization functions More... | |
| void | makeLattice (const char *particleType, double gridSize, double verletDist, double dt) |
| void | addPreTimeStepRunnable (esys::lsm::Runnable &runnable) |
| const RunnableVector & | getPreTimeStepRunnableVector () const |
| RunnableVector & | getPreTimeStepRunnableVector () |
| void | addPostTimeStepRunnable (esys::lsm::Runnable &runnable) |
| const RunnableVector & | getPostTimeStepRunnableVector () const |
| RunnableVector & | getPostTimeStepRunnableVector () |
| esys::lsm::IntVector | getParticleDimensions () |
| void | getInitMinMaxPt (Vec3 &initMinPt, Vec3 &initMaxPt) |
| void | setSpatialDomain (const Vec3 &minBBoxPt, const Vec3 &maxBBoxPt) |
| void | setSpatialDomain (const Vec3 &minBBoxPt, const Vec3 &maxBBoxPt, const esys::lsm::IntVector &circDimVector) |
| void | getSlaveSpatialDomains () |
| template<class TmplParticle > | |
| void | readGeometry (const std::string &fileName) |
| void | readGeometryFile (const std::string &fileName) |
| void | loadCheckPointData (const std::string &checkPointFileName) |
| template<class TmplIterator , class TmplParticle > | |
| void | addParticles (TmplIterator &it) |
| template<class TmplIterator > | |
| void | addConnections (TmplIterator &it) |
| template<typename TmplVisitor > | |
| void | visitMeshFaceReferences (const string &meshName) |
| template<typename TmplVisitor > | |
| void | visitMesh2dNodeReferences (const string &meshName, TmplVisitor &visitor) |
| template<typename TmplVisitor > | |
| void | visitMesh2dEdgeStress (const string &meshName, TmplVisitor &visitor) |
| template<typename TmplVisitor > | |
| void | visitTriMeshFaceForce (const string &meshName, TmplVisitor &visitor) |
| template<typename TmplVisitor , typename TmplParticle > | |
| void | visitParticlesOfType (const IdVector &particleIdVector, TmplVisitor &visitor) |
| template<typename TmplVisitor > | |
| void | visitParticles (const IdVector &particleIdVector, TmplVisitor &visitor) |
| void | setVerbosity (int) |
| void | initializeConsole (const string &, int) |
| void | setConsoleFilename (const string &) |
| void | setConsoleBuffered (unsigned int) |
Protected Types | |
| typedef std::vector< int > | ConnIdVector |
Protected Member Functions | |
| void | runRunnables (RunnableVector::iterator begin, RunnableVector::iterator end) |
| void | runPreRunnables () |
| void | runPostRunnables () |
| void | saveTimingData () |
| TriMeshDataPair | readTriMesh (const std::string &fileName, int) |
| TriMeshDataPair | readTriMesh (const std::string &fileName) |
| void | readAndDistributeMesh2D (const std::string &, int) |
| MpiRankAndComm | getGlobalRankAndComm () const |
| template<typename TmplParticle > | |
| void | particlesMinMax (const TmplParticle &particle) |
Protected Attributes | |
| map< int, ConnIdVector > | m_temp_conn |
| vector< AFieldMaster * > | m_save_fields |
| GeometryInfo | m_geo_info |
| bool | m_bbx_has_been_set |
| bool | m_geometry_is_initialized |
| int | m_global_rank |
| int | m_global_size |
| int | m_max_ts |
| int | m_center_id |
| double | m_total_time |
| int | m_t |
| double | m_dt |
| bool | m_isInitialized |
| bool | m_first_time |
| std::string | m_particle_type |
| RunnableVector | m_preRunnableVector |
| RunnableVector | m_postRunnableVector |
| TML_Comm | m_tml_global_comm |
| MPI_Comm | m_global_comm |
| MPI_Comm | m_local_comm |
| MPI_Group | m_mpi_local_group |
| double | m_dbl_NaN |
| Vec3 | m_init_min_pt |
| Vec3 | m_init_max_pt |
| esys::lsm::IntVector | m_particle_dimensions |
Private Attributes | |
| std::string | m_timingFileName |
| MpiWTimers * | m_pTimers |
| CheckPointController * | m_pCheckPointController |
| CheckPointController * | m_pSnapShotController |
| esys::lsm::CLatticeParam::ProcessDims | m_processDims |
|
protected |
| typedef std::vector<int> CLatticeMaster::IdVector |
| typedef std::vector<MeshNodeData> CLatticeMaster::MeshNodeDataVector |
| typedef std::vector<MeshTriData> CLatticeMaster::MeshTriDataVector |
| typedef std::pair<int, int> CLatticeMaster::ParticleIdPair |
| typedef std::vector<ParticleIdPair> CLatticeMaster::ParticleIdPairVector |
| typedef std::vector<esys::lsm::Runnable *> CLatticeMaster::RunnableVector |
| typedef std::pair<MeshNodeDataVector,MeshTriDataVector> CLatticeMaster::TriMeshDataPair |
| CLatticeMaster::CLatticeMaster | ( | ) |
References m_first_time.
| CLatticeMaster::~CLatticeMaster | ( | ) |
References console, Console::Debug(), m_mpi_local_group, m_pCheckPointController, m_pSnapShotController, m_pTimers, and m_save_fields.

| void CLatticeMaster::addBondedIG | ( | const CBondedIGP & | prms | ) |
Create and add a new bonded IG
| name | the name of the bonded IG |
| k | spring constant of the created bonds |
| dist | maximum distance between two particles to create bond |
| break_dist | (relative) breaking distance of bonds |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDBONDEDIG, console, AIGParam::getName(), CBondedIGP::k, m_global_comm, m_global_rank, CBondedIGP::m_scaling, CBondedIGP::rbreak, CBondedIGP::tag, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createNRotBondInteractGrp().


| void CLatticeMaster::addBondedMesh2DIG | ( | const BMesh2DIP & | igp, |
| const MeshGapBuildPrms & | buildPrms | ||
| ) |
add bonded interactions with 2d mesh using a gap parameter
References BondedMesh2DIGCommand::appendGapBuildPrms(), BondedMesh2DIGCommand::appendMesh2DParam(), BroadcastCommand::broadcast(), console, Console::Debug(), and getGlobalRankAndComm().

| void CLatticeMaster::addBondedMesh2DIG | ( | const BMesh2DIP & | igp, |
| const MeshTagBuildPrms & | buildPrms | ||
| ) |
add bonded interactions with 2d mesh using tag/mask parameters
References BondedMesh2DIGCommand::appendMesh2DParam(), BondedMesh2DIGCommand::appendTagBuildPrms(), BroadcastCommand::broadcast(), console, Console::Debug(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::createNRotBondedLinMeshInteractGrp().


| void CLatticeMaster::addBondedTriMeshIG | ( | const BTriMeshIP & | triMeshPrms, |
| const MeshGapBuildPrms & | buildPrms | ||
| ) |
add bonded trimesh IG by distance between particle & mesh
| triMeshPrms | the interaction parameters, i.e. k , r_break.... |
| buildPrms | the build parameters, i.e. the max. dist |
References BondedTriMeshIGCommand::appendGapBuildPrms(), BondedTriMeshIGCommand::appendTriMeshPrms(), BroadcastCommand::broadcast(), console, Console::Debug(), and getGlobalRankAndComm().

| void CLatticeMaster::addBondedTriMeshIG | ( | const BTriMeshIP & | triMeshPrms, |
| const MeshTagBuildPrms & | buildPrms | ||
| ) |
add bonded trimesh IG by particle tag
| triMeshPrms | the interaction parameters, i.e. k , r_break.... |
| buildPrms | the build parameters, i.e. the tag & mask |
References BondedTriMeshIGCommand::appendTagBuildPrms(), BondedTriMeshIGCommand::appendTriMeshPrms(), BroadcastCommand::broadcast(), console, Console::Debug(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::createNRotBondedTriMeshInteractGrp().


| void CLatticeMaster::addCappedBondedIG | ( | int | , |
| const std::string & | , | ||
| double | , | ||
| double | , | ||
| double | |||
| ) |
Create and add a new bonded IG with force limit
| name | the name of the bonded IG |
| k | spring constant of the created bonds |
| dist | maximum distance between two particles to create bond |
| break_dist | (relative) breaking distance of bonds |
| maxforce | the maximum force |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDCAPPEDBONDEDIG, console, m_global_comm, m_global_rank, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createCappedNRotBondInteractGrp().


| void CLatticeMaster::addConnections | ( | TmplIterator & | it | ) |
Adds enumeration of connections/bonds to the lattice.
| it | Iterator object with next() and hasNext() methods. The TmplIterator::next() method is required to return an object which can accepted as a constructor argument for the SimpleConnectionData class. |
References CMPILCmdBuffer::broadcast(), CMD_RECEIVECONNECTIONS, console, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createConnections().


| void CLatticeMaster::addDamping | ( | const ABCDampingIGP & | dampingIGP | ) |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CDampingIGP::getTypeString(), and BroadcastCommand::packInto().

| void CLatticeMaster::addDamping | ( | const CDampingIGP & | dampingIGP | ) |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CDampingIGP::getTypeString(), and BroadcastCommand::packInto().
Referenced by esys::lsm::LsmMpiPy::createABCDamping(), esys::lsm::LsmMpiPy::createDamping(), esys::lsm::LsmMpiPy::createLocalDamping(), and esys::lsm::LsmMpiPy::createRotLocalDamping().


| void CLatticeMaster::addDamping | ( | const CLocalDampingIGP & | dampingIGP | ) |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CLocalDampingIGP::getTypeString(), and BroadcastCommand::packInto().

| void CLatticeMaster::addExIG | ( | const std::string & | , |
| const std::string & | |||
| ) |
set IG s1 as excluding IG in s2, i.e. an two particles interacting in s1 can't interact in s2
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_EXIG, console, m_global_comm, m_global_rank, updateInteractions(), CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createExclusion().


| void CLatticeMaster::addMesh2D | ( | const std::string & | , |
| const std::string & | , | ||
| int | |||
| ) |
add a 2D mesh
| name | the name of the mesh |
| filename | the name of the mesh file |
| tag | the tag of the edges that are included into the mesh |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDMESH2D, console, m_global_comm, m_global_rank, readAndDistributeMesh2D(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::readMesh2D().


| void CLatticeMaster::addMesh2DIG | ( | const ETriMeshIP & | prms | ) |
add(non-bonded) interaction group between particles and a 2D mesh
References BroadcastCommand::append(), BroadcastCommand::appendTypeAndName(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), ETriMeshIP::getMeshName(), and ETriMeshIP::k.
Referenced by esys::lsm::LsmMpiPy::createNRotElasticLinMeshInteractGrp(), and esys::lsm::LsmMpiPy::createNRotElasticMesh2DInteractGrp().


| void CLatticeMaster::addPairIG | ( | const CAdhesiveFrictionIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), CAdhesiveFrictionIGP::dt, getGlobalRankAndComm(), CAdhesiveFrictionIGP::k, CAdhesiveFrictionIGP::k_s, CAdhesiveFrictionIGP::mu, and CAdhesiveFrictionIGP::r_cut.

| void CLatticeMaster::addPairIG | ( | const CElasticIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CElasticIGP::m_k, and CElasticIGP::m_scaling.
Referenced by esys::lsm::LsmMpiPy::createFrictionInteractGrp(), esys::lsm::LsmMpiPy::createHertzianElasticIG(), esys::lsm::LsmMpiPy::createHertzianViscoElasticFrictionIG(), esys::lsm::LsmMpiPy::createHertzianViscoElasticIG(), esys::lsm::LsmMpiPy::createHertzMindlinIG(), esys::lsm::LsmMpiPy::createHertzMindlinViscoIG(), esys::lsm::LsmMpiPy::createLinearDashpotIG(), esys::lsm::LsmMpiPy::createNRotElasticInteractGrp(), esys::lsm::LsmMpiPy::createNRotFrictionInteractGrp(), esys::lsm::LsmMpiPy::createRotElasticInteractGrp(), esys::lsm::LsmMpiPy::createRotFrictionInteractGrp(), esys::lsm::LsmMpiPy::createRotThermElasticInteractGrp(), esys::lsm::LsmMpiPy::createRotThermFrictionInteractGrp(), and esys::lsm::LsmMpiPy::createVWFrictionIG().


| void CLatticeMaster::addPairIG | ( | const CFrictionIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), CFrictionIGP::dt, getGlobalRankAndComm(), CFrictionIGP::k, CFrictionIGP::k_s, CFrictionIGP::m_scaling, and CFrictionIGP::mu.

| void CLatticeMaster::addPairIG | ( | const CHertzianElasticIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CHertzianElasticIGP::m_E, and CHertzianElasticIGP::m_nu.

| void CLatticeMaster::addPairIG | ( | const CHertzianViscoElasticFrictionIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzianViscoElasticFrictionIGP::dt, getGlobalRankAndComm(), CHertzianViscoElasticFrictionIGP::k_s, CHertzianViscoElasticFrictionIGP::m_A, CHertzianViscoElasticFrictionIGP::m_E, CHertzianViscoElasticFrictionIGP::m_nu, and CHertzianViscoElasticFrictionIGP::mu.

| void CLatticeMaster::addPairIG | ( | const CHertzianViscoElasticIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CHertzianViscoElasticIGP::m_A, CHertzianViscoElasticIGP::m_E, and CHertzianViscoElasticIGP::m_nu.

| void CLatticeMaster::addPairIG | ( | const CHertzMindlinIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzMindlinIGP::dt, getGlobalRankAndComm(), CHertzMindlinIGP::m_E, CHertzMindlinIGP::m_nu, and CHertzMindlinIGP::mu.

| void CLatticeMaster::addPairIG | ( | const CHertzMindlinViscoIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzMindlinViscoIGP::dt, getGlobalRankAndComm(), CHertzMindlinViscoIGP::m_COR, CHertzMindlinViscoIGP::m_E, CHertzMindlinViscoIGP::m_nu, and CHertzMindlinViscoIGP::mu.

| void CLatticeMaster::addPairIG | ( | const CLinearDashpotIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CLinearDashpotIGP::m_cutoff, and CLinearDashpotIGP::m_damp.

| void CLatticeMaster::addPairIG | ( | const CRotElasticIGP & | prms | ) |
References BroadcastCommand::append(), RotIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CRotElasticIGP::m_kr, and CRotElasticIGP::m_scaling.

| void CLatticeMaster::addPairIG | ( | const CRotFrictionIGP & | prms | ) |
References BroadcastCommand::append(), RotIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CRotFrictionIGP::dt, getGlobalRankAndComm(), CRotFrictionIGP::k, CRotFrictionIGP::k_s, CRotFrictionIGP::meanR_scaling, CRotFrictionIGP::mu_d, CRotFrictionIGP::mu_s, and CRotFrictionIGP::scaling.

| void CLatticeMaster::addPairIG | ( | const CRotThermElasticIGP & | prms | ) |
References BroadcastCommand::append(), RotIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CRotThermElasticIGP::diffusivity, getGlobalRankAndComm(), and CRotThermElasticIGP::m_kr.

| void CLatticeMaster::addPairIG | ( | const CRotThermFrictionIGP & | prms | ) |
References BroadcastCommand::append(), RotIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CRotThermFrictionIGP::diffusivity, CRotThermFrictionIGP::dt, getGlobalRankAndComm(), CRotThermFrictionIGP::k, CRotThermFrictionIGP::k_s, CRotThermFrictionIGP::mu_d, and CRotThermFrictionIGP::mu_s.

| void CLatticeMaster::addPairIG | ( | const FractalFrictionIGP & | prms | ) |
References BroadcastCommand::append(), IGPCommand::appendIGP(), BroadcastCommand::broadcast(), FractalFrictionIGP::dt, FractalFrictionIGP::dx, FractalFrictionIGP::dy, getGlobalRankAndComm(), FractalFrictionIGP::k, FractalFrictionIGP::k_s, FractalFrictionIGP::mu, FractalFrictionIGP::mu_0, FractalFrictionIGP::nx, FractalFrictionIGP::ny, FractalFrictionIGP::x0, and FractalFrictionIGP::y0.

| void CLatticeMaster::addParticles | ( | TmplIterator & | it | ) |
Adds enumeration of particles to the lattice.
| it | Iterator object with next() and hasNext() methods. The TmplIterator::next() method is required to return an object which can accepted as a constructor argument for the CParticle class. |
References CMPILCmdBuffer::broadcast(), CMD_RECEIVEPARTICLES, console, CMPIBarrier::wait(), and Console::XDebug().

| void CLatticeMaster::addPostTimeStepRunnable | ( | esys::lsm::Runnable & | runnable | ) |
Adds reference to an object whose 'run' method is executed at the end of the runOneStep method.
References m_postRunnableVector.
Referenced by esys::lsm::LsmMpiPy::addPostTimeStepRunnable().

| void CLatticeMaster::addPreTimeStepRunnable | ( | esys::lsm::Runnable & | runnable | ) |
Adds reference to an object whose 'run' method is executed at the beginning of the runOneStep method.
References m_preRunnableVector.
Referenced by esys::lsm::LsmMpiPy::addPreTimeStepRunnable().

| void CLatticeMaster::addRotBondedIG | ( | int | , |
| const std::string & | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| double | , | ||
| bool | , | ||
| bool | , | ||
| double | |||
| ) |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDROTBONDEDIG, console, m_global_comm, m_global_rank, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createBrittleBeamInteractGrp(), and esys::lsm::LsmMpiPy::createRotBondInteractGrp().


| void CLatticeMaster::addRotThermBondedIG | ( | const CRotThermBondedIGP & | prms | ) |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDROTTHERMBONDEDIG, console, CRotThermBondedIGP::diffusivity, AIGParam::getName(), CRotThermBondedIGP::kb, CRotThermBondedIGP::kr, CRotThermBondedIGP::ks, CRotThermBondedIGP::kt, m_global_comm, m_global_rank, CRotThermBondedIGP::max_bMoment, CRotThermBondedIGP::max_nForce, CRotThermBondedIGP::max_shForce, CRotThermBondedIGP::max_tMoment, CRotThermBondedIGP::tag, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createRotThermBondInteractGrp().


| void CLatticeMaster::addScalarHistoryInteractionSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
add a scalar interaction field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| igname | the name of the interaction group from which the field is taken |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| checked | choose between normal and checked field (defaults to false) |
References CMPILCmdBuffer::broadcast(), CMD_ADD_HIF, console, Console::Debug(), m_global_comm, m_global_rank, and CMPIBarrier::wait().

| void CLatticeMaster::addScalarInteractionSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| bool | checked = false |
||
| ) |
add a scalar interaction field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| igname | the name of the interaction group from which the field is taken |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| checked | choose between normal and checked field (defaults to false) |
References CMPILCmdBuffer::broadcast(), CMD_ADD_SIF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createCheckedInteractionScalarFieldSaver(), and esys::lsm::LsmMpiPy::createInteractionScalarFieldSaver().


| void CLatticeMaster::addScalarParticleSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
field saving functions
add a scalar particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
References CMPILCmdBuffer::broadcast(), CMD_ADD_SPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createParticleScalarFieldSaver().


| void CLatticeMaster::addScalarTriangleSaveField | ( | const string & | filename, |
| const string & | fieldname, | ||
| const string & | meshname, | ||
| const string & | savetype, | ||
| int | t_0, | ||
| int | t_end, | ||
| int | dt | ||
| ) |
add a scalar field on the triangles of a given trimesh to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| meshname | the name of the mesh from which the field is taken |
| savetype | the format in which the data is to be saved |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
References CMPILCmdBuffer::broadcast(), CMD_ADD_STF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::addScalarTriangleSaveField().


| void CLatticeMaster::addShortBondedIG | ( | int | , |
| const std::string & | , | ||
| double | , | ||
| double | |||
| ) |
Create and add a new short bonded IG
| name | the name of the bonded IG |
| k | spring constant of the created bonds |
| dist | maximum distance between two particles to create bond |
| break_dist | (relative) breaking distance of bonds |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_ADDSHORTBONDEDIG, console, m_global_comm, m_global_rank, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createNRotShortBondInteractGrp().


| void CLatticeMaster::addSingleIG | ( | const esys::lsm::BuoyancyIGP & | buoyancyIGP | ) |
References SIGCommand::appendBuoyancyIGP(), BroadcastCommand::broadcast(), and getGlobalRankAndComm().

| void CLatticeMaster::addSingleIG | ( | const esys::lsm::GravityIGP & | gravityIGP | ) |
References SIGCommand::appendGravityIGP(), BroadcastCommand::broadcast(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::createBuoyancy(), and esys::lsm::LsmMpiPy::createGravity().


| void CLatticeMaster::addSphereBody | ( | const std::string & | , |
| const Vec3 & | , | ||
| const double & | |||
| ) |
add a sphere body to the sublattice
| sname | the name of the sphere |
| ipos | initial position of the sphere |
| radius | radius of the sphere |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_ADDSPHEREBODY, console, Console::Debug(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::createSphereBody().


| void CLatticeMaster::addSphereBodyIG | ( | const CESphereBodyIGP & | param | ) |
add an elastic sphere body interaction to model
| param | the interaction parameters (name of the sphere, name of the interaction, spring constant) |
References BroadcastCommand::broadcast(), CMD_ADDESPHEREBODYIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CESphereBodyIGP::getSphereBodyName(), CElasticIGP::getSpringConst(), and BroadcastCommand::packInto().
Referenced by esys::lsm::LsmMpiPy::createNRotElasticSphereBody().


| void CLatticeMaster::addTaggedPairIG | ( | const CElasticIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CElasticIGP::m_k, and CElasticIGP::m_scaling.

| void CLatticeMaster::addTaggedPairIG | ( | const CFrictionIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CFrictionIGP::dt, getGlobalRankAndComm(), CFrictionIGP::k, CFrictionIGP::k_s, CFrictionIGP::m_scaling, and CFrictionIGP::mu.

| void CLatticeMaster::addTaggedPairIG | ( | const CHertzianElasticIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CHertzianElasticIGP::m_E, and CHertzianElasticIGP::m_nu.

| void CLatticeMaster::addTaggedPairIG | ( | const CHertzianViscoElasticFrictionIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzianViscoElasticFrictionIGP::dt, getGlobalRankAndComm(), CHertzianViscoElasticFrictionIGP::k_s, CHertzianViscoElasticFrictionIGP::m_A, CHertzianViscoElasticFrictionIGP::m_E, CHertzianViscoElasticFrictionIGP::m_nu, and CHertzianViscoElasticFrictionIGP::mu.

| void CLatticeMaster::addTaggedPairIG | ( | const CHertzianViscoElasticIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CHertzianViscoElasticIGP::m_A, CHertzianViscoElasticIGP::m_E, and CHertzianViscoElasticIGP::m_nu.

| void CLatticeMaster::addTaggedPairIG | ( | const CHertzMindlinIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzMindlinIGP::dt, getGlobalRankAndComm(), CHertzMindlinIGP::m_E, CHertzMindlinIGP::m_nu, and CHertzMindlinIGP::mu.

| void CLatticeMaster::addTaggedPairIG | ( | const CHertzMindlinViscoIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CHertzMindlinViscoIGP::dt, getGlobalRankAndComm(), CHertzMindlinViscoIGP::m_COR, CHertzMindlinViscoIGP::m_E, CHertzMindlinViscoIGP::m_nu, and CHertzMindlinViscoIGP::mu.

| void CLatticeMaster::addTaggedPairIG | ( | const CLinearDashpotIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CLinearDashpotIGP::m_cutoff, and CLinearDashpotIGP::m_damp.

| void CLatticeMaster::addTaggedPairIG | ( | const CRotElasticIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), CRotElasticIGP::m_kr, and CRotElasticIGP::m_scaling.

| void CLatticeMaster::addTaggedPairIG | ( | const CRotFrictionIGP & | prms, |
| int | tag1, | ||
| int | mask1, | ||
| int | tag2, | ||
| int | mask2 | ||
| ) |
References BroadcastCommand::append(), TaggedIGPCommand::appendIGP(), BroadcastCommand::broadcast(), CRotFrictionIGP::dt, getGlobalRankAndComm(), CRotFrictionIGP::k, CRotFrictionIGP::k_s, CRotFrictionIGP::meanR_scaling, CRotFrictionIGP::mu_d, CRotFrictionIGP::mu_s, and CRotFrictionIGP::scaling.
Referenced by esys::lsm::LsmMpiPy::createElasticInteractGrpTag(), esys::lsm::LsmMpiPy::createFrictionInteractGrpTag(), esys::lsm::LsmMpiPy::createLinearDashpotInteractGrpTag(), esys::lsm::LsmMpiPy::createNRotFrictionInteractGrpTag(), esys::lsm::LsmMpiPy::createRotElasticInteractGrpTag(), and esys::lsm::LsmMpiPy::createRotFrictionInteractGrpTag().


| void CLatticeMaster::addTaggedScalarInteractionSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| bool | |||
| ) |
add a scalar interaction field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| igname | the name of the interaction group from which the field is taken |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| tag | the particle tag |
| mask | the mask used for tag comparisons |
| checked | choice between "full" and "checked" fields |
References CMPILCmdBuffer::broadcast(), CMD_ADD_SIF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createTaggedInteractionScalarFieldSaver().


| void CLatticeMaster::addTaggedScalarParticleDistributionSaver | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| double | , | ||
| double | , | ||
| int | |||
| ) |
save the distribution/histogram of a scalar field on tagged particles
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format (WINDOW or GLOBAL) |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between adding samples into the distribution |
| t_snap | time between snapshot saves |
| tag | tag of the particles for which the field is saved |
| mask | the mask used in tag comparisons |
| x_0 | minimum data size in distribution |
| x_max | maximum data size in distribution |
| nx | number of bins |
References CMPILCmdBuffer::broadcast(), CMD_ADD_SPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::addTaggedScalarParticleDistributionSaver().


| void CLatticeMaster::addTaggedScalarParticleSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
add a scalar particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| tag | tag of the particles for which the field is saved |
| mask | the mask used in tag comparisons |
References CMPILCmdBuffer::broadcast(), CMD_ADD_SPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createTaggedParticleScalarFieldSaver().


| void CLatticeMaster::addTaggedVectorParticleSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
add a vector particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| tag | tag of the particles for which the field is saved |
| mask | the mask used in tag comparisons |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createTaggedParticleVectorFieldSaver().


| void CLatticeMaster::addTaggedVectorParticleSaveFieldWT | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| const MaxTrigParams & | |||
| ) |
add a vector particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| tag | tag of the particles for which the field is saved |
| mask | the mask used in tag comparisons |
| tprms | trigger parameters |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createTaggedParticleVectorFieldSaverWithTrigger().


| void CLatticeMaster::addTaggedWallIG | ( | const CEWallIGP & | param, |
| int | tag, | ||
| int | mask | ||
| ) |
add a tagged elastic wall interaction to the model
| param | the interaction parameters (name of the wall, name of the interaction, spring constant) |
| tag | the tag of the particles the wall is interacting with |
| mask | the mask determining which bits of the tag are significant |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_ADDTAGGEDEWALLIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CElasticIGP::getSpringConst(), CEWallIGP::getWallName(), and BroadcastCommand::packInto().
Referenced by esys::lsm::LsmMpiPy::createNRotElasticWallTagged().


| void CLatticeMaster::addTriMesh | ( | const std::string & | meshName, |
| const std::string & | fileName | ||
| ) |
add a triangle mesh
| name | the name of the mesh |
| filename | the name of the mesh file |
References console, readAndDistributeTriMesh(), and Console::XDebug().

| void CLatticeMaster::addTriMeshIG | ( | const ETriMeshIP & | prms | ) |
add(non-bonded) trimesh IG
References BroadcastCommand::append(), BroadcastCommand::appendTypeAndName(), BroadcastCommand::broadcast(), getGlobalRankAndComm(), ETriMeshIP::getMeshName(), and ETriMeshIP::k.
Referenced by esys::lsm::LsmMpiPy::createNRotElasticTriMeshInteractGrp().


| void CLatticeMaster::addVectorInteractionSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| bool | checked = false |
||
| ) |
add a vector interaction field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| igname | the name of the interaction group from which the field is taken |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| checked | choose between normal and checked field (defaults to false) |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VIF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createCheckedInteractionVectorFieldSaver(), and esys::lsm::LsmMpiPy::createInteractionVectorFieldSaver().


| void CLatticeMaster::addVectorParticleSaveField | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
add a vector particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createParticleVectorFieldSaver().


| void CLatticeMaster::addVectorParticleSaveFieldWT | ( | const std::string & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| int | , | ||
| int | , | ||
| int | , | ||
| const MaxTrigParams & | |||
| ) |
add a vector particle field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| savetype | output file format |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
| tprms | trigger parameters |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VPF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::createParticleVectorFieldSaverWithTrigger().


| void CLatticeMaster::addVectorTriangleSaveField | ( | const string & | filename, |
| const string & | fieldname, | ||
| const string & | meshname, | ||
| const string & | savetype, | ||
| int | t_0, | ||
| int | t_end, | ||
| int | dt | ||
| ) |
add a vector field on the triangles of a given trimesh to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| meshname | the name of the mesh from which the field is taken |
| savetype | the format in which the data is to be saved |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
References CMPILCmdBuffer::broadcast(), CMD_ADD_VTF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, m_tml_global_comm, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::addVectorTriangleSaveField().


| void CLatticeMaster::addVectorWallField | ( | const string & | filename, |
| const string & | fieldname, | ||
| vector< string > | walls, | ||
| const string & | savetype, | ||
| int | t_0, | ||
| int | t_end, | ||
| int | dt | ||
| ) |
add a vector wall field to the list of fields to be saved
| filename | the name of the file the field is saved into |
| fieldname | the name of the field |
| walls | names of the walls |
| t_0 | first timestep to be saved |
| t_end | last timestep to be saved |
| dt | timesteps between saves |
References TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), CMD_ADD_VWF, console, Console::Debug(), m_global_comm, m_global_rank, m_save_fields, and m_tml_global_comm.
Referenced by esys::lsm::LsmMpiPy::addVectorWallField().


add a wall to the sublattice
| wname | the name of the wall |
| ipos | initial position of the wall |
| inorm | initial normal of the wall |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_ADDWALL, console, Console::Debug(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::createWall().


| void CLatticeMaster::addWallIG | ( | const CBWallIGP & | param | ) |
add a bonded wall interaction to model
| param | the interaction parameters (name of the wall, name of the interaction, spring constant) |
References BroadcastCommand::broadcast(), CMD_ADDBWALLIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CElasticIGP::getSpringConst(), CBWallIGP::getTag(), CEWallIGP::getWallName(), and BroadcastCommand::packInto().

| void CLatticeMaster::addWallIG | ( | const CEWallIGP & | param | ) |
add an elastic wall interaction to model
| param | the interaction parameters (name of the wall, name of the interaction, spring constant) |
References BroadcastCommand::broadcast(), CMD_ADDEWALLIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CElasticIGP::getSpringConst(), CEWallIGP::getWallName(), and BroadcastCommand::packInto().
Referenced by esys::lsm::LsmMpiPy::createNRotBondedWall(), esys::lsm::LsmMpiPy::createNRotElasticWall(), and esys::lsm::LsmMpiPy::createNRotSoftBondedWall().


| void CLatticeMaster::addWallIG | ( | const CSoftBWallIGP & | param | ) |
add a bonded wall interaction with direction-dependent spring constant to model
| param | the interaction parameters (name of the wall, name of the interaction, spring constant) |
References BroadcastCommand::broadcast(), CMD_ADDBBWALLIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CSoftBWallIGP::getNormalK(), CSoftBWallIGP::getScaling(), CSoftBWallIGP::getShearK(), CBWallIGP::getTag(), CEWallIGP::getWallName(), and BroadcastCommand::packInto().

| void CLatticeMaster::addWallIG | ( | const CVWallIGP & | param | ) |
add a viscous wall interaction to model
| param | the interaction parameters (name of the wall, name of the interaction, spring constant) |
References BroadcastCommand::broadcast(), CMD_ADDBWALLIG, console, Console::Debug(), getGlobalRankAndComm(), AIGParam::getName(), CVWallIGP::getNu(), CElasticIGP::getSpringConst(), CVWallIGP::getTag(), CEWallIGP::getWallName(), and BroadcastCommand::packInto().

| void CLatticeMaster::applyForceToSphereBody | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
| void CLatticeMaster::applyForceToWall | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
apply a given force to a wall
| id | the nr of the wall |
| f | the force |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_WFORCE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::applyForceToWall().


| bool CLatticeMaster::checkNeighbors | ( | ) |
Test if neighbor search is necessary.
References CMPILCmdBuffer::broadcast(), CMD_CHECKNEIGHBORS, console, Console::Debug(), CMPISGBufferRoot::gather(), m_global_comm, m_global_rank, m_global_size, CMPISGBufferRoot::pop_int(), and CMPIBarrier::wait().
Referenced by searchNeighbors().


| void CLatticeMaster::createTriMesh | ( | const std::string & | meshName, |
| const MeshNodeDataVector & | node_send_buffer, | ||
| const MeshTriDataVector & | tri_send_buffer | ||
| ) |
create a triangle mesh from a vector of nodes and a vector of triangles
| meshName | the name assigned to the triangle mesh |
| node_send_buffer | the vector of nodes |
| tri_send_buffer | the vector of triangles |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), TML_Comm::broadcast_cont_packed(), CMD_ADDTRIMESH, console, m_global_comm, m_global_rank, m_tml_global_comm, CMPIBarrier::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::createTriMesh(), and readAndDistributeTriMesh().


| void CLatticeMaster::do2dCalculations | ( | bool | do2d | ) |
Enforces particles to be restricted to motion in the x-y plane.
References CVarMPIBuffer::append(), TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_DO2DCALCULATIONS, m_global_comm, m_pCheckPointController, m_pSnapShotController, m_tml_global_comm, and CheckPointController::set_is2d().
Referenced by esys::lsm::LsmMpiPy::force2dComputations().


| int CLatticeMaster::findParticleNearestTo | ( | const Vec3 & | pos | ) |
Returns the id of the particle which is closest to the specified point.
Add a given tag to the particle closest to a given position. Only the bits set in the mask will be influenced, i.e. new_tag=(old_tag & !mask) | (tag & mask).
| tag | the tag |
| mask | the mask |
| pos | the position |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_FINDNEARESTPARTICLE, console, Console::Debug(), TML_Comm::gather(), m_global_comm, m_global_rank, m_tml_global_comm, esys::lsm::StringUtil::toString(), and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::findClosestParticle().


|
inlineprotected |
References m_global_comm, and m_global_rank.
Referenced by addBondedMesh2DIG(), addBondedTriMeshIG(), addDamping(), addMesh2DIG(), addPairIG(), addSingleIG(), addSphereBody(), addSphereBodyIG(), addTaggedPairIG(), addTaggedWallIG(), addTriMeshIG(), addWall(), addWallIG(), getNumParticles(), getSphereBodyForce(), getSphereBodyPosn(), getWallForce(), getWallPosn(), initializeConsole(), removeIG(), setConsoleBuffered(), setConsoleFilename(), setTimeStepSize(), setVerbosity(), and translateMeshBy().

Provides the initial minimum and maximum extents of all the particles read in from a geometry file.
| initMinPt | Minimum extent of particles inside domain. |
| initMaxPt | Maximum extent of particles inside domain. |
References m_init_max_pt, and m_init_min_pt.
Referenced by esys::lsm::LsmMpiPy::getInitMinMaxPt().

|
inline |
| int CLatticeMaster::getNumParticles | ( | ) |
References BroadcastCommand::broadcastCommand(), CMD_GETNUMPARTICLES, TML_Comm::gather(), getGlobalRankAndComm(), m_tml_global_comm, and BroadcastCommand::wait().
Referenced by esys::lsm::LsmMpiPy::getNumParticles().


|
inline |
References m_max_ts.
Referenced by esys::lsm::LsmMpiPy::getNumTimeSteps().

| int CLatticeMaster::getNumWorkerProcesses | ( | ) | const |
References m_global_size.
Referenced by esys::lsm::LsmMpiPy::getNumWorkerProcesses().

|
inline |
Returns the dimensions relevant to calculating the minimum and maximum extents of particles within a domain, taking into account periodic boundaries and the dimensionality of the problem.
References m_particle_dimensions.
| Vec3 CLatticeMaster::getParticlePosn | ( | int | particleId | ) |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_GETPARTICLEPOSN, console, Console::Debug(), TML_Comm::gather(), m_global_comm, m_global_rank, m_tml_global_comm, esys::lsm::StringUtil::toString(), and CMPIBarrier::wait().

|
inline |
References m_particle_type.
Referenced by esys::lsm::LsmMpiPy::getParticleType().

|
inline |
Returns vector of Runnable objects (which are run post-time-step).
References m_postRunnableVector.
|
inline |
Returns vector of Runnable objects (which are run post-time-step).
References m_postRunnableVector.
|
inline |
Returns vector of Runnable objects (which are run pre-time-step).
References m_preRunnableVector.
|
inline |
Returns vector of Runnable objects (which are run pre-time-step).
References m_preRunnableVector.
| const CLatticeParam::ProcessDims & CLatticeMaster::getProcessDims | ( | ) | const |
| void CLatticeMaster::getSlaveSpatialDomains | ( | ) |
Returns whether the setSpacialDomain method has been called with a non-zero volume bounding box. Gathers slave dimensions and coordinates.
References console, TML_Comm::gather(), esys::lsm::bpu::iter(), m_tml_global_comm, and Console::XDebug().
Referenced by setSpatialDomain().


| Vec3 CLatticeMaster::getSphereBodyForce | ( | const std::string & | SphereName | ) |
Get force acting on a sphere body. Returns (0,0,0) for a non-existing sphere body.
| SphereName | the name of the sphere body |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_GETSPHEREBODYFORCE, console, Console::Debug(), TML_Comm::gather(), getGlobalRankAndComm(), esys::lsm::bpu::iter(), and m_tml_global_comm.

| Vec3 CLatticeMaster::getSphereBodyPosn | ( | const std::string & | SphereName | ) |
Get position of a sphere body. Returns (0,0,0) for a non-existing sphere body.
| SphereName | the name of the wall |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_GETSPHEREBODYPOS, console, Console::Debug(), TML_Comm::gather(), getGlobalRankAndComm(), and m_tml_global_comm.

|
inline |
References m_t.
|
inline |
References m_t.
Referenced by esys::lsm::LsmMpiPy::getTimeStep().

|
inline |
References m_dt.
Referenced by esys::lsm::LsmMpiPy::getTimeStepSize().

| const std::string & CLatticeMaster::getTimingFileName | ( | ) | const |
Returns the name of the file to which timing results are written.
References m_timingFileName.
Referenced by saveTimingData().

| Vec3 CLatticeMaster::getWallForce | ( | const std::string & | WallName | ) |
Get force acting on a wall. Returns (0,0,0) for a non-existing wall.
| WallName | the name of the wall |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_GETWALLFORCE, console, Console::Debug(), TML_Comm::gather(), getGlobalRankAndComm(), esys::lsm::bpu::iter(), and m_tml_global_comm.

| Vec3 CLatticeMaster::getWallPosn | ( | const std::string & | WallName | ) |
Get position of a wall. Returns (0,0,0) for a non-existing wall.
| WallName | the name of the wall |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_GETWALLPOS, console, Console::Debug(), TML_Comm::gather(), getGlobalRankAndComm(), and m_tml_global_comm.

| void CLatticeMaster::init | ( | ) |
References console, Console::Debug(), m_global_rank, and m_global_size.

| void CLatticeMaster::initializeConsole | ( | const string & | filename, |
| int | bufflen | ||
| ) |
initialize local console and send command to workers initialize consoles there
| filename | the base name of the output file |
| bufflen | the length of the internal buffer in the console 0-> no buffering |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_INITCONSOLE, console, getGlobalRankAndComm(), Console::Initialize(), and Console::SetBuffered().
Referenced by setupWorkers().


| void CLatticeMaster::initSnapShotController | ( | const std::string & | , |
| int | , | ||
| int | , | ||
| int | |||
| ) |
Initialises parameters for performing model snapshots.
| fileNamePrefix | Path prefix for checkpoint files. Multiple snapshot files may be generated for a single timestep snapshot. |
| beginTime | Time to begin checkpointing. Time of first snapshot. |
| endTime | End time for checkpointing. Time of last snapshot. |
| timeInterval | Time interval between snapshot file generation. |
References console, Console::Debug(), m_bbx_has_been_set, m_geo_info, m_global_comm, m_pSnapShotController, CheckPointController::setCheckPointParams(), CheckPointController::setGeometryInfo(), CheckPointController::setMpiComm(), and Console::Warning().
Referenced by esys::lsm::LsmMpiPy::createSnapShots().


| void CLatticeMaster::loadCheckPointData | ( | const std::string & | checkPointFileName | ) |
Reads particle and interaction configuration from a check-point summary file.
| fileName | Name of file containing summary of check-point data. |
Load data from a save checkpoint in order to restart the simulation. Control flow: CLatticeMaster::loadCheckPointData() (i.e. here) -> CheckPointController::issueCheckPointLoadingCmd() -> [on worker] CheckPointer::loadCheckPoint() -> SubLattice::loadCheckPointData()
| checkPointFileName | the name of the base file (*_0.txt) of the checkpoint |
References esys::lsm::GeometryInfo::getBBoxCorners(), esys::lsm::CheckPointInfo::getGeometryInfo(), esys::lsm::GeometryInfo::getPeriodicDimensions(), esys::lsm::CheckPointInfo::getTimeStep(), esys::lsm::GeometryInfo::hasAnyPeriodicDimensions(), esys::lsm::GeometryInfo::isIdenticalGeometry(), CheckPointController::issueCheckPointLoadingCmd(), m_bbx_has_been_set, m_geo_info, m_pCheckPointController, m_t, esys::lsm::CheckPointInfo::read(), searchNeighbors(), setSpatialDomain(), and updateInteractions().
Referenced by esys::lsm::LsmMpiPy::loadCheckPoint().


| void CLatticeMaster::makeLattice | ( | const char * | ptype, |
| double | nrange, | ||
| double | alpha | ||
| ) |
initialization functions
Make a lattice from particles of the given type. Does not set up neighbor tables.
| ptype | the type of particle |
| nrange | search range |
| alpha | pair search cutoff |
References TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CVarMPIBuffer::clear(), CMD_MAKELATTICE, console, getProcessDims(), m_global_comm, m_global_rank, m_particle_type, m_tml_global_comm, esys::lsm::CLatticeParam::packInto(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::initVerletModel(), and makeLattice().


| void CLatticeMaster::makeLattice | ( | const char * | ptype, |
| double | nrange, | ||
| double | alpha, | ||
| double | dt | ||
| ) |
make lattice and set time step size
| ptype | the type of particle |
| nrange | search range |
| alpha | pair search cutoff |
| dt | time step |
References makeLattice(), and setTimeStepSize().

| void CLatticeMaster::moveParticleTo | ( | int | tag, |
| const Vec3 & | d | ||
| ) |
Move all particles with a given tag to a given displacement relative to their original position.
| id | the tag of the particles to be moved |
| d | the displacement |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PMOVE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveTaggedParticlesTo().


| void CLatticeMaster::moveSingleNodeBy | ( | const std::string & | , |
| int | , | ||
| const Vec3 & | |||
| ) |
Move a node in a TriMeshIG by a given amount.
| tm_name | the name of the TriMeshIG |
| id | the node id |
| d | the displacement |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_MOVENODE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveSingleMeshNodeBy().


| void CLatticeMaster::moveSingleParticleTo | ( | int | particleId, |
| const Vec3 & | posn | ||
| ) |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_IDPARTICLEMOVE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveSingleParticleTo().


| void CLatticeMaster::moveSphereBodyBy | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
move a sphere body by given vector
| name | the name of the sphere body to be moved |
| d | the movement vector |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_SPHEREBODYMOVE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveSphereBodyBy().


| void CLatticeMaster::moveTaggedNodesBy | ( | const std::string & | , |
| int | , | ||
| const Vec3 & | |||
| ) |
Move all nodes with a given tag in a TriMeshIG by a given amount.
| tm_name | the name of the TriMeshIG |
| tag | the tag |
| d | the displacement |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_MOVETAGGEDNODES, m_global_comm, m_global_rank, and CMPIBarrier::wait().

| void CLatticeMaster::moveTaggedParticlesBy | ( | int | tag, |
| const Vec3 & | d | ||
| ) |
Move all particles with a given tag by a given displacement relative to their current position.
| tag | the tag of the particles to be moved |
| d | the displacement |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PMOVETAGGEDBY, m_global_comm, m_global_rank, searchNeighbors(), and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveTaggedParticlesBy().


| void CLatticeMaster::moveWallBy | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
move a wall by given vector
| name | the name of the wall to be moved |
| d | the movement vector |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_WMOVE, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::moveWallBy().


| void CLatticeMaster::oneStep | ( | ) |
perform a single time step
References CMPILCmdBuffer::broadcast(), CMD_CALC, CMD_XCHANGE, console, Console::Debug(), MpiWTimers::getTiming(), Console::Info(), m_global_comm, m_global_rank, m_pTimers, MpiWTimers::start(), MpiWTimers::stop(), and CMPIBarrier::wait().
Referenced by runOneStep().


|
protected |
Updates the minimum and maximum extents of the particles as each is read in.
| particle | Information (e.g., position, radius) for a particle. |
| void CLatticeMaster::performCheckPoints | ( | const std::string & | fileNamePrefix, |
| int | beginTime, | ||
| int | endTime, | ||
| int | timeInterval, | ||
| int | precision | ||
| ) |
Initialises parameters for performing model checkpointing.
| fileNamePrefix | Path prefix for checkpoint files. Multiple checkpoint files may be generated for a single timestep snapshot. |
| beginTime | Time to begin checkpointing. Time of first checkpoint. |
| endTime | End time for checkpointing. Time of last checkpoint. |
| timeInterval | Time interval between checkpoint file generation. |
| precision | the output precision (digits) |
Setup parameters for restart checkpoints
| fileNamePrefix | Path prefix for checkpoint files. Multiple snapshot files may be generated for a single timestep snapshot. |
| beginTime | Time to begin checkpointing. Time of first snapshot. |
| endTime | End time for checkpointing. Time of last snapshot. |
| timeInterval | Time interval between snapshot file generation. |
| saveBinary | Saves the data in binary format if true, ascii if false |
References m_geo_info, m_global_comm, m_pCheckPointController, CheckPointController::setCheckPointParams(), CheckPointController::setGeometryInfo(), and CheckPointController::setMpiComm().
Referenced by esys::lsm::LsmMpiPy::createCheckPointer().


| void CLatticeMaster::performCheckPointsThroughMaster | ( | const std::string & | fileNamePrefix, |
| int | beginTime, | ||
| int | endTime, | ||
| int | timeInterval, | ||
| int | precision | ||
| ) |
Initialises parameters for performing model checkpointing with writing done through master process.
| fileNamePrefix | Path prefix for checkpoint files. Multiple checkpoint files may be generated for a single timestep snapshot. |
| beginTime | Time to begin checkpointing. Time of first checkpoint. |
| endTime | End time for checkpointing. Time of last checkpoint. |
| precision | the output precision (digits) |
| timeInterval | Time interval between checkpoint file generation. |
Setup parameters for restart checkpoints written though the master process
| fileNamePrefix | Path prefix for checkpoint files. Multiple snapshot files may be generated for a single timestep snapshot. |
| beginTime | Time to begin checkpointing. Time of first snapshot. |
| endTime | End time for checkpointing. Time of last snapshot. |
| timeInterval | Time interval between snapshot file generation. |
| saveBinary | Saves the data in binary format if true, ascii if false |
References console, m_bbx_has_been_set, m_geo_info, m_global_comm, m_pCheckPointController, m_pSnapShotController, CheckPointController::setCheckPointParams(), CheckPointController::setGeometryInfo(), CheckPointController::setMpiComm(), and Console::Warning().
Referenced by esys::lsm::LsmMpiPy::createCheckPointerThroughMaster().


|
protected |
read a 2D mesh from a file and distribute the data to the workers
| meshfilename | the filename |
| tag | the tag of the edges that are included into the mesh |
References TML_Comm::broadcast_cont_packed(), console, esys::lsm::Mesh2DReader::getEdgeIterator(), esys::lsm::Mesh2DReader::getNodeIterator(), esys::lsm::IStreamIterator< TmplData >::hasNext(), m_global_comm, m_tml_global_comm, esys::lsm::IStreamIterator< TmplData >::next(), MeshEdgeData2D::tag, CMPIBarrier::wait(), and Console::XDebug().
Referenced by addMesh2D().


| void CLatticeMaster::readAndDistributeTriMesh | ( | const std::string & | meshName, |
| const std::string & | meshFileName | ||
| ) |
Read a triangle mesh from a file and distribute the data to the workers. The tags on the mesh data are ignored, i.e. the whole file is read as a single mesh.
| meshName | the name of the mesh |
| meshFileName | the filename |
References createTriMesh(), and readTriMesh().

| void CLatticeMaster::readAndDistributeTriMesh | ( | const std::string & | meshName, |
| const std::string & | meshFileName, | ||
| int | tag | ||
| ) |
Read a triangle mesh from a file and distribute the data to the workers.
| meshName | the name of the mesh |
| meshFileName | the filename |
| tag | the tag in the mesh data determining if a triangle belongs to this mesh or not |
References createTriMesh(), and readTriMesh().
Referenced by addTriMesh(), esys::lsm::LsmMpiPy::readMesh(), and esys::lsm::LsmMpiPy::readMeshWithTag().


| void CLatticeMaster::readGeometry | ( | const std::string & | fileName | ) |
Template method for reading geometry from a specified file. The template parameter is the type of particles created from the particle data contained in the geometry file.
| fileName | the name of the file containing geometry info. |
read model geometry from file
| fileName | the name of the input file |
References console, Console::Debug(), esys::lsm::GeometryReader::getConnectionIterator(), esys::lsm::GeometryReader::getGeometryInfo(), esys::lsm::GeometryInfo::getLsmGeoVersion(), esys::lsm::IStreamIterator< TmplData >::getNumRemaining(), esys::lsm::GeometryReader::getParticleIterator(), esys::lsm::GeometryReader::getParticleType(), esys::lsm::GeometryInfo::setLsmGeoVersion(), and Console::XDebug().

| void CLatticeMaster::readGeometryFile | ( | const std::string & | fileName | ) |
Reads an initial particle configuration from a geometry file.
| fileName | Name of file containing geometry information. |
read geometry file calls appropriate reader function depending on particle type
| fileName | the name of the geometry file |
References console, Console::Debug(), and m_particle_type.
Referenced by esys::lsm::LsmMpiPy::readGeometry().


|
protected |
Read triangle mesh data from file and return data as <vector of nodes,vector of triangles> pair. Tags are ignored, i.e. the whole file is read as a single mesh.
| meshfilename | the filename |
References console, esys::lsm::MeshReader::getNodeIterator(), esys::lsm::MeshReader::getTriIterator(), esys::lsm::IStreamIterator< TmplData >::hasNext(), esys::lsm::IStreamIterator< TmplData >::next(), and Console::XDebug().

|
protected |
read a triangle mesh from a file and distribute the data to the workers
| meshfilename | the filename |
| tag | the tag in the mesh data determining if a triangle belongs to this mesh or not |
References console, esys::lsm::MeshReader::getNodeIterator(), esys::lsm::MeshReader::getTriIterator(), esys::lsm::IStreamIterator< TmplData >::hasNext(), esys::lsm::IStreamIterator< TmplData >::next(), MeshTriData::tag, and Console::XDebug().
Referenced by readAndDistributeTriMesh().


| void CLatticeMaster::removeIG | ( | const std::string & | name | ) |
Remove interaction group. Send name of the interactiongroup to workers
| name | the name of the interaction group which is to be removed |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_REMOVEIG, and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::removeInteractionGrp().


| void CLatticeMaster::run | ( | ) |
run the simulation
References m_max_ts, m_t, runEnd(), and runOneStep().
Referenced by esys::lsm::LsmMpiPy::run().


| void CLatticeMaster::runEnd | ( | ) |
Finalize after running the simulation
References CMPILCmdBuffer::broadcast(), CMD_FINISH, console, Console::Debug(), MpiWTimers::getTiming(), m_global_comm, m_global_rank, m_max_ts, m_pTimers, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::exit(), and run().


| void CLatticeMaster::runInit | ( | ) |
Initialisation to run the simulation
References MpiWTimers::clear(), console, Console::Debug(), m_isInitialized, m_pTimers, and MpiWTimers::start().
Referenced by runOneStep().


| void CLatticeMaster::runOneStep | ( | ) |
Perform a single time step of the simulation.
References CMPILCmdBuffer::broadcast(), CMD_SEND_FIELDS, console, MpiWTimers::getTiming(), Console::Info(), CheckPointController::isCheckPoint(), esys::lsm::bpu::iter(), m_first_time, m_global_comm, m_global_rank, m_pCheckPointController, m_pSnapShotController, m_pTimers, m_save_fields, m_t, oneStep(), MpiWTimers::pause(), CheckPointController::performCheckPoint(), CheckPointController::performSnapShot(), MpiWTimers::resume(), runInit(), runPostRunnables(), runPreRunnables(), saveTimingData(), searchNeighbors(), MpiWTimers::start(), MpiWTimers::stop(), updateInteractions(), and CMPIBarrier::wait().
Referenced by run(), and esys::lsm::LsmMpiPy::runTimeStep().


|
protected |
References m_postRunnableVector, and runRunnables().
Referenced by runOneStep().


|
protected |
References m_preRunnableVector, and runRunnables().
Referenced by runOneStep().


|
protected |
Referenced by runPostRunnables(), and runPreRunnables().

|
protected |
References MpiWTimers::appendData(), CMPILCmdBuffer::broadcast(), CMD_SAVETIMINGDATA, getTimingFileName(), m_global_comm, m_global_rank, m_pTimers, MpiWTimers::start(), MpiWTimers::stop(), and CMPIBarrier::wait().
Referenced by runOneStep().


| void CLatticeMaster::saveTimingDataToFile | ( | const std::string & | fileNamePrefix | ) |
References CVarMPIBuffer::append(), TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CVarMPIBuffer::clear(), CMD_PERFORMTIMING, m_global_comm, m_global_rank, m_tml_global_comm, and setTimingFileName().
Referenced by esys::lsm::LsmMpiPy::setSlaveTimingFileName().


| void CLatticeMaster::searchNeighbors | ( | bool | force | ) |
neighbor search. A check if the search is necessary is performed first
| force | if true, force neighborsearch even if displacement is below threshold |
References CMPILCmdBuffer::broadcast(), checkNeighbors(), CMD_NSEARCH, console, Console::Debug(), m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by loadCheckPointData(), moveTaggedParticlesBy(), and runOneStep().


| void CLatticeMaster::setConsoleBuffered | ( | unsigned int | bsize | ) |
Set local console buffer size & buffering mode and send command to workers to set console parameters there
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_SETCONSOLEBUFF, console, getGlobalRankAndComm(), and Console::SetBuffered().
Referenced by esys::lsm::LsmMpiPy::SetConsoleBufferedPy().


| void CLatticeMaster::setConsoleFilename | ( | const string & | fname | ) |
Set local console filename and send command to workers to set console parameters there
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_SETCONSOLEFNAME, console, getGlobalRankAndComm(), and Console::SetFilename().
Referenced by esys::lsm::LsmMpiPy::SetConsoleFilenamePy().


| void CLatticeMaster::setNumSteps | ( | int | s | ) |
References m_max_ts, m_pCheckPointController, m_pSnapShotController, and CheckPointController::setNumTimeSteps().
Referenced by esys::lsm::LsmMpiPy::setNumTimeSteps().


| void CLatticeMaster::setParticleAngVel | ( | int | id, |
| const Vec3 & | A | ||
| ) |
Call the SubLattice function to set the angular velocity of a particle. If the SubLattice is not a RotSubLattice the called function is a NOP.
| id | the id of the particle |
| A | the angular velocity |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PANGVEL, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleAngVel().


| void CLatticeMaster::setParticleDensity | ( | int | tag, |
| int | mask, | ||
| double | rho | ||
| ) |
set the density (i.e. adjust mass) of all particles with a given tag
| tag | the tag |
| mask | the tag mask |
| rho | the density |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PDENS, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleDensity().


| void CLatticeMaster::setParticleNonDynamic | ( | int | tag | ) |
Set all particles with a given tag to be non-dynamic, i.e. to have infinite mass
| tag | the tag |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PSETND, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleNonDynamic().


| void CLatticeMaster::setParticleNonRot | ( | int | tag | ) |
Set all particles with a given tag to be non-rotational, i.e. to have infinite rotational inertia
| tag | the tag |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PSETNR, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleNonRot().


| void CLatticeMaster::setParticleNonTrans | ( | int | tag | ) |
Set all particles with a given tag to be linear non-dynamic, i.e. switch off velocity updates
| tag | the tag |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PSETNT, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleNonTrans().


| void CLatticeMaster::setParticleVel | ( | int | id, |
| const Vec3 & | V | ||
| ) |
set the velocity of a particle
| id | the id of the particle to be moved |
| V | the velocity |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PVEL, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setParticleVel().


| void CLatticeMaster::setProcessDims | ( | const esys::lsm::CLatticeParam::ProcessDims & | dims | ) |
Sets explicit process partitioning info for MPI_Dims_create.
| dims | Dimension process partition vector. dims[0] x-partitioning, dims[1] y-partitioning and dims[2] z-partitioning. A zero value for a dimension is converted to a non-zero value using MPI_Dims_create |
References m_processDims.
Referenced by esys::lsm::LsmMpiPy::LsmMpiPy().

Defines the bounding box in which particles may roam.
Define model bounding box and setup neighbor tables in Workers. Non-circular version.
| minBBoxPt | minimum point of the bounding box |
| maxBBoxPt | maximum point of the bounding box |
References TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), TML_Comm::broadcast_cont_packed(), CMD_INITLATTICE, console, Console::Debug(), getSlaveSpatialDomains(), m_bbx_has_been_set, m_geo_info, m_geometry_is_initialized, m_global_comm, m_global_rank, m_tml_global_comm, esys::lsm::GeometryInfo::setBBox(), esys::lsm::StringUtil::toString(), and Console::Warning().
Referenced by loadCheckPointData(), esys::lsm::LsmMpiPy::setBBoxSpatialDomain(), esys::lsm::LsmMpiPy::setBBoxSpatialDomainWithCirc(), setSpatialDomain(), and esys::lsm::LsmMpiPy::setSpatialDomain().


| void CLatticeMaster::setSpatialDomain | ( | const Vec3 & | minBBoxPt, |
| const Vec3 & | maxBBoxPt, | ||
| const esys::lsm::IntVector & | circDimVector | ||
| ) |
Defines the bounding box in which particles may roam.
Define model bounding box and setup neighbor tables in Workers. Circular boundary version.
| minBBoxPt | minimum point of the bounding box |
| maxBBoxPt | maximum point of the bounding box |
| circDimVector | a vector of ints containing the circular boundary condition flags for all dimensions |
References TML_Comm::barrier(), CMPILCmdBuffer::broadcast(), TML_Comm::broadcast_cont(), TML_Comm::broadcast_cont_packed(), CMD_INITLATTICECIRC, console, Console::Debug(), getSlaveSpatialDomains(), m_bbx_has_been_set, m_geo_info, m_geometry_is_initialized, m_global_comm, m_global_rank, m_tml_global_comm, esys::lsm::GeometryInfo::setBBox(), esys::lsm::GeometryInfo::setPeriodicDimensions(), setSpatialDomain(), Console::Warning(), and Console::XDebug().

| void CLatticeMaster::setTaggedParticleVel | ( | int | tag, |
| const Vec3 & | V | ||
| ) |
set the velocity of all particles with a given tag
| tag | the tag |
| V | the velocity |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PTVEL, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setTaggedParticleVel().


| void CLatticeMaster::setTimeStepSize | ( | double | dt | ) |
set the time step size
| dt | time step |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_SETTIMESTEPSIZE, getGlobalRankAndComm(), m_dt, m_pCheckPointController, m_pSnapShotController, and CheckPointController::setTimeStepSize().
Referenced by makeLattice(), and esys::lsm::LsmMpiPy::setTimeStepSize().


| void CLatticeMaster::setTimingFileName | ( | const std::string & | fileName | ) |
Specifies a file in which timing results are written.
| fileName | Name of file, overwritten if it exists. |
References m_timingFileName.
Referenced by saveTimingDataToFile(), and esys::lsm::LsmMpiPy::setTimingFileName().

| void CLatticeMaster::setupWorkers | ( | int | numWorkers | ) |
References TML_Comm::barrier(), initializeConsole(), m_global_comm, m_global_size, m_local_comm, m_mpi_local_group, m_tml_global_comm, and TML_Comm::setComm().
Referenced by esys::lsm::LsmMpiPy::LsmMpiPy().


| void CLatticeMaster::setVelocityOfWall | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
set velocity of a wall. Only affects ViscWall, i.e. wall position doesn't get updatet !!
| id | the nr of the wall |
| v | the velocity |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_WVEL, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setVelocityOfWall().


| void CLatticeMaster::setVerbosity | ( | int | verbose | ) |
Set local console verbosity and send command to workers to set console verbosity there
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_SETVERBOSITY, console, getGlobalRankAndComm(), and Console::SetVerbose().
Referenced by esys::lsm::LsmMpiPy::SetVerbosityLevelPy(), and esys::lsm::LsmMpiPy::SetVerbosityPy().


| void CLatticeMaster::setWallNormal | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
set a wall Normal by given vector
| id | the nr of the wall normal to change |
| d | the normal |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_WNORM, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::setWallNormal().


| void CLatticeMaster::tagParticleNearestTo | ( | int | tag, |
| int | mask, | ||
| const Vec3 & | pos | ||
| ) |
Add a given tag to the particle closest to a given position. Only the bits set in the mask will be influenced, i.e. new_tag=(old_tag & !mask) | (tag & mask).
| tag | the tag |
| mask | the mask |
| pos | the position |
References CVarMPIBuffer::append(), CMPILCmdBuffer::broadcast(), CVarMPIBuffer::broadcast(), CMD_PTAG, m_global_comm, m_global_rank, and CMPIBarrier::wait().
Referenced by esys::lsm::LsmMpiPy::tagParticleNearestTo().


| void CLatticeMaster::translateMeshBy | ( | const std::string & | , |
| const Vec3 & | |||
| ) |
Move a whole mesh by a given amount.
| meshName | the name of the mesh to be moved |
| translation | the vector by which the mesh is translated |
References BroadcastCommand::append(), BroadcastCommand::broadcast(), CMD_TRANSLATEMESHBY, console, Console::Debug(), and getGlobalRankAndComm().
Referenced by esys::lsm::LsmMpiPy::translateMesh().


| void CLatticeMaster::updateInteractions | ( | ) |
References CMPILCmdBuffer::broadcast(), CMD_UPDATE, console, m_global_comm, m_global_rank, CMPIBarrier::wait(), and Console::XDebug().
Referenced by addExIG(), loadCheckPointData(), and runOneStep().


| void CLatticeMaster::visitMesh2dEdgeStress | ( | const string & | meshName, |
| TmplVisitor & | visitor | ||
| ) |
References BroadcastCommand::append(), BroadcastCommand::broadcastBuffer(), BroadcastCommand::broadcastCommand(), CMD_GETMESH2DSTRESS, console, esys::lsm::bpu::iter(), BroadcastCommand::wait(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::visitRefStressPairs2d().


| void CLatticeMaster::visitMesh2dNodeReferences | ( | const string & | meshName, |
| TmplVisitor & | visitor | ||
| ) |
References BroadcastCommand::broadcast(), console, esys::lsm::bpu::iter(), and Console::XDebug().
Referenced by esys::lsm::LsmMpiPy::visitNodeRefs2d().


| void CLatticeMaster::visitMeshFaceReferences | ( | const string & | meshName | ) |
| void CLatticeMaster::visitParticles | ( | const IdVector & | particleIdVector, |
| TmplVisitor & | visitor | ||
| ) |
References console, and Console::Debug().
Referenced by esys::lsm::LsmMpiPy::getCurMinMaxPt(), esys::lsm::LsmMpiPy::getParticleList(), esys::lsm::LsmMpiPy::getParticleWithIdList(), esys::lsm::LsmMpiPy::visitParticlesWithId(), esys::lsm::WavePropagationPy::writeParticleDataToFile(), and esys::lsm::WavePropagationPy::writeParticleDataToFilePyIdList().


| void CLatticeMaster::visitParticlesOfType | ( | const IdVector & | particleIdVector, |
| TmplVisitor & | visitor | ||
| ) |
References BroadcastCommand::broadcastCommand(), CMD_GETIDPARTICLEDATA, console, Console::Debug(), esys::lsm::bpu::iter(), and BroadcastCommand::wait().

| void CLatticeMaster::visitTriMeshFaceForce | ( | const string & | meshName, |
| TmplVisitor & | visitor | ||
| ) |
References BroadcastCommand::append(), BroadcastCommand::broadcastBuffer(), BroadcastCommand::broadcastCommand(), CMD_GETTRIMESHFORCE, console, esys::lsm::bpu::iter(), BroadcastCommand::wait(), and Console::XDebug().

|
protected |
Referenced by initSnapShotController(), loadCheckPointData(), performCheckPointsThroughMaster(), and setSpatialDomain().
|
protected |
|
protected |
|
protected |
Referenced by getTimeStepSize(), and setTimeStepSize().
|
protected |
Referenced by CLatticeMaster(), and runOneStep().
|
protected |
|
protected |
Referenced by setSpatialDomain().
|
protected |
Referenced by addBondedIG(), addCappedBondedIG(), addExIG(), addMesh2D(), addRotBondedIG(), addRotThermBondedIG(), addScalarHistoryInteractionSaveField(), addScalarInteractionSaveField(), addScalarParticleSaveField(), addScalarTriangleSaveField(), addShortBondedIG(), addTaggedScalarInteractionSaveField(), addTaggedScalarParticleDistributionSaver(), addTaggedScalarParticleSaveField(), addTaggedVectorParticleSaveField(), addTaggedVectorParticleSaveFieldWT(), addVectorInteractionSaveField(), addVectorParticleSaveField(), addVectorParticleSaveFieldWT(), addVectorTriangleSaveField(), addVectorWallField(), applyForceToWall(), checkNeighbors(), createTriMesh(), do2dCalculations(), findParticleNearestTo(), getGlobalRankAndComm(), getParticlePosn(), initSnapShotController(), makeLattice(), moveParticleTo(), moveSingleNodeBy(), moveSingleParticleTo(), moveSphereBodyBy(), moveTaggedNodesBy(), moveTaggedParticlesBy(), moveWallBy(), oneStep(), performCheckPoints(), performCheckPointsThroughMaster(), readAndDistributeMesh2D(), runEnd(), runOneStep(), saveTimingData(), saveTimingDataToFile(), searchNeighbors(), setParticleAngVel(), setParticleDensity(), setParticleNonDynamic(), setParticleNonRot(), setParticleNonTrans(), setParticleVel(), setSpatialDomain(), setTaggedParticleVel(), setupWorkers(), setVelocityOfWall(), setWallNormal(), tagParticleNearestTo(), and updateInteractions().
|
protected |
Referenced by addBondedIG(), addCappedBondedIG(), addExIG(), addMesh2D(), addRotBondedIG(), addRotThermBondedIG(), addScalarHistoryInteractionSaveField(), addScalarInteractionSaveField(), addScalarParticleSaveField(), addScalarTriangleSaveField(), addShortBondedIG(), addTaggedScalarInteractionSaveField(), addTaggedScalarParticleDistributionSaver(), addTaggedScalarParticleSaveField(), addTaggedVectorParticleSaveField(), addTaggedVectorParticleSaveFieldWT(), addVectorInteractionSaveField(), addVectorParticleSaveField(), addVectorParticleSaveFieldWT(), addVectorTriangleSaveField(), addVectorWallField(), applyForceToWall(), checkNeighbors(), createTriMesh(), findParticleNearestTo(), getGlobalRankAndComm(), getParticlePosn(), init(), makeLattice(), moveParticleTo(), moveSingleNodeBy(), moveSingleParticleTo(), moveSphereBodyBy(), moveTaggedNodesBy(), moveTaggedParticlesBy(), moveWallBy(), oneStep(), runEnd(), runOneStep(), saveTimingData(), saveTimingDataToFile(), searchNeighbors(), setParticleAngVel(), setParticleDensity(), setParticleNonDynamic(), setParticleNonRot(), setParticleNonTrans(), setParticleVel(), setSpatialDomain(), setTaggedParticleVel(), setVelocityOfWall(), setWallNormal(), tagParticleNearestTo(), and updateInteractions().
|
protected |
Referenced by checkNeighbors(), getNumWorkerProcesses(), init(), and setupWorkers().
|
protected |
Referenced by getInitMinMaxPt().
|
protected |
Referenced by getInitMinMaxPt().
|
protected |
Referenced by runInit().
|
protected |
Referenced by setupWorkers().
|
protected |
Referenced by getNumSteps(), run(), runEnd(), and setNumSteps().
|
protected |
Referenced by setupWorkers(), and ~CLatticeMaster().
|
protected |
Referenced by getParticleDimensions().
|
protected |
Referenced by getParticleType(), makeLattice(), and readGeometryFile().
|
private |
|
protected |
Referenced by addPostTimeStepRunnable(), getPostTimeStepRunnableVector(), and runPostRunnables().
|
protected |
Referenced by addPreTimeStepRunnable(), getPreTimeStepRunnableVector(), and runPreRunnables().
|
private |
Referenced by getProcessDims(), and setProcessDims().
|
private |
|
private |
Referenced by oneStep(), runEnd(), runInit(), runOneStep(), saveTimingData(), and ~CLatticeMaster().
|
protected |
Referenced by addScalarInteractionSaveField(), addScalarParticleSaveField(), addScalarTriangleSaveField(), addTaggedScalarInteractionSaveField(), addTaggedScalarParticleDistributionSaver(), addTaggedScalarParticleSaveField(), addTaggedVectorParticleSaveField(), addTaggedVectorParticleSaveFieldWT(), addVectorInteractionSaveField(), addVectorParticleSaveField(), addVectorParticleSaveFieldWT(), addVectorTriangleSaveField(), addVectorWallField(), runOneStep(), and ~CLatticeMaster().
|
protected |
Referenced by getSteps(), getTimeStep(), loadCheckPointData(), run(), and runOneStep().
|
protected |
|
private |
Referenced by getTimingFileName(), and setTimingFileName().
|
protected |
Referenced by addScalarInteractionSaveField(), addScalarParticleSaveField(), addScalarTriangleSaveField(), addTaggedScalarInteractionSaveField(), addTaggedScalarParticleDistributionSaver(), addTaggedScalarParticleSaveField(), addTaggedVectorParticleSaveField(), addTaggedVectorParticleSaveFieldWT(), addVectorInteractionSaveField(), addVectorParticleSaveField(), addVectorParticleSaveFieldWT(), addVectorTriangleSaveField(), addVectorWallField(), createTriMesh(), do2dCalculations(), findParticleNearestTo(), getNumParticles(), getParticlePosn(), getSlaveSpatialDomains(), getSphereBodyForce(), getSphereBodyPosn(), getWallForce(), getWallPosn(), makeLattice(), readAndDistributeMesh2D(), saveTimingDataToFile(), setSpatialDomain(), and setupWorkers().
|
protected |