ESyS-Particle  2.3.2
esys::lsm::SimpleSpherePy Class Reference

#include <SimpleSpherePy.h>

Inheritance diagram for esys::lsm::SimpleSpherePy:
Collaboration diagram for esys::lsm::SimpleSpherePy:

Public Member Functions

 SimpleSpherePy (const Vec3Py &centre, double radius, int id=0, int tag=0, double mass=-1.0)
 SimpleSpherePy (int id, const Vec3Py &posn, double radius, double mass)
 SimpleSpherePy (const SimpleSpherePy &particle)
bool operator== (const SimpleSpherePy &p) const
Vec3Py getPosnPy () const
void setPosnPy (const Vec3Py posn)
void translateByPy (const Vec3Py &translation)
void rigidRotatePy (const Vec3Py &axis, const Vec3Py &pt)
- Public Member Functions inherited from SimpleParticle
 SimpleParticle (const Vec3 &posn, double radius, int id=0, int tag=0)
 SimpleParticle (const SimpleParticle &p)
SimpleParticleoperator= (const SimpleParticle &p)
const Vec3getPos () const
void setPos (const Vec3 &pos)
void moveTo (const Vec3 &v)
void translateBy (const Vec3 &v)
void moveBy (const Vec3 &v)
void rotate (const Vec3 &rotation, const Vec3 &posn)
double getRad () const
void setRad (double r)
bool isValid () const
template<typename TmplVisitor >
void visit (const TmplVisitor &visitor) const
template<typename TmplVisitor >
void visit (TmplVisitor &visitor)
- Public Member Functions inherited from esys::lsm::SimpleParticleData
 SimpleParticleData ()
 SimpleParticleData (Id id, Tag tag, const Vec3 &position, double radius)
 SimpleParticleData (const Vec3 &position, double radius, Id id, Tag tag)
 SimpleParticleData (const SimpleParticleData &p)
SimpleParticleDataoperator= (const SimpleParticleData &p)
bool operator== (const SimpleParticleData &particleData) const
Id getId () const
void setId (const Id &id)
Id getID () const
void setID (const Id &id)
const Vec3getPosition () const
void setPosition (const Vec3 &pos)
Tag getTag () const
void setTag (const Tag &tag)
double getRadius () const
void setRadius (const double &r)
void setMass (double mass)
double getMass () const
double get2dMass () const
double get3dMass () const
void read (std::istream &istream)
void write (std::ostream &write) const

Static Public Attributes

static SimpleSpherePy INVALID = SimpleSpherePy(Vec3Py(Vec3::ZERO), 0.0, -1, -1, -1.0)
- Static Public Attributes inherited from SimpleParticle
static const SimpleParticle INVALID = SimpleParticle(Vec3::ZERO, 0.0, -1, -1)

Additional Inherited Members

- Public Types inherited from esys::lsm::SimpleParticleData
typedef int Id
typedef int Tag

Constructor & Destructor Documentation

esys::lsm::SimpleSpherePy::SimpleSpherePy ( const Vec3Py centre,
double  radius,
int  id = 0,
int  tag = 0,
double  mass = -1.0 
)

References esys::lsm::SimpleParticleData::setMass().

Here is the call graph for this function:

esys::lsm::SimpleSpherePy::SimpleSpherePy ( int  id,
const Vec3Py posn,
double  radius,
double  mass 
)

References esys::lsm::SimpleParticleData::setMass().

Here is the call graph for this function:

esys::lsm::SimpleSpherePy::SimpleSpherePy ( const SimpleSpherePy particle)

Member Function Documentation

Vec3Py esys::lsm::SimpleSpherePy::getPosnPy ( ) const

References SimpleParticle::getPos().

Referenced by esys::lsm::exportSimpleSphere(), and esys::lsm::SimpleSpherePyPickleSuite::getinitargs().

Here is the call graph for this function:

Here is the caller graph for this function:

bool esys::lsm::SimpleSpherePy::operator== ( const SimpleSpherePy p) const

References esys::lsm::SimpleParticleData::getID().

Here is the call graph for this function:

void esys::lsm::SimpleSpherePy::rigidRotatePy ( const Vec3Py axis,
const Vec3Py pt 
)

References SimpleParticle::rotate().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::SimpleSpherePy::setPosnPy ( const Vec3Py  posn)

References SimpleParticle::setPos().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::SimpleSpherePy::translateByPy ( const Vec3Py translation)

References SimpleParticle::translateBy().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

SimpleSpherePy esys::lsm::SimpleSpherePy::INVALID = SimpleSpherePy(Vec3Py(Vec3::ZERO), 0.0, -1, -1, -1.0)
static

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