www.cemf.ir
geometricRegion< GeomType > Class Template Reference
+ Collaboration diagram for geometricRegion< GeomType >:

Public Types

using GeometryType = GeomType
 

Public Member Functions

 TypeInfoTemplateNV11 ("geometricRegion", GeomType)
 
 geometricRegion (const dictionary &dict)
 
 ~geometricRegion ()=default
 
bool isInside (const realx3 &p) const
 
realx3 peek () const
 
const auto & minPoint () const
 
const auto & maxPoint () const
 
bool read (const dictionary &dict)
 
bool write (dictionary &dict) const
 

Private Attributes

GeomType geom_
 
realx3 minPoint_
 
realx3 maxPoint_
 
uniformRandomReal random_
 

Static Private Attributes

static constexpr uint32 maxTries_ = 100
 

Detailed Description

template<typename GeomType>
class pFlow::geometricRegion< GeomType >

Definition at line 33 of file geometricRegion.hpp.

Member Typedef Documentation

◆ GeometryType

using GeometryType = GeomType

Definition at line 37 of file geometricRegion.hpp.

Constructor & Destructor Documentation

◆ geometricRegion()

◆ ~geometricRegion()

~geometricRegion ( )
default

Member Function Documentation

◆ TypeInfoTemplateNV11()

TypeInfoTemplateNV11 ( "geometricRegion< GeomType >"  ,
GeomType   
)

◆ isInside()

bool isInside ( const realx3 p) const
inline

Definition at line 32 of file geometricRegion.cpp.

◆ peek()

pFlow::realx3 peek
inline

Definition at line 39 of file geometricRegion.cpp.

References pFlow::endl(), fatalErrorInFunction, and fatalExit.

+ Here is the call graph for this function:

◆ minPoint()

const auto& minPoint ( ) const
inline

Definition at line 65 of file geometricRegion.hpp.

References geometricRegion< GeomType >::minPoint_.

Referenced by PeakableRegion< GeomType >::minPoint().

+ Here is the caller graph for this function:

◆ maxPoint()

const auto& maxPoint ( ) const
inline

Definition at line 70 of file geometricRegion.hpp.

References geometricRegion< GeomType >::maxPoint_.

Referenced by PeakableRegion< GeomType >::maxPoint().

+ Here is the caller graph for this function:

◆ read()

bool read ( const dictionary dict)

Definition at line 57 of file geometricRegion.cpp.

◆ write()

bool write ( dictionary dict) const

Definition at line 64 of file geometricRegion.cpp.

Member Data Documentation

◆ geom_

GeomType geom_
private

Definition at line 41 of file geometricRegion.hpp.

Referenced by geometricRegion< GeomType >::geometricRegion().

◆ minPoint_

◆ maxPoint_

◆ random_

uniformRandomReal random_
mutableprivate

Definition at line 47 of file geometricRegion.hpp.

◆ maxTries_

constexpr uint32 maxTries_ = 100
staticconstexprprivate

Definition at line 49 of file geometricRegion.hpp.


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