www.cemf.ir
positionRandom Class Reference
+ Inheritance diagram for positionRandom:
+ Collaboration diagram for positionRandom:

Public Member Functions

 TypeInfo ("random")
 
 positionRandom (systemControl &control, const dictionary &dict)
 
 add_vCtor (positionParticles, positionRandom, dictionary)
 
 ~positionRandom () final=default
 
uint32 numPoints () const final
 
uint32 size () const final
 
real maxDiameter () const override
 
const realx3Vectorposition () const final
 
realx3Vectorposition () final
 
- Public Member Functions inherited from positionParticles
 TypeInfo ("positionParticles")
 
 positionParticles (systemControl &control, const dictionary &dict)
 
 create_vCtor (positionParticles, dictionary,(systemControl &control, const dictionary &dict),(control, dict))
 
virtual ~positionParticles ()=default
 
bool mortonSorting () const
 
auto maxNumberOfParticles () const
 
virtual realx3Vector getFinalPosition ()
 

Private Member Functions

bool positionOnePass (collisionCheck &collCheck)
 
bool positionPointsRandom ()
 

Private Attributes

dictionary prDict_
 
real diameter_
 
uint32 numPoints_
 
uint32 maxIterations_
 
realx3Vector position_
 
realVector diameters_
 
uint32 reportInterval_
 

Additional Inherited Members

- Static Public Member Functions inherited from positionParticles
static uniquePtr< positionParticlescreate (systemControl &control, const dictionary &dict)
 
- Protected Member Functions inherited from positionParticles
const auto & pRegion () const
 
- Static Protected Attributes inherited from positionParticles
static const uint32 numReports_ = 40
 

Detailed Description

Definition at line 31 of file positionRandom.hpp.

Constructor & Destructor Documentation

◆ positionRandom()

positionRandom ( systemControl control,
const dictionary dict 
)

Definition at line 100 of file positionRandom.cpp.

References fatalExit, and pFlow::max().

+ Here is the call graph for this function:

◆ ~positionRandom()

~positionRandom ( )
finaldefault

Member Function Documentation

◆ positionOnePass()

◆ positionPointsRandom()

bool positionPointsRandom ( )
private

Definition at line 57 of file positionRandom.cpp.

References END_REPORT, fatalErrorInFunction, Green_Text, REPORT, and Yellow_Text.

◆ TypeInfo()

TypeInfo ( "random"  )

◆ add_vCtor()

add_vCtor ( positionParticles  ,
positionRandom  ,
dictionary   
)

◆ numPoints()

uint32 numPoints ( ) const
inlinefinalvirtual

Implements positionParticles.

Definition at line 72 of file positionRandom.hpp.

References positionRandom::position_, and Vector< T, Allocator >::size().

+ Here is the call graph for this function:

◆ size()

uint32 size ( ) const
inlinefinalvirtual

Implements positionParticles.

Definition at line 77 of file positionRandom.hpp.

References positionRandom::position_, and Vector< T, Allocator >::size().

+ Here is the call graph for this function:

◆ maxDiameter()

real maxDiameter ( ) const
inlineoverridevirtual

Implements positionParticles.

Definition at line 82 of file positionRandom.hpp.

References positionRandom::diameter_.

◆ position() [1/2]

const realx3Vector& position ( ) const
inlinefinalvirtual

Implements positionParticles.

Definition at line 88 of file positionRandom.hpp.

References positionRandom::position_.

◆ position() [2/2]

realx3Vector& position ( )
inlinefinalvirtual

Implements positionParticles.

Definition at line 94 of file positionRandom.hpp.

References positionRandom::position_.

Member Data Documentation

◆ prDict_

dictionary prDict_
private

Definition at line 35 of file positionRandom.hpp.

◆ diameter_

real diameter_
private

◆ numPoints_

uint32 numPoints_
private

Definition at line 39 of file positionRandom.hpp.

Referenced by positionRandom::positionOnePass().

◆ maxIterations_

uint32 maxIterations_
private

Definition at line 41 of file positionRandom.hpp.

◆ position_

◆ diameters_

realVector diameters_
private

Definition at line 45 of file positionRandom.hpp.

Referenced by positionRandom::positionOnePass().

◆ reportInterval_

uint32 reportInterval_
private

Definition at line 47 of file positionRandom.hpp.


The documentation for this class was generated from the following files: