#include <SphereBlockGenerator.h>
|
| | SphereBlockGenerator (NTable &, ParticlePool &, double, const Vec3 &, double, double, double, int, int) |
| |
| virtual | ~SphereBlockGenerator () |
| |
| virtual void | generate () |
| |
| virtual void | generateSeedParticles () |
| |
| virtual void | generateFillParticles () |
| |
| virtual SimpleParticle | generateParticle (const Vec3 &point) |
| |
| virtual void | insertParticle (const SimpleParticle &) |
| |
| virtual double | getRadius () const |
| |
| int | getNextId () |
| |
| size_t | getNumParticles () const |
| |
| const BoundingBox | getBBox () const |
| |
| virtual double | getGridRadius () const |
| |
| virtual bool | particleFits (const SimpleParticle &particle) const |
| |
| ParticleIterator | getParticleIterator () |
| |
| vector< SimpleParticle * > | getClosestNeighbors (const SimpleParticle &, int) |
| |
| bool | findAFitWithSphere (SimpleParticle &, const vector< SimpleParticle * > &) |
| |
| bool | findAFit (SimpleParticle &, const vector< SimpleParticle * > &) |
| |
| bool | checkAFit (const SimpleParticle &) |
| |
| Vec3 | getAPoint () |
| |
Public Member Functions inherited from esys::lsm::ParticleGenerator |
| | ParticleGenerator (NTable &nTable, ParticlePool &particlePool) |
| |
| virtual | ~ParticleGenerator () |
| |
◆ IdSet
◆ ParticleIterator
◆ ParticleVector
◆ SphereBlockGenerator()
| esys::lsm::SphereBlockGenerator::SphereBlockGenerator |
( |
NTable & |
ntable, |
|
|
ParticlePool & |
pool, |
|
|
double |
tol, |
|
|
const Vec3 & |
pos, |
|
|
double |
rad, |
|
|
double |
rmin, |
|
|
double |
rmax, |
|
|
int |
ntries, |
|
|
int |
tag |
|
) |
| |
constructor
- Parameters
-
| ntable | the neigbour table to be used |
| pool | the particle pool |
| tol | the fitting tolerance |
| pos | center position |
| rad | radius |
| rmin | minimum particle radius |
| rmax | maximum particle radius |
| ntries | max. nr. of tries |
References m_center, m_max_rad, m_max_tries, m_min_rad, m_radius, m_tag, and m_tol.
◆ ~SphereBlockGenerator()
| esys::lsm::SphereBlockGenerator::~SphereBlockGenerator |
( |
| ) |
|
|
virtual |
◆ checkAFit()
| bool esys::lsm::SphereBlockGenerator::checkAFit |
( |
const SimpleParticle & |
Po | ) |
|
◆ findAFit()
◆ findAFitWithSphere()
◆ generate()
| void esys::lsm::SphereBlockGenerator::generate |
( |
| ) |
|
|
virtual |
◆ generateFillParticles()
| void esys::lsm::SphereBlockGenerator::generateFillParticles |
( |
| ) |
|
|
virtual |
fill in
References checkAFit(), findAFit(), findAFitWithSphere(), generateParticle(), getAPoint(), getClosestNeighbors(), esys::lsm::SimpleParticleData::getID(), SimpleParticle::getPos(), SimpleParticle::getRad(), insertParticle(), m_center, m_max_tries, m_radius, and SimpleParticle::moveTo().
Referenced by generate().
◆ generateParticle()
◆ generateSeedParticles()
| void esys::lsm::SphereBlockGenerator::generateSeedParticles |
( |
| ) |
|
|
virtual |
◆ getAPoint()
| Vec3 esys::lsm::SphereBlockGenerator::getAPoint |
( |
| ) |
|
◆ getBBox()
| const BoundingBox esys::lsm::SphereBlockGenerator::getBBox |
( |
| ) |
const |
◆ getClosestNeighbors()
◆ getGridRadius()
| double esys::lsm::SphereBlockGenerator::getGridRadius |
( |
| ) |
const |
|
virtual |
◆ getNextId()
| int esys::lsm::SphereBlockGenerator::getNextId |
( |
| ) |
|
◆ getNumParticles()
| size_t esys::lsm::SphereBlockGenerator::getNumParticles |
( |
| ) |
const |
|
inline |
◆ getParticleIterator()
◆ getRadius()
| double esys::lsm::SphereBlockGenerator::getRadius |
( |
| ) |
const |
|
virtual |
◆ insertParticle()
| void esys::lsm::SphereBlockGenerator::insertParticle |
( |
const SimpleParticle & |
particle | ) |
|
|
virtual |
◆ particleFits()
| bool esys::lsm::SphereBlockGenerator::particleFits |
( |
const SimpleParticle & |
particle | ) |
const |
|
virtual |
◆ m_center
| Vec3 esys::lsm::SphereBlockGenerator::m_center |
|
private |
◆ m_idSet
| IdSet esys::lsm::SphereBlockGenerator::m_idSet |
|
private |
◆ m_max_rad
| double esys::lsm::SphereBlockGenerator::m_max_rad |
|
private |
◆ m_max_tries
| int esys::lsm::SphereBlockGenerator::m_max_tries |
|
private |
◆ m_min_rad
| double esys::lsm::SphereBlockGenerator::m_min_rad |
|
private |
◆ m_particleVector
◆ m_radius
| double esys::lsm::SphereBlockGenerator::m_radius |
|
private |
◆ m_tag
| int esys::lsm::SphereBlockGenerator::m_tag |
|
private |
◆ m_tol
| double esys::lsm::SphereBlockGenerator::m_tol |
|
private |
The documentation for this class was generated from the following files: