www.cemf.ir
pFlow::PFtoVTK Namespace Reference

Functions

template<typename IntType , typename IncludeMaskType >
bool addIntPointField (iOstream &os, word fieldName, int32 numActivePoints, IntType *field, IncludeMaskType includeMask)
 
template<typename IncludeMaskType >
bool addRealPointField (iOstream &os, word fieldName, int32 numActivePoints, real *field, IncludeMaskType includeMask)
 
template<typename IncludeMaskType >
bool addRealx3PointField (iOstream &os, word fieldName, int32 numActivePoints, realx3 *field, IncludeMaskType includeMask)
 
bool regexCheck (word TYPENAME, word fieldType)
 
template<typename Type >
bool checkFieldType (word objectType)
 
template<typename T >
bool convertIntPointField (iOstream &os, const IOfileHeader &header, const pointStructure &pStruct)
 
bool convertRealTypePointField (iOstream &os, const IOfileHeader &header, const pointStructure &pStruct)
 
bool convertRealx3TypePointField (iOstream &os, const IOfileHeader &header, const pointStructure &pStruct)
 
template<typename IncludeMaskType >
bool addUndstrcuturedGridField (iOstream &os, int32 numActivePoints, realx3 *position, IncludeMaskType includeMask)
 
bool convertTimeFolderPointFields (fileSystem timeFolder, real time, fileSystem destPath, word bName)
 
bool convertTimeFolderPointFieldsSelected (fileSystem timeFolder, real time, fileSystem destPath, word bName, wordVector fieldsName, bool mustExist)
 

Function Documentation

◆ addIntPointField()

bool addIntPointField ( iOstream os,
word  fieldName,
int32  numActivePoints,
IntType *  field,
IncludeMaskType  includeMask 
)

Definition at line 221 of file pointFieldToVTK.hpp.

Referenced by convertIntPointField().

+ Here is the caller graph for this function:

◆ addRealPointField()

bool addRealPointField ( iOstream os,
word  fieldName,
int32  numActivePoints,
real field,
IncludeMaskType  includeMask 
)

Definition at line 244 of file pointFieldToVTK.hpp.

Referenced by convertRealTypePointField().

+ Here is the caller graph for this function:

◆ addRealx3PointField()

bool addRealx3PointField ( iOstream os,
word  fieldName,
int32  numActivePoints,
realx3 field,
IncludeMaskType  includeMask 
)

Definition at line 266 of file pointFieldToVTK.hpp.

References triple< T >::x(), triple< T >::y(), and triple< T >::z().

Referenced by convertRealx3TypePointField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ regexCheck()

bool pFlow::PFtoVTK::regexCheck ( word  TYPENAME,
word  fieldType 
)

Definition at line 58 of file pointFieldToVTK.hpp.

Referenced by checkFieldType().

+ Here is the caller graph for this function:

◆ checkFieldType()

bool pFlow::PFtoVTK::checkFieldType ( word  objectType)

Definition at line 70 of file pointFieldToVTK.hpp.

References regexCheck().

+ Here is the call graph for this function:

◆ convertIntPointField()

bool pFlow::PFtoVTK::convertIntPointField ( iOstream os,
const IOfileHeader header,
const pointStructure pStruct 
)

Definition at line 81 of file pointFieldToVTK.hpp.

References addIntPointField(), defaultColor, greenColor, IOfileHeader::objectName(), IOfileHeader::objectType(), pStruct, and REPORT.

+ Here is the call graph for this function:

◆ convertRealTypePointField()

bool pFlow::PFtoVTK::convertRealTypePointField ( iOstream os,
const IOfileHeader header,
const pointStructure pStruct 
)

Definition at line 119 of file pointFieldToVTK.hpp.

References addRealPointField(), defaultColor, endREPORT, greenColor, IOfileHeader::objectName(), IOfileHeader::objectType(), pStruct, and REPORT.

Referenced by convertTimeFolderPointFields(), and convertTimeFolderPointFieldsSelected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convertRealx3TypePointField()

bool pFlow::PFtoVTK::convertRealx3TypePointField ( iOstream os,
const IOfileHeader header,
const pointStructure pStruct 
)

Definition at line 149 of file pointFieldToVTK.hpp.

References addRealx3PointField(), defaultColor, endREPORT, greenColor, IOfileHeader::objectName(), IOfileHeader::objectType(), pStruct, and REPORT.

Referenced by convertTimeFolderPointFields(), and convertTimeFolderPointFieldsSelected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addUndstrcuturedGridField()

bool pFlow::PFtoVTK::addUndstrcuturedGridField ( iOstream os,
int32  numActivePoints,
realx3 position,
IncludeMaskType  includeMask 
)

Definition at line 181 of file pointFieldToVTK.hpp.

References pFlow::endl(), triple< T >::x(), triple< T >::y(), and triple< T >::z().

Referenced by convertTimeFolderPointFields(), and convertTimeFolderPointFieldsSelected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convertTimeFolderPointFields()

bool pFlow::PFtoVTK::convertTimeFolderPointFields ( fileSystem  timeFolder,
real  time,
fileSystem  destPath,
word  bName 
)

◆ convertTimeFolderPointFieldsSelected()

bool pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected ( fileSystem  timeFolder,
real  time,
fileSystem  destPath,
word  bName,
wordVector  fieldsName,
bool  mustExist 
)