Functions | |
bool | regexCheck (word TYPENAME, word fieldType) |
template<typename Type > | |
bool | checkFieldType (word objectType) |
template<typename Type > | |
bool | triDataToVTK (iOstream &os, const Type &dataEntity) |
template<> | |
bool | triDataToVTK (iOstream &os, const triSurface &surface) |
template<> | |
bool | triDataToVTK (iOstream &os, const multiTriSurface &surface) |
bool | addRealx3TriSurfaceField (iOstream &os, word fieldName, int32 size, realx3 *field) |
bool | convertRealx3TypetriSurfaceField (iOstream &os, const IOfileHeader &header, const multiTriSurface &tSurface) |
bool | convertTimeFolderTriSurfaceFields (fileSystem timeFolder, real time, fileSystem destPath, word bName) |
Definition at line 36 of file triSurfaceFieldToVTK.hpp.
Referenced by checkFieldType().
bool pFlow::TSFtoVTK::checkFieldType | ( | word | objectType | ) |
Definition at line 48 of file triSurfaceFieldToVTK.hpp.
References regexCheck().
bool pFlow::TSFtoVTK::triDataToVTK | ( | iOstream & | os, |
const Type & | dataEntity | ||
) |
Definition at line 58 of file triSurfaceFieldToVTK.hpp.
References fatalErrorInFunction, and fatalExit.
Referenced by convertTimeFolderTriSurfaceFields().
bool pFlow::TSFtoVTK::triDataToVTK | ( | iOstream & | os, |
const triSurface & | surface | ||
) |
Definition at line 67 of file triSurfaceFieldToVTK.hpp.
References pFlow::endl(), VectorSingle< T, MemorySpace >::hostVector(), triSurface::numPoints(), triSurface::numTriangles(), triSurface::points(), and triSurface::vertices().
bool pFlow::TSFtoVTK::triDataToVTK | ( | iOstream & | os, |
const multiTriSurface & | surface | ||
) |
Definition at line 95 of file triSurfaceFieldToVTK.hpp.
References pFlow::endl(), VectorSingle< T, MemorySpace >::hostVector(), triSurface::numPoints(), triSurface::numTriangles(), triSurface::points(), and triSurface::vertices().
bool pFlow::TSFtoVTK::addRealx3TriSurfaceField | ( | iOstream & | os, |
word | fieldName, | ||
int32 | size, | ||
realx3 * | field | ||
) |
Definition at line 132 of file triSurfaceFieldToVTK.hpp.
References triple< T >::x(), triple< T >::y(), and triple< T >::z().
Referenced by convertRealx3TypetriSurfaceField().
bool pFlow::TSFtoVTK::convertRealx3TypetriSurfaceField | ( | iOstream & | os, |
const IOfileHeader & | header, | ||
const multiTriSurface & | tSurface | ||
) |
Definition at line 151 of file triSurfaceFieldToVTK.hpp.
References addRealx3TriSurfaceField(), defaultColor, endREPORT, greenColor, IOfileHeader::objectName(), IOfileHeader::objectType(), REPORT, and triSurface::size().
Referenced by convertTimeFolderTriSurfaceFields().
bool pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFields | ( | fileSystem | timeFolder, |
real | time, | ||
fileSystem | destPath, | ||
word | bName | ||
) |
Definition at line 180 of file triSurfaceFieldToVTK.hpp.
References pFlow::containingFiles(), convertRealx3TypetriSurfaceField(), pFlow::endl(), endREPORT, fatalErrorInFunction, vtkFile::fileName(), IOfileHeader::headerOk(), pFlow::nl, pFlow::output, objectFile::READ_ALWAYS, REPORT, triDataToVTK(), pFlow::triSurfaceFile__, objectFile::WRITE_ALWAYS, and yellowText.
Referenced by main().