Go to the documentation of this file.
32 " error in reading vibrating from dictionary "<< dict.
globalName()<<
endl;
60 if( !dict.
add(
"angularFreq", angularFreq_) )
63 " error in writing angularFreq to dictionary "<< dict.
globalName()<<
endl;
67 if( !dict.
add(
"phaseAngle", phaseAngle_) )
70 " error in writing phaseAngle to dictionary "<< dict.
globalName()<<
endl;
74 if( !dict.
add(
"amplitude", amplitude_) )
77 " error in writing amplitude to dictionary "<< dict.
globalName()<<
endl;
#define notImplementedFunction
Report that a function is yet not implemented.
T getValOrSet(const word &keyword, const T &setVal) const
get the value of data entry or if not found, set the value to setVal
#define fatalExit
Fatal exit.
FUNCTION_H bool write(dictionary &dict) const
virtual word globalName() const
global name of entry, separated with dots
bool add(const word &keyword, const float &v)
add a float dataEntry
FUNCTION_H bool read(const dictionary &dict)
iOstream & endl(iOstream &os)
Add newline and flush stream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
FUNCTION_H bool read(const dictionary &dict)
T getVal(const word &keyword) const
get the value of data entry
FUNCTION_H bool write(dictionary &dict) const
FUNCTION_HD vibrating()=default
Interface class for any output stream.
iOstream & writeWordEntry(const word &key, const T &value)
Write a keyword/value entry.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...