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
virtual word globalName() const
iOstream & endl(iOstream &os)
bool isInside(const realx3 &p) const
bool write(dictionary &dict) const
#define fatalErrorInFunction
uniformRandomReal random_
bool read(const dictionary &dict)
INLINE_FUNCTION_HD real radius() const
sphereRegion(const dictionary &dict)
INLINE_FUNCTION_HD bool isInside(const realx3 &point) const