Go to the documentation of this file.
35 " error in reading rotatingAxis from dictionary "<< dict.
globalName()<<
endl;
51 rotating_(!
equal(omega,0.0))
91 if( !dict.
add(
"omega", omega_) )
94 " error in writing omega to dictionary "<< dict.
globalName()<<
endl;
106 if( !rotatingAxis::timeInterval::read(is))
return false;
107 if( !rotatingAxis::line::read(is))
return false;
112 is >> omegaw >> omega;
118 if(omegaw !=
"omega")
121 " expected omega but found "<< omegaw <<
endl;
137 if( !rotatingAxis::timeInterval::write(os))
return false;
138 if( !rotatingAxis::line::write(os) )
return false;
FUNCTION_HD real setOmega(real omega)
T getValOrSet(const word &keyword, const T &setVal) const
FUNCTION_H bool write(dictionary &dict) const
FUNCTION_H bool write(dictionary &ditc) const
char readEndStatement(const char *funcName)
virtual word globalName() const
bool add(const word &keyword, const float &v)
FUNCTION_H bool read(const dictionary &dict)
iOstream & endl(iOstream &os)
FUNCTION_H bool write(dictionary &dict) const
virtual bool check(const char *operation) const
FUNCTION_H bool read(const dictionary &dict)
#define fatalErrorInFunction
INLINE_FUNCTION_HD real omega() const
virtual const word & name() const
FUNCTION_H bool read(const dictionary &dict)
#define ioErrorInFile(fileName, lineNumber)
INLINE_FUNCTION_HD bool equal(const real &s1, const real &s2)
iOstream & writeWordEntry(const word &key, const T &value)
FUNCTION_HD rotatingAxis()