ESyS-Particle  2.3
esys::lsm::LsmMpiPy Class Reference

Wrapper to make LatticeMaster methods available in Python. More...

#include <LsmMpiPy.h>

Inheritance diagram for esys::lsm::LsmMpiPy:

Classes

class  Impl
 

Public Types

typedef
CLatticeMaster::ParticleIdPair 
ParticleIdPair
 
typedef
CLatticeMaster::ParticleIdPairVector 
ParticleIdPairVector
 
typedef
CLatticeMaster::MeshNodeDataVector 
MeshNodeDataVector
 
typedef
CLatticeMaster::MeshTriDataVector 
MeshTriDataVector
 
typedef
CLatticeMaster::TriMeshDataPair 
TriMeshDataPair
 

Public Member Functions

 LsmMpiPy (int numWorkerProcesses, const boost::python::list &mpiDimList)
 
virtual ~LsmMpiPy ()
 
int getNumWorkerProcesses () const
 
void initVerletModel (const std::string &particleType, double gridSpacing, double verletDist)
 
double getTimeStepSize () const
 
void setTimeStepSize (double dt)
 
void setTimingFileName (const std::string &fileNamePrefix)
 
void setSlaveTimingFileName (const std::string &fileNamePrefix)
 
std::string getParticleType () const
 
std::string getLsmVersion () const
 
void readGeometry (const std::string &fileName)
 
int getNumParticles ()
 
int getTimeStep () const
 
void createParticles (boost::python::object &iterable)
 
void createParticle (boost::python::object &particle)
 
void createConnections (boost::python::object &iterable)
 
void createNRotElasticInteractGrp (const NRotElasticPrmsPy &prms)
 
void createNRotBondInteractGrp (const NRotBondPrmsPy &bondPrms)
 
void createCappedNRotBondInteractGrp (const CappedNRotBondPrmsPy &bondPrms)
 
void createNRotShortBondInteractGrp (const NRotShortBondPrmsPy &bondPrms)
 
void createNRotFrictionInteractGrp (const NRotFrictionPrmsPy &prms)
 
void createRotBondInteractGrp (const RotBondPrmsPy &bondPrms)
 
BondInteractionGroupPy createRotThermBondInteractGrp (const RotThermBondPrmsPy &bondPrms)
 
void createBrittleBeamInteractGrp (const BrittleBeamPrmsPy &bondPrms)
 
void createFrictionInteractGrp (const FrictionPrmsPy &prms)
 
void createRotFrictionInteractGrp (const RotFrictionPrmsPy &prms)
 
void createRotThermFrictionInteractGrp (const RotThermFrictionPrmsPy &prms)
 
void createRotElasticInteractGrp (const RotElasticPrmsPy &prms)
 
void createRotThermElasticInteractGrp (const RotThermElasticPrmsPy &prms)
 
void createDamping (const DampingPrmsPy &prms)
 
void createLocalDamping (const LocalDampingPrmsPy &prms)
 
void createRotLocalDamping (const RotLocalDampingPrmsPy &prms)
 
void createABCDamping (const ABCDampingPrmsPy &prms)
 
void createGravity (const GravityPrmsPy &)
 
void createBuoyancy (const BuoyancyPrmsPy &)
 
void createVWFrictionIG (const VWFrictionPrmsPy &)
 
void createHertzianElasticIG (const HertzianElasticPrmsPy &prms)
 
void createHertzianViscoElasticFrictionIG (const HertzianViscoElasticFrictionPrmsPy &prms)
 
void createHertzianViscoElasticIG (const HertzianViscoElasticPrmsPy &prms)
 
void createLinearDashpotIG (const LinearDashpotPrmsPy &prms)
 
void removeInteractionGrp (const std::string &)
 
void createRotFrictionInteractGrpTag (const RotFrictionPrmsPy &prms, int, int, int, int)
 
void createNRotFrictionInteractGrpTag (const NRotFrictionPrmsPy &prms, int, int, int, int)
 
void createLinearDashpotInteractGrpTag (const LinearDashpotPrmsPy &prms, int, int, int, int)
 
void createRotElasticInteractGrpTag (const RotElasticPrmsPy &prms, int, int, int, int)
 
void createElasticInteractGrpTag (const NRotElasticPrmsPy &prms, int, int, int, int)
 
void createExclusion (const std::string &interactionName1, const std::string &interactionName2)
 
void setParticleVel (int, const Vec3Py &)
 
void setParticleAngVel (int, const Vec3Py &)
 
void setParticleDensity (int, int, double)
 
void setTaggedParticleVel (int, const Vec3Py &)
 
void setVelocityOfWall (const std::string &, const Vec3Py &)
 
void tagParticleNearestTo (int, int, const Vec3Py &)
 
void setParticleNonDynamic (int)
 
void setParticleNonRot (int)
 
void setParticleNonTrans (int)
 
void createCheckPointer (const RestartCheckPointPrmsPy &prms)
 
void createCheckPointerThroughMaster (const RestartCheckPointPrmsPy &prms)
 
void createSnapShots (const CheckPointPrmsPy &prms)
 
void loadCheckPoint (const std::string &)
 
int getNumTimeSteps () const
 
void setNumTimeSteps (int numTimeSteps)
 
void readMeshWithTag (const std::string &fileName, const std::string &meshName, int tag)
 
void readMesh (const std::string &fileName, const std::string &meshName)
 
void createTriMesh (const std::string &meshName, const boost::python::object &nodeSequence, const boost::python::object &triSequence)
 
void translateMesh (const std::string &, const Vec3Py &)
 
void readMesh2D (const std::string &fileName, const std::string &meshName, int tag)
 
void createNRotElasticTriMeshInteractGrp (const NRotElasticTriMeshPrmsPy &prms)
 
void createNRotBondedTriMeshInteractGrp (const NRotBondedTriMeshPrmsPy &prms)
 
void createNRotElasticMesh2DInteractGrp (const NRotElasticMesh2DPrmsPy &prms)
 
void createNRotElasticLinMeshInteractGrp (const NRotElasticLinMeshPrmsPy &prms)
 
void createNRotBondedLinMeshInteractGrp (const NRotBondedLinMeshPrmsPy &prms)
 
void moveSingleMeshNodeBy (const std::string &meshname, int id, const Vec3Py &d)
 
void addPreTimeStepRunnable (RunnablePy &runnable)
 
void addPostTimeStepRunnable (RunnablePy &runnable)
 
void force2dComputations (bool do2d)
 
void setBBoxSpatialDomain (const BoundingBoxPy &domain)
 
void setBBoxSpatialDomainWithCirc (const BoundingBoxPy &domain, const boost::python::list &circDimList)
 
void setSpatialDomain (const Vec3Py &minPt, const Vec3Py &maxPt)
 
void getInitMinMaxPt (Vec3Py &initMinPt, Vec3Py &initMaxPt)
 
void getCurMinMaxPt (Vec3Py &curMinPt, Vec3Py &curMaxPt)
 
int findClosestParticle (const Vec3Py &pt)
 
Vec3Py getParticlePosn (int particleId)
 
void moveTaggedParticlesTo (int tag, const Vec3Py &pt)
 
void moveTaggedParticlesBy (int tag, const Vec3Py &displacement)
 
void moveSingleParticleTo (int particleId, const Vec3Py &pt)
 
void createWall (const string &name, const Vec3Py &posn, const Vec3Py &normal)
 
void createNRotBondedWall (const NRotBondedWallPrmsPy &prms)
 
void createNRotElasticWall (const NRotElasticWallPrmsPy &prms)
 
void createNRotSoftBondedWall (const NRotSoftBondedWallPrmsPy &prms)
 
void createNRotElasticWallTagged (const NRotElasticWallPrmsPy &prms, int tag, int mask)
 
void moveWallBy (const string &, const Vec3Py &disp)
 
void setWallNormal (const string &, const Vec3Py &wn)
 
void applyForceToWall (const string &, const Vec3Py &)
 
Vec3Py getWallPosition (const std::string &)
 
Vec3Py getWallForce (const std::string &)
 
void runTimeStep ()
 
void run ()
 
void exit ()
 
void SetVerbosityPy (bool)
 
void createParticleScalarFieldSaver (const ParticleScalarFieldSaverPrmsPy &prms)
 
void createParticleVectorFieldSaver (const ParticleVectorFieldSaverPrmsPy &)
 
void createInteractionScalarFieldSaver (const InteractionScalarFieldSaverPrmsPy &prms)
 
void createCheckedInteractionScalarFieldSaver (const CheckedInteractionScalarFieldSaverPrmsPy &prms)
 
void createInteractionVectorFieldSaver (const InteractionVectorFieldSaverPrmsPy &)
 
void createCheckedInteractionVectorFieldSaver (const CheckedInteractionVectorFieldSaverPrmsPy &prms)
 
void createTaggedParticleScalarFieldSaver (const TaggedParticleScalarFieldSaverPrmsPy &)
 
void createTaggedParticleVectorFieldSaver (const TaggedParticleVectorFieldSaverPrmsPy &)
 
void createTaggedInteractionScalarFieldSaver (const TaggedInteractionScalarFieldSaverPrmsPy &)
 
void addTaggedScalarParticleDistributionSaver (const string &, const string &, const string &, int, int, int, int, int, int, double, double, int)
 
void addVectorTriangleSaveField (const TriangleVectorFieldSaverPrmsPy &)
 
void addScalarTriangleSaveField (const TriangleScalarFieldSaverPrmsPy &)
 
void addVectorWallField (const WallVectorFieldSaverPrmsPy &prms)
 
void createParticleVectorFieldSaverWithTrigger (const MaxTriggerPrmsPy &, const ParticleVectorFieldSaverPrmsPy &)
 
void createTaggedParticleVectorFieldSaverWithTrigger (const MaxTriggerPrmsPy &, const TaggedParticleVectorFieldSaverPrmsPy &)
 
void visitNodeRefs2d (const std::string &meshName, boost::python::object pyObject)
 
void visitRefStressPairs2d (const std::string &meshName, boost::python::object pyObject)
 
void visitRefForcePairs (const std::string &meshName, boost::python::object pyObject)
 
void visitParticlesWithId (const boost::python::list &idList, boost::python::object &pyObject)
 
void visitParticles (boost::python::object &pyObject)
 
boost::python::list getParticleList ()
 
boost::python::list getParticleWithIdList (const boost::python::list &idList)
 
void createBonds (const std::string &groupName, const ParticleIdPairVector &idPairVector)
 
void updateInteractions ()
 
ParticleIdPairVector getBondGroupIdPairs (const std::string &groupName)
 
void setVerbosityPy (bool verbose)
 

Protected Types

typedef std::map< std::string,
std::string > 
InteractionNameTypeMap
 

Protected Member Functions

InteractionNameTypeMap & getNameTypeMap ()
 
const InteractionNameTypeMap & getNameTypeMap () const
 
const CLatticeMaster & getLatticeMaster () const
 
CLatticeMaster & getLatticeMaster ()
 

Private Types

typedef boost::shared_ptr< Impl > ImplPtr
 

Private Attributes

ImplPtr m_implPtr
 

Detailed Description

Wrapper to make LatticeMaster methods available in Python.

Member Typedef Documentation

typedef boost::shared_ptr<Impl> esys::lsm::LsmMpiPy::ImplPtr
private
typedef std::map<std::string, std::string> esys::lsm::LsmMpiPy::InteractionNameTypeMap
protected

Constructor & Destructor Documentation

esys::lsm::LsmMpiPy::LsmMpiPy ( int  numWorkerProcesses,
const boost::python::list &  mpiDimList 
)

References getLatticeMaster(), CLatticeMaster::setProcessDims(), and CLatticeMaster::setupWorkers().

Here is the call graph for this function:

esys::lsm::LsmMpiPy::~LsmMpiPy ( )
virtual

Member Function Documentation

void esys::lsm::LsmMpiPy::addPostTimeStepRunnable ( RunnablePy &  runnable)

References CLatticeMaster::addPostTimeStepRunnable(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::addPreTimeStepRunnable ( RunnablePy &  runnable)

References CLatticeMaster::addPreTimeStepRunnable(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::addTaggedScalarParticleDistributionSaver ( const string &  filename,
const string &  fieldname,
const string &  savetype,
int  t_0,
int  t_end,
int  dt,
int  t_snap,
int  tag,
int  mask,
double  x_0,
double  x_max,
int  nx 
)

References CLatticeMaster::addTaggedScalarParticleDistributionSaver(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::applyForceToWall ( const string &  name,
const Vec3Py &  Frc 
)

References CLatticeMaster::applyForceToWall(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createABCDamping ( const ABCDampingPrmsPy &  prms)

References CLatticeMaster::addDamping(), getLatticeMaster(), getTimeStepSize(), and CDampingIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createBonds ( const std::string &  groupName,
const ParticleIdPairVector &  idPairVector 
)

Referenced by esys::lsm::BondInteractionGroupPy::createInteractions().

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createBuoyancy ( const BuoyancyPrmsPy &  prms)

References CLatticeMaster::addSingleIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createCappedNRotBondInteractGrp ( const CappedNRotBondPrmsPy &  bondPrms)
void esys::lsm::LsmMpiPy::createConnections ( boost::python::object &  iterable)

References CLatticeMaster::addConnections(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createDamping ( const DampingPrmsPy &  prms)

References CLatticeMaster::addDamping(), getLatticeMaster(), getTimeStepSize(), and CDampingIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createElasticInteractGrpTag ( const NRotElasticPrmsPy &  prms,
int  tag1,
int  mask1,
int  tag2,
int  mask2 
)

References CLatticeMaster::addTaggedPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createExclusion ( const std::string &  interactionName1,
const std::string &  interactionName2 
)

References CLatticeMaster::addExIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createFrictionInteractGrp ( const FrictionPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CRotFrictionIGP::getTypeString(), and CRotFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createGravity ( const GravityPrmsPy &  prms)

References CLatticeMaster::addSingleIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createHertzianElasticIG ( const HertzianElasticPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CHertzianElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createHertzianViscoElasticFrictionIG ( const HertzianViscoElasticFrictionPrmsPy &  prms)
void esys::lsm::LsmMpiPy::createHertzianViscoElasticIG ( const HertzianViscoElasticPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CHertzianViscoElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createLinearDashpotIG ( const LinearDashpotPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CLinearDashpotIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createLinearDashpotInteractGrpTag ( const LinearDashpotPrmsPy &  prms,
int  tag1,
int  mask1,
int  tag2,
int  mask2 
)

References CLatticeMaster::addTaggedPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CLinearDashpotIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createLocalDamping ( const LocalDampingPrmsPy &  prms)

References CLatticeMaster::addDamping(), getLatticeMaster(), getTimeStepSize(), and CLocalDampingIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotBondedLinMeshInteractGrp ( const NRotBondedLinMeshPrmsPy &  prms)
void esys::lsm::LsmMpiPy::createNRotBondedTriMeshInteractGrp ( const NRotBondedTriMeshPrmsPy &  prms)
void esys::lsm::LsmMpiPy::createNRotBondedWall ( const NRotBondedWallPrmsPy &  prms)

References CLatticeMaster::addWallIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotBondInteractGrp ( const NRotBondPrmsPy &  bondPrms)

References CLatticeMaster::addBondedIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CBondedIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticInteractGrp ( const NRotElasticPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticLinMeshInteractGrp ( const NRotElasticLinMeshPrmsPy &  prms)

References CLatticeMaster::addMesh2DIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticMesh2DInteractGrp ( const NRotElasticMesh2DPrmsPy &  prms)

References CLatticeMaster::addMesh2DIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticTriMeshInteractGrp ( const NRotElasticTriMeshPrmsPy &  prms)

References CLatticeMaster::addTriMeshIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticWall ( const NRotElasticWallPrmsPy &  prms)

References CLatticeMaster::addWallIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotElasticWallTagged ( const NRotElasticWallPrmsPy &  prms,
int  tag,
int  mask 
)

References CLatticeMaster::addTaggedWallIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotFrictionInteractGrp ( const NRotFrictionPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CFrictionIGP::getTypeString(), and CFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotFrictionInteractGrpTag ( const NRotFrictionPrmsPy &  prms,
int  tag1,
int  mask1,
int  tag2,
int  mask2 
)

References CLatticeMaster::addTaggedPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CFrictionIGP::getTypeString(), and CFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotShortBondInteractGrp ( const NRotShortBondPrmsPy &  bondPrms)

References CLatticeMaster::addShortBondedIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), CBondedIGP::getTypeString(), CBondedIGP::k, CBondedIGP::rbreak, and CBondedIGP::tag.

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createNRotSoftBondedWall ( const NRotSoftBondedWallPrmsPy &  prms)

References CLatticeMaster::addWallIG(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createParticle ( boost::python::object &  particle)

References createParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createParticles ( boost::python::object &  iterable)

References getLatticeMaster(), and getParticleType().

Referenced by createParticle(), and esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotElasticInteractGrp ( const RotElasticPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CRotElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotElasticInteractGrpTag ( const RotElasticPrmsPy &  prms,
int  tag1,
int  mask1,
int  tag2,
int  mask2 
)

References CLatticeMaster::addTaggedPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CRotElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotFrictionInteractGrp ( const RotFrictionPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CRotFrictionIGP::getTypeString(), and CRotFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotFrictionInteractGrpTag ( const RotFrictionPrmsPy &  prms,
int  tag1,
int  mask1,
int  tag2,
int  mask2 
)

References CLatticeMaster::addTaggedPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CRotFrictionIGP::getTypeString(), and CRotFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotLocalDamping ( const RotLocalDampingPrmsPy &  prms)

References CLatticeMaster::addDamping(), getLatticeMaster(), getTimeStepSize(), and CLocalDampingIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

BondInteractionGroupPy esys::lsm::LsmMpiPy::createRotThermBondInteractGrp ( const RotThermBondPrmsPy &  bondPrms)

References CLatticeMaster::addRotThermBondedIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CRotThermBondedIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotThermElasticInteractGrp ( const RotThermElasticPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CRotThermElasticIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createRotThermFrictionInteractGrp ( const RotThermFrictionPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), and CRotThermFrictionIGP::getTypeString().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createSnapShots ( const CheckPointPrmsPy &  prms)
void esys::lsm::LsmMpiPy::createTriMesh ( const std::string &  meshName,
const boost::python::object &  nodeSequence,
const boost::python::object &  triSequence 
)

References CLatticeMaster::createTriMesh(), getLatticeMaster(), and esys::lsm::bpu::len().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createVWFrictionIG ( const VWFrictionPrmsPy &  prms)

References CLatticeMaster::addPairIG(), getLatticeMaster(), AIGParam::getName(), getNameTypeMap(), getTimeStepSize(), CFrictionIGP::getTypeString(), and CFrictionIGP::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::createWall ( const string &  name,
const Vec3Py &  posn,
const Vec3Py &  normal 
)

References CLatticeMaster::addWall(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::exit ( )

References getLatticeMaster(), and CLatticeMaster::runEnd().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

int esys::lsm::LsmMpiPy::findClosestParticle ( const Vec3Py &  pt)

References CLatticeMaster::findParticleNearestTo(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::force2dComputations ( bool  do2d)

References CLatticeMaster::do2dCalculations(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

LsmMpiPy::ParticleIdPairVector esys::lsm::LsmMpiPy::getBondGroupIdPairs ( const std::string &  groupName)

Referenced by esys::lsm::BondInteractionGroupPy::getIdPairSet().

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::getCurMinMaxPt ( Vec3Py &  curMinPt,
Vec3Py &  curMaxPt 
)

References esys::lsm::MinMaxVisitor::getCurMaxPt(), esys::lsm::MinMaxVisitor::getCurMinPt(), getLatticeMaster(), and CLatticeMaster::visitParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::getInitMinMaxPt ( Vec3Py &  initMinPt,
Vec3Py &  initMaxPt 
)

References CLatticeMaster::getInitMinMaxPt(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

const CLatticeMaster & esys::lsm::LsmMpiPy::getLatticeMaster ( ) const
protected

References m_implPtr.

Referenced by addPostTimeStepRunnable(), addPreTimeStepRunnable(), addScalarTriangleSaveField(), addTaggedScalarParticleDistributionSaver(), addVectorTriangleSaveField(), addVectorWallField(), applyForceToWall(), createABCDamping(), createBrittleBeamInteractGrp(), createBuoyancy(), createCappedNRotBondInteractGrp(), createCheckedInteractionScalarFieldSaver(), createCheckedInteractionVectorFieldSaver(), createCheckPointer(), createCheckPointerThroughMaster(), createConnections(), createDamping(), createElasticInteractGrpTag(), createExclusion(), createFrictionInteractGrp(), createGravity(), createHertzianElasticIG(), createHertzianViscoElasticFrictionIG(), createHertzianViscoElasticIG(), createInteractionScalarFieldSaver(), createInteractionVectorFieldSaver(), createLinearDashpotIG(), createLinearDashpotInteractGrpTag(), createLocalDamping(), createNRotBondedLinMeshInteractGrp(), createNRotBondedTriMeshInteractGrp(), createNRotBondedWall(), createNRotBondInteractGrp(), createNRotElasticInteractGrp(), createNRotElasticLinMeshInteractGrp(), createNRotElasticMesh2DInteractGrp(), createNRotElasticTriMeshInteractGrp(), createNRotElasticWall(), createNRotElasticWallTagged(), createNRotFrictionInteractGrp(), createNRotFrictionInteractGrpTag(), createNRotShortBondInteractGrp(), createNRotSoftBondedWall(), createParticles(), createParticleScalarFieldSaver(), createParticleVectorFieldSaver(), createParticleVectorFieldSaverWithTrigger(), createRotBondInteractGrp(), createRotElasticInteractGrp(), createRotElasticInteractGrpTag(), createRotFrictionInteractGrp(), createRotFrictionInteractGrpTag(), createRotLocalDamping(), createRotThermBondInteractGrp(), createRotThermElasticInteractGrp(), createRotThermFrictionInteractGrp(), createSnapShots(), createTaggedInteractionScalarFieldSaver(), createTaggedParticleScalarFieldSaver(), createTaggedParticleVectorFieldSaver(), createTaggedParticleVectorFieldSaverWithTrigger(), createTriMesh(), createVWFrictionIG(), createWall(), exit(), findClosestParticle(), force2dComputations(), getCurMinMaxPt(), getInitMinMaxPt(), getLsmVersion(), getNumParticles(), getNumTimeSteps(), getNumWorkerProcesses(), getParticleList(), getParticlePosn(), getParticleType(), getParticleWithIdList(), getTimeStep(), getTimeStepSize(), getWallForce(), getWallPosition(), initVerletModel(), loadCheckPoint(), LsmMpiPy(), moveSingleMeshNodeBy(), moveSingleParticleTo(), moveTaggedParticlesBy(), moveTaggedParticlesTo(), moveWallBy(), readGeometry(), readMesh(), readMesh2D(), readMeshWithTag(), removeInteractionGrp(), run(), runTimeStep(), setBBoxSpatialDomain(), setBBoxSpatialDomainWithCirc(), setNumTimeSteps(), setParticleAngVel(), setParticleDensity(), setParticleNonDynamic(), setParticleNonRot(), setParticleNonTrans(), setParticleVel(), setSlaveTimingFileName(), setSpatialDomain(), setTaggedParticleVel(), setTimeStepSize(), setTimingFileName(), setVelocityOfWall(), setVerbosityPy(), setWallNormal(), tagParticleNearestTo(), translateMesh(), visitNodeRefs2d(), visitParticlesWithId(), visitRefStressPairs2d(), esys::lsm::WavePropagationPy::writeParticleDataToFile(), and esys::lsm::WavePropagationPy::writeParticleDataToFilePyIdList().

CLatticeMaster & esys::lsm::LsmMpiPy::getLatticeMaster ( )
protected

References m_implPtr.

std::string esys::lsm::LsmMpiPy::getLsmVersion ( ) const

References getLatticeMaster(), and CLatticeMaster::getLsmVersion().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

const LsmMpiPy::InteractionNameTypeMap & esys::lsm::LsmMpiPy::getNameTypeMap ( ) const
protected

References m_implPtr.

int esys::lsm::LsmMpiPy::getNumParticles ( )

References getLatticeMaster(), and CLatticeMaster::getNumParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

int esys::lsm::LsmMpiPy::getNumTimeSteps ( ) const

References getLatticeMaster(), and CLatticeMaster::getNumSteps().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

int esys::lsm::LsmMpiPy::getNumWorkerProcesses ( ) const

References getLatticeMaster(), and CLatticeMaster::getNumWorkerProcesses().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

boost::python::list esys::lsm::LsmMpiPy::getParticleList ( )

References getLatticeMaster(), esys::lsm::ListGatherVisitor::getList(), and CLatticeMaster::visitParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3Py esys::lsm::LsmMpiPy::getParticlePosn ( int  particleId)

References getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string esys::lsm::LsmMpiPy::getParticleType ( ) const

References getLatticeMaster(), and CLatticeMaster::getParticleType().

Referenced by createParticles(), and esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

boost::python::list esys::lsm::LsmMpiPy::getParticleWithIdList ( const boost::python::list &  idList)

References getLatticeMaster(), esys::lsm::ListGatherVisitor::getList(), and CLatticeMaster::visitParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

int esys::lsm::LsmMpiPy::getTimeStep ( ) const

References getLatticeMaster(), and CLatticeMaster::getTimeStep().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3Py esys::lsm::LsmMpiPy::getWallForce ( const std::string &  name)

References getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3Py esys::lsm::LsmMpiPy::getWallPosition ( const std::string &  name)

References getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::initVerletModel ( const std::string &  particleType,
double  gridSpacing,
double  verletDist 
)

References esys::lsm::checkParticleTypePy(), getLatticeMaster(), and CLatticeMaster::makeLattice().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::loadCheckPoint ( const std::string &  filename)

References getLatticeMaster(), and CLatticeMaster::loadCheckPointData().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::moveSingleMeshNodeBy ( const std::string &  meshname,
int  id,
const Vec3Py &  d 
)

References getLatticeMaster(), and CLatticeMaster::moveSingleNodeBy().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::moveSingleParticleTo ( int  particleId,
const Vec3Py &  pt 
)

References getLatticeMaster(), and CLatticeMaster::moveSingleParticleTo().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::moveTaggedParticlesBy ( int  tag,
const Vec3Py &  displacement 
)

References getLatticeMaster(), and CLatticeMaster::moveTaggedParticlesBy().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::moveTaggedParticlesTo ( int  tag,
const Vec3Py &  pt 
)

References getLatticeMaster(), and CLatticeMaster::moveParticleTo().

Here is the call graph for this function:

void esys::lsm::LsmMpiPy::moveWallBy ( const string &  name,
const Vec3Py &  disp 
)

References getLatticeMaster(), and CLatticeMaster::moveWallBy().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::readGeometry ( const std::string &  fileName)

References getLatticeMaster(), and CLatticeMaster::readGeometryFile().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::readMesh ( const std::string &  fileName,
const std::string &  meshName 
)

read triangle mesh from file ignoring tag

References getLatticeMaster(), and CLatticeMaster::readAndDistributeTriMesh().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::readMesh2D ( const std::string &  fileName,
const std::string &  meshName,
int  tag 
)

References CLatticeMaster::addMesh2D(), and getLatticeMaster().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::readMeshWithTag ( const std::string &  fileName,
const std::string &  meshName,
int  tag 
)

read triangle mesh from file

References getLatticeMaster(), and CLatticeMaster::readAndDistributeTriMesh().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::removeInteractionGrp ( const std::string &  name)

References getLatticeMaster(), and CLatticeMaster::removeIG().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::run ( )

References getLatticeMaster(), and CLatticeMaster::run().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::runTimeStep ( )

References getLatticeMaster(), and CLatticeMaster::runOneStep().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setBBoxSpatialDomain ( const BoundingBoxPy &  domain)

References getLatticeMaster(), esys::lsm::BoundingBox::getMaxPt(), esys::lsm::BoundingBox::getMinPt(), and CLatticeMaster::setSpatialDomain().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setBBoxSpatialDomainWithCirc ( const BoundingBoxPy &  domain,
const boost::python::list &  circDimList 
)

References getLatticeMaster(), esys::lsm::BoundingBox::getMaxPt(), esys::lsm::BoundingBox::getMinPt(), and CLatticeMaster::setSpatialDomain().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setNumTimeSteps ( int  numTimeSteps)

References getLatticeMaster(), and CLatticeMaster::setNumSteps().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setParticleAngVel ( int  id,
const Vec3Py &  AV 
)

References getLatticeMaster(), and CLatticeMaster::setParticleAngVel().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setParticleDensity ( int  tag,
int  mask,
double  rho 
)

References getLatticeMaster(), and CLatticeMaster::setParticleDensity().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setParticleNonDynamic ( int  tag)

References getLatticeMaster(), and CLatticeMaster::setParticleNonDynamic().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setParticleNonRot ( int  tag)

References getLatticeMaster(), and CLatticeMaster::setParticleNonRot().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setParticleNonTrans ( int  id)

References getLatticeMaster(), and CLatticeMaster::setParticleNonTrans().

Here is the call graph for this function:

void esys::lsm::LsmMpiPy::setParticleVel ( int  id,
const Vec3Py &  V 
)

References getLatticeMaster(), and CLatticeMaster::setParticleVel().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setSlaveTimingFileName ( const std::string &  fileNamePrefix)

References getLatticeMaster(), and CLatticeMaster::saveTimingDataToFile().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setSpatialDomain ( const Vec3Py &  minPt,
const Vec3Py &  maxPt 
)

References getLatticeMaster(), and CLatticeMaster::setSpatialDomain().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setTaggedParticleVel ( int  tag,
const Vec3Py &  V 
)

References getLatticeMaster(), and CLatticeMaster::setTaggedParticleVel().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setTimeStepSize ( double  dt)

References getLatticeMaster(), and CLatticeMaster::setTimeStepSize().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setTimingFileName ( const std::string &  fileNamePrefix)

References getLatticeMaster(), and CLatticeMaster::setTimingFileName().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setVelocityOfWall ( const std::string &  name,
const Vec3Py &  V 
)

References getLatticeMaster(), and CLatticeMaster::setVelocityOfWall().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::SetVerbosityPy ( bool  )
void esys::lsm::LsmMpiPy::setVerbosityPy ( bool  verbose)

set verbosity via LatticeMaster - call gets communicated to Workers

References getLatticeMaster(), and CLatticeMaster::setVerbosity().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::setWallNormal ( const string &  name,
const Vec3Py &  wn 
)

References getLatticeMaster(), and CLatticeMaster::setWallNormal().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::tagParticleNearestTo ( int  tag,
int  mask,
const Vec3Py &  Pos 
)

References getLatticeMaster(), and CLatticeMaster::tagParticleNearestTo().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::translateMesh ( const std::string &  meshName,
const Vec3Py &  translation 
)

References getLatticeMaster(), and CLatticeMaster::translateMeshBy().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::updateInteractions ( )
void esys::lsm::LsmMpiPy::visitNodeRefs2d ( const std::string &  meshName,
boost::python::object  pyObject 
)

References getLatticeMaster(), and CLatticeMaster::visitMesh2dNodeReferences().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::visitParticles ( boost::python::object &  pyObject)
void esys::lsm::LsmMpiPy::visitParticlesWithId ( const boost::python::list &  idList,
boost::python::object &  pyObject 
)

References getLatticeMaster(), and CLatticeMaster::visitParticles().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::LsmMpiPy::visitRefForcePairs ( const std::string &  meshName,
boost::python::object  pyObject 
)
void esys::lsm::LsmMpiPy::visitRefStressPairs2d ( const std::string &  meshName,
boost::python::object  pyObject 
)

References getLatticeMaster(), and CLatticeMaster::visitMesh2dEdgeStress().

Referenced by esys::lsm::exportLsm().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ImplPtr esys::lsm::LsmMpiPy::m_implPtr
private

Referenced by getLatticeMaster(), and getNameTypeMap().


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