ESyS-Particle
4.0.1
|
#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 |
Generates particles of a specified constant radius.
const double & esys::lsm::ConstRadiusGen< TmplParticle >::getMaxFitRadius | ( | ) | const |
Returns the radius of particles generated by the getParticle method.
const double & esys::lsm::ConstRadiusGen< TmplParticle >::getMinFitRadius | ( | ) | const |
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 | ( | ) | const |
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()