Public Member Functions | |
TypeInfoNV ("sphereRegion") | |
sphereRegion (const dictionary &dict) | |
~sphereRegion ()=default | |
bool | isInside (const realx3 &p) const |
realx3 | peek () const |
bool | read (const dictionary &dict) |
bool | write (dictionary &dict) const |
Protected Attributes | |
sphere | sphere_ |
uniformRandomReal | random_ |
Definition at line 33 of file sphereRegion.hpp.
sphereRegion | ( | const dictionary & | dict | ) |
Definition at line 25 of file sphereRegion.cpp.
|
default |
TypeInfoNV | ( | "sphereRegion" | ) |
bool isInside | ( | const realx3 & | p | ) | const |
Definition at line 36 of file sphereRegion.cpp.
pFlow::realx3 peek | ( | ) | const |
Definition at line 43 of file sphereRegion.cpp.
References sphere::center(), fatalErrorInFunction, fatalExit, sphere::isInside(), sphere::radius(), sphereRegion::random_, uniformRandomReal::randomNumber(), and sphereRegion::sphere_.
bool read | ( | const dictionary & | dict | ) |
Definition at line 62 of file sphereRegion.cpp.
bool write | ( | dictionary & | dict | ) | const |
Definition at line 72 of file sphereRegion.cpp.
References pFlow::endl(), fatalErrorInFunction, and dictionary::globalName().
|
protected |
Definition at line 37 of file sphereRegion.hpp.
Referenced by sphereRegion::peek().
|
mutableprotected |
Definition at line 39 of file sphereRegion.hpp.
Referenced by sphereRegion::peek().