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


Public Member Functions | |
| SimpleSpherePy (const Vec3Py ¢re, 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) | |
| SimpleParticle & | operator= (const SimpleParticle &p) |
| const Vec3 & | getPos () 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) | |
| SimpleParticleData & | operator= (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 Vec3 & | getPosition () 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 |
| esys::lsm::SimpleSpherePy::SimpleSpherePy | ( | const Vec3Py & | centre, |
| double | radius, | ||
| int | id = 0, |
||
| int | tag = 0, |
||
| double | mass = -1.0 |
||
| ) |
| esys::lsm::SimpleSpherePy::SimpleSpherePy | ( | int | id, |
| const Vec3Py & | posn, | ||
| double | radius, | ||
| double | mass | ||
| ) |
| esys::lsm::SimpleSpherePy::SimpleSpherePy | ( | const SimpleSpherePy & | particle | ) |
| Vec3Py esys::lsm::SimpleSpherePy::getPosnPy | ( | ) | const |
References SimpleParticle::getPos().
Referenced by esys::lsm::exportSimpleSphere(), and esys::lsm::SimpleSpherePyPickleSuite::getinitargs().


| bool esys::lsm::SimpleSpherePy::operator== | ( | const SimpleSpherePy & | p | ) | const |
References SimpleParticle::rotate().
Referenced by esys::lsm::exportSimpleSphere().


| void esys::lsm::SimpleSpherePy::setPosnPy | ( | const Vec3Py | posn | ) |
References SimpleParticle::setPos().
Referenced by esys::lsm::exportSimpleSphere().


| void esys::lsm::SimpleSpherePy::translateByPy | ( | const Vec3Py & | translation | ) |
References SimpleParticle::translateBy().
Referenced by esys::lsm::exportSimpleSphere().


|
static |