Public Member Functions | |
TypeInfoNV ("sphere") | |
FUNCTION_H | sphere (const realx3 ¢er, const real radius) |
FUNCTION_H | sphere (const dictionary &dict) |
FUNCTION_H | sphere (iIstream &is) |
FUNCTION_HD | sphere (const sphere &)=default |
FUNCTION_HD | sphere (sphere &&)=default |
FUNCTION_HD sphere & | operator= (const sphere &)=default |
FUNCTION_HD sphere & | operator= (sphere &&)=default |
~sphere ()=default | |
INLINE_FUNCTION_HD bool | isInside (const realx3 &point) const |
const INLINE_FUNCTION_HD realx3 & | center () const |
INLINE_FUNCTION_HD realx3 | minPoint () const |
INLINE_FUNCTION_HD realx3 | maxPoint () const |
INLINE_FUNCTION_HD real | radius () const |
FUNCTION_H bool | read (iIstream &is) |
FUNCTION_H bool | write (iOstream &os) const |
FUNCTION_H bool | read (const dictionary &dict) |
FUNCTION_H bool | write (dictionary &dict) const |
Protected Attributes | |
realx3 | center_ |
real | radius2_ |
Definition at line 32 of file sphere.hpp.
FUNCTION_H sphere | ( | const realx3 & | center, |
const real | radius | ||
) |
Definition at line 26 of file sphere.cpp.
FUNCTION_H sphere | ( | const dictionary & | dict | ) |
Definition at line 38 of file sphere.cpp.
References dictionary::getVal().
FUNCTION_H sphere | ( | iIstream & | is | ) |
Definition at line 53 of file sphere.cpp.
References fatalExit, ioErrorInFile, IOstream::lineNumber(), and IOstream::name().
|
default |
|
default |
|
default |
TypeInfoNV | ( | "sphere" | ) |
|
default |
|
default |
|
inline |
Definition at line 75 of file sphere.hpp.
References sphere::center_, dot(), and sphere::radius2_.
Referenced by sphereRegion::peek().
|
inline |
Definition at line 84 of file sphere.hpp.
References sphere::center_.
Referenced by sphereRegion::peek().
|
inline |
Definition at line 91 of file sphere.hpp.
References sphere::center_, and sphere::radius().
|
inline |
Definition at line 97 of file sphere.hpp.
References sphere::center_, and sphere::radius().
|
inline |
Definition at line 103 of file sphere.hpp.
References sphere::radius2_, and pFlow::sqrt().
Referenced by sphere::maxPoint(), sphere::minPoint(), and sphereRegion::peek().
FUNCTION_H bool read | ( | iIstream & | is | ) |
Definition at line 67 of file sphere.cpp.
References iIstream::nextData().
Referenced by pFlow::operator>>().
FUNCTION_H bool write | ( | iOstream & | os | ) | const |
Definition at line 77 of file sphere.cpp.
References IOstream::check(), FUNCTION_NAME, pFlow::sqrt(), and iOstream::writeWordEntry().
Referenced by pFlow::operator<<().
FUNCTION_H bool read | ( | const dictionary & | dict | ) |
Definition at line 86 of file sphere.cpp.
References dictionary::getVal().
FUNCTION_H bool write | ( | dictionary & | dict | ) | const |
Definition at line 98 of file sphere.cpp.
References dictionary::add(), pFlow::endl(), fatalErrorInFunction, dictionary::globalName(), and pFlow::sqrt().
|
protected |
Definition at line 37 of file sphere.hpp.
Referenced by sphere::center(), sphere::isInside(), sphere::maxPoint(), and sphere::minPoint().
|
protected |
Definition at line 40 of file sphere.hpp.
Referenced by sphere::isInside(), and sphere::radius().