Go to the documentation of this file.
22 #ifndef __triSurfaceFieldToVTK_hpp__
23 #define __triSurfaceFieldToVTK_hpp__
75 std::regex match(
"triSurfaceField\\<([A-Za-z1-9_]*)\\,([A-Za-z1-9_]*)\\>");
78 if(!std::regex_match(fieldType, search1, match))
return false;
79 if(!std::regex_match(TYPENAME, search2, match))
return false;
80 if(search1.size()!=3)
return false;
81 if(search1.size()!=search2.size())
return false;
82 return search1[1] == search2[1];
85 template<
typename Type>
bool checkTriFieldType(word objectType)
bool convertRealx3TypetriSurfaceField(Ostream &os, const IOfileHeader &header, multiTriSurface &tSurface)
bool convertTimeFolderTriSurfaceFieldsSeparate(multiTriSurface &surface, const fileSystem &destPath, real time, const word &bName, wordList &surfNames, wordList &fileNames)
Manages file pathes, manupulate and combines them.
bool convertTimeFolderTriSurfaceFields(systemControl &control, const fileSystem &destPath, const word &bName, bool separate, wordList &surfNames, wordList &fileNames)
bool triSurfaceToVTK(Ostream &os, const realx3 *points, const uint32x3 *vertices, const subSurface &subSurf)
bool convertRealx3TypetriSurfaceFieldSeparate(const fileSystem &destPath, const IOfileHeader &header, multiTriSurface &tSurface, const word &bName, real time)
bool regexCheck(const word &TYPENAME, const word &fieldType)
Standard output stream for BINARY and ASCII formats.
INLINE_FUNCTION_HD real surface(const realx3 &p1, const realx3 &p2, const realx3 &p3)
bool convertTimeFolderTriSurfaceFieldsSingle(multiTriSurface &surface, const fileSystem &destPath, real time, const word &bName, wordList &surfNames, wordList &fileNames)