|
ESyS-Particle
2.3.4
|
#include <PackerGenerators.h>
Public Types | |
| typedef TmplParticle | Particle |
Public Member Functions | |
| ConstRadiusGen (double radius) | |
| const double & | getParticleRadius () const |
| const double & | getMinFitRadius () const |
| const double & | getMaxFitRadius () const |
| Particle | getParticle (const Vec3 &posn) const |
| Particle | getParticle (const Vec3 &posn, const double &maxRadius) const |
| bool | isValidFitRadius (const double &fitRadius) const |
Private Attributes | |
| double | m_radius |
Generates particles of a specified constant radius.
| typedef TmplParticle esys::lsm::ConstRadiusGen< TmplParticle >::Particle |
| esys::lsm::ConstRadiusGen< TmplParticle >::ConstRadiusGen | ( | double | radius | ) |
| const double & esys::lsm::ConstRadiusGen< TmplParticle >::getMaxFitRadius |
Returns the radius of particles generated by the getParticle method.
| const double & esys::lsm::ConstRadiusGen< TmplParticle >::getMinFitRadius |
Returns the radius of particles generated by the getParticle method.
| ConstRadiusGen< TmplParticle >::Particle esys::lsm::ConstRadiusGen< TmplParticle >::getParticle | ( | const Vec3 & | posn | ) | const |
Returns a particle of radius this->getParticleRadius().
| posn | The position of the returned particle. |
| ConstRadiusGen< TmplParticle >::Particle esys::lsm::ConstRadiusGen< TmplParticle >::getParticle | ( | const Vec3 & | posn, |
| const double & | maxRadius | ||
| ) | const |
Returns a particle of radius this->getParticleRadius().
| posn | The position of the returned particle. |
| maxRadius | The suggested particle radius, ignored. |
| const double & esys::lsm::ConstRadiusGen< TmplParticle >::getParticleRadius |
Returns the radius of particles generated by the getParticle method.
| bool esys::lsm::ConstRadiusGen< TmplParticle >::isValidFitRadius | ( | const double & | fitRadius | ) | const |
Returns whether fitRadius == this->getRadius()
|
private |