Go to the documentation of this file.
60 radius2_(radius*radius)
65 "error in the input parameters for cylinder"<<
endl;
88 if(!calculateParams())
91 "error in the input parameters for cylinder in dictionary "<< dict.
globalName()<<
endl;
106 "error in reading cylinder from file. \n";
151 if(!dict.
add(
"p1", p1_))
158 if(!dict.
add(
"p2", p2_))
165 if(!dict.
add(
"radius",
sqrt(radius2_)) )
168 " error in writing radius to dictionary "<<dict.
globalName()<<
endl;
181 "error in reading cylinder. \n";
194 "error in writing cylinder. \n";
FUNCTION_H bool write(iOstream &os) const
realx3 transferBackZ(const realx3 &p)
virtual word globalName() const
bool add(const word &keyword, const float &v)
iOstream & endl(iOstream &os)
virtual bool check(const char *operation) const
INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)
#define fatalErrorInFunction
bool nextData(const word &keyword, T &data)
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
FUNCTION_H cylinder(const realx3 &p1, const realx3 &p2, const real radius)
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
virtual const word & name() const
T getVal(const word &keyword) const
FUNCTION_H bool read(iIstream &is)
#define ioErrorInFile(fileName, lineNumber)
FUNCTION_H bool calculateParams()
INLINE_FUNCTION_HD real sqrt(real x)
iOstream & writeWordEntry(const word &key, const T &value)