Go to the documentation of this file.
20 #ifndef __readFromTimeFolder_hpp__
21 #define __readFromTimeFolder_hpp__
57 std::pair<bool, IOfileHeader>
71 fieldTYPENAME, fldType, space) )
74 "error in extracting type from "<<fieldTYPENAME<<
endl;
97 if( !pointFieldGetType<T>(fldType) )
104 if( flType == fldType )
129 auto Ptr = makeUnique<pointField_H<T>>
146 auto Ptr = makeUnique<pointField_H<T>>
177 auto Ptr = makeUnique<pointField_H<T>>
205 auto Ptr = makeUnique<pointField_D<T>>
227 #endif //__readFromTimeFolder_hpp__
std::pair< bool, IOfileHeader > fieldExists(word fieldName) const
#define fatalExit
Fatal exit.
uniquePtr< pointField_H< T > > readPointField_H(word const &name)
T & lookupObject(const word &name)
return a ref to the underlaying data in the object
bool pointFieldFileGetType(word fieldName, word &typeName) const
bool lookupObjectName(const word &nm) const
iOstream & endl(iOstream &os)
Add newline and flush stream.
bool pointFieldGetType(word &typeName) const
bool pointFieldGetCheckType(word const &fieldName, word &typeName) const
const char *const pointStructureFile__
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
bool checkForPointStructure() const
virtual fileSystem path() const
readFromTimeFolder(repository &rep)
bool pointFieldGetType(std::string TYPENAME, std::string &fieldType, std::string &fieldSpace)
uniquePtr< pointField_D< T > > readPointField_D(word const &name)
uniquePtr< pointField_H< T > > createUniformPointField_H(word const &name, T value, bool regRep=true)