Go to the documentation of this file.
31 radius2_(radius*radius)
60 "error in reading sphere from file. \n";
102 if(!dict.
add(
"center", center_))
105 " error in writing center to dictionary "<<dict.
globalName()<<
endl;
110 if(!dict.
add(
"radius",
sqrt(radius2_)) )
113 " error in writing radius to dictionary "<<dict.
globalName()<<
endl;
126 "error in reading sphere. \n";
139 "error in writing sphere. \n";
FUNCTION_H bool write(iOstream &os) const
virtual word globalName() const
bool add(const word &keyword, const float &v)
iOstream & endl(iOstream &os)
virtual bool check(const char *operation) const
#define fatalErrorInFunction
bool nextData(const word &keyword, T &data)
FUNCTION_H bool read(iIstream &is)
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
virtual const word & name() const
T getVal(const word &keyword) const
FUNCTION_H sphere(const realx3 ¢er, const real radius)
#define ioErrorInFile(fileName, lineNumber)
INLINE_FUNCTION_HD real sqrt(real x)
iOstream & writeWordEntry(const word &key, const T &value)