Go to the documentation of this file.
40 return sphere_.isInside(p);
45 for(
int32 i=0; i<100; ++i)
54 "cannot peek a random point from sphereRegion. \n";
76 if(!sphere_.write(dict))
79 " error in writing sphere data to dictionary "<<dict.
globalName()<<
endl;
const INLINE_FUNCTION_HD realx3 & center() const
#define fatalExit
Fatal exit.
virtual word globalName() const
global name of entry, separated with dots
iOstream & endl(iOstream &os)
Add newline and flush stream.
bool isInside(const realx3 &p) const
bool write(dictionary &dict) const
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
uniformRandomReal random_
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
bool read(const dictionary &dict)
INLINE_FUNCTION_HD real radius() const
sphereRegion(const dictionary &dict)
INLINE_FUNCTION_HD bool isInside(const realx3 &point) const