Public Member Functions | |
TypeInfo ("positionParticles") | |
positionParticles (const dictionary &dict) | |
create_vCtor (positionParticles, dictionary,(const dictionary &dict),(dict)) | |
virtual | ~positionParticles ()=default |
virtual label | numPoints () const =0 |
virtual label | size () const =0 |
virtual real | maxDiameter () const =0 |
virtual const realx3Vector & | position () const =0 |
virtual realx3Vector & | position ()=0 |
virtual realx3Vector | getFinalPosition () |
Static Public Member Functions | |
static uniquePtr< positionParticles > | create (const dictionary &dict) |
Protected Member Functions | |
realx3Vector | sortByMortonCode (realx3Vector &position) const |
Protected Attributes | |
uniquePtr< regionBase > | region_ = nullptr |
size_t | maxNumberOfParticles_ = 10000 |
Logical | mortonSorting_ |
Static Protected Attributes | |
static const size_t | numReports_ = 40 |
Definition at line 102 of file positionParticles.hpp.
positionParticles | ( | const dictionary & | dict | ) |
Definition at line 78 of file positionParticles.cpp.
References dictionary::containsDictionay(), dictionary::getValOrSet(), and dictionary::subDict().
|
virtualdefault |
|
protected |
Definition at line 31 of file positionParticles.cpp.
References Vector< T, Allocator >::capacity(), Vector< T, Allocator >::clear(), endINFO, INFORMATION, pFlow::max(), positionParticles::maxDiameter(), pFlow::min(), cells< indexType >::pointIndex(), positionParticles::position(), Vector< T, Allocator >::size(), sort(), and pFlow::xyzToMortonCode64().
TypeInfo | ( | "positionParticles" | ) |
create_vCtor | ( | positionParticles | , |
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
pure virtual |
Implemented in positionRandom, positionOrdered, and empty.
|
pure virtual |
Implemented in positionRandom, positionOrdered, and empty.
|
pure virtual |
Implemented in positionRandom, positionOrdered, and empty.
Referenced by positionParticles::sortByMortonCode().
|
pure virtual |
Implemented in positionRandom, positionOrdered, and empty.
Referenced by positionParticles::sortByMortonCode().
|
pure virtual |
Implemented in positionRandom, positionOrdered, and empty.
|
virtual |
Definition at line 101 of file positionParticles.cpp.
|
static |
Definition at line 117 of file positionParticles.cpp.
References fatalError, fatalExit, dictionary::getVal(), and pFlow::printKeys().
|
protected |
Definition at line 106 of file positionParticles.hpp.
Referenced by positionRandom::positionOnePass().
|
protected |
Definition at line 108 of file positionParticles.hpp.
|
protected |
Definition at line 110 of file positionParticles.hpp.
|
staticprotected |
Definition at line 112 of file positionParticles.hpp.