VTK  9.1.0
Namespaces | Classes | Typedefs | Functions
CGNSRead Namespace Reference

Namespaces

namespace  detail
 

Classes

class  BaseInformation
 
struct  CGNSVariable
 
struct  CGNSVector
 
class  FamilyInformation
 
struct  Variable
 
class  vtkCGNSArraySelection
 
class  vtkCGNSCache
 
class  vtkCGNSMetaData
 
struct  VTKVariable
 
class  ZoneBCInformation
 
class  ZoneInformation
 

Typedefs

typedef char char_33[33]
 

Functions

template<typename T >
int readNodeData (int cgioNum, double nodeId, std::vector< T > &data)
 
template<typename T >
int readNodeDataAs (int cgioNum, double nodeId, std::vector< T > &data)
 
template<>
int readNodeData< char > (int cgioNum, double nodeId, std::vector< char > &data)
 
int readNodeStringData (int cgioNum, double nodeId, std::string &data)
 
int getNodeChildrenId (int cgioNum, double fatherId, std::vector< double > &childrenIds)
 
int readBaseIds (int cgioNum, double rootId, std::vector< double > &baseIds)
 
int readBaseCoreInfo (int cgioNum, double baseId, CGNSRead::BaseInformation &baseInfo)
 
int readBaseIteration (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 
int readZoneIterInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 
int readSolInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 
int readBaseFamily (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo, const std::string &parentPath="")
 
int readBaseReferenceState (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 
int readZoneInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 
int readZoneInfo (int cgioNum, double zoneId, CGNSRead::ZoneInformation &zoneInfo)
 Fills up ZoneInformation using the zoneId for the Zone_t node.
 
void releaseIds (int cgioNum, const std::vector< double > &ids)
 release all ids in the vector.
 
bool compareName (const char_33 nameOne, const char_33 nameTwo)
 
void removeTrailingWhiteSpaces (char_33 name)
 
std::vector< CGNSVector >::iterator getVectorFromName (std::vector< CGNSVector > &vectorList, const char_33 name)
 
bool isACGNSVariable (const std::vector< CGNSVariable > &varList, const char_33 name)
 
void fillVectorsFromVars (std::vector< CGNSRead::CGNSVariable > &vars, std::vector< CGNSRead::CGNSVector > &vectors, const int physicalDim)
 
int setUpRind (const int cgioNum, const double rindId, int *rind)
 
int getFirstNodeId (const int cgioNum, const double parentId, const char *label, double *id, const char *name=NULL)
 Find the first node with the given label.
 
int get_section_connectivity (const int cgioNum, const double cgioSectionId, const int dim, const cgsize_t *srcStart, const cgsize_t *srcEnd, const cgsize_t *srcStride, const cgsize_t *memStart, const cgsize_t *memEnd, const cgsize_t *memStride, const cgsize_t *memDim, vtkIdType *localElements)
 
int get_section_start_offset (const int cgioNum, const double cgioSectionId, const int dim, const cgsize_t *srcStart, const cgsize_t *srcEnd, const cgsize_t *srcStride, const cgsize_t *memStart, const cgsize_t *memEnd, const cgsize_t *memStride, const cgsize_t *memDim, vtkIdType *localElementsIdx)
 
int GetVTKElemType (CGNS_ENUMT(ElementType_t) elemType, bool &higherOrderWarning, bool &cgnsOrderFlag)
 
void CGNS2VTKorder (const vtkIdType size, const int *cells_types, vtkIdType *elements)
 
void CGNS2VTKorderMonoElem (const vtkIdType size, const int cell_type, vtkIdType *elements)
 
template<typename T , typename Y >
int get_XYZ_mesh (const int cgioNum, const std::vector< double > &gridChildId, const std::size_t &nCoordsArray, const int cellDim, const vtkIdType nPts, const cgsize_t *srcStart, const cgsize_t *srcEnd, const cgsize_t *srcStride, const cgsize_t *memStart, const cgsize_t *memEnd, const cgsize_t *memStride, const cgsize_t *memDims, vtkPoints *points)
 
bool ReadBase (vtkCGNSReader *reader, const BaseInformation &baseInfo)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool ReadGridForZone (vtkCGNSReader *reader, const BaseInformation &baseInfo, const ZoneInformation &zoneInfo)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool ReadPatchesForBase (vtkCGNSReader *reader, const BaseInformation &)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool ReadPatch (vtkCGNSReader *reader, const BaseInformation &, const ZoneInformation &zoneInfo, const std::string &patchFamilyname)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 

Typedef Documentation

◆ char_33

typedef char CGNSRead::char_33[33]

Definition at line 114 of file vtkCGNSReaderInternal.h.

Function Documentation

◆ readNodeData()

template<typename T >
int CGNSRead::readNodeData ( int  cgioNum,
double  nodeId,
std::vector< T > &  data 
)
inline

Definition at line 43 of file cgio_helpers.h.

◆ readNodeDataAs()

template<typename T >
int CGNSRead::readNodeDataAs ( int  cgioNum,
double  nodeId,
std::vector< T > &  data 
)
inline

Definition at line 83 of file cgio_helpers.h.

◆ readNodeData< char >()

template<>
int CGNSRead::readNodeData< char > ( int  cgioNum,
double  nodeId,
std::vector< char > &  data 
)

◆ readNodeStringData()

int CGNSRead::readNodeStringData ( int  cgioNum,
double  nodeId,
std::string &  data 
)

◆ getNodeChildrenId()

int CGNSRead::getNodeChildrenId ( int  cgioNum,
double  fatherId,
std::vector< double > &  childrenIds 
)

◆ readBaseIds()

int CGNSRead::readBaseIds ( int  cgioNum,
double  rootId,
std::vector< double > &  baseIds 
)

◆ readBaseCoreInfo()

int CGNSRead::readBaseCoreInfo ( int  cgioNum,
double  baseId,
CGNSRead::BaseInformation baseInfo 
)

◆ readBaseIteration()

int CGNSRead::readBaseIteration ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo 
)

◆ readZoneIterInfo()

int CGNSRead::readZoneIterInfo ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo 
)

◆ readSolInfo()

int CGNSRead::readSolInfo ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo 
)

◆ readBaseFamily()

int CGNSRead::readBaseFamily ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo,
const std::string &  parentPath = "" 
)

◆ readBaseReferenceState()

int CGNSRead::readBaseReferenceState ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo 
)

◆ readZoneInfo() [1/2]

int CGNSRead::readZoneInfo ( int  cgioNum,
double  nodeId,
CGNSRead::BaseInformation baseInfo 
)

◆ readZoneInfo() [2/2]

int CGNSRead::readZoneInfo ( int  cgioNum,
double  zoneId,
CGNSRead::ZoneInformation zoneInfo 
)

Fills up ZoneInformation using the zoneId for the Zone_t node.

◆ releaseIds()

void CGNSRead::releaseIds ( int  cgioNum,
const std::vector< double > &  ids 
)

release all ids in the vector.

◆ ReadBase()

bool CGNSRead::ReadBase ( vtkCGNSReader reader,
const BaseInformation baseInfo 
)

Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).

◆ ReadGridForZone()

bool CGNSRead::ReadGridForZone ( vtkCGNSReader reader,
const BaseInformation baseInfo,
const ZoneInformation zoneInfo 
)

Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).

◆ ReadPatchesForBase()

bool CGNSRead::ReadPatchesForBase ( vtkCGNSReader reader,
const BaseInformation  
)

Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).

◆ ReadPatch()

bool CGNSRead::ReadPatch ( vtkCGNSReader reader,
const BaseInformation ,
const ZoneInformation zoneInfo,
const std::string &  patchFamilyname 
)

Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).

◆ compareName()

bool CGNSRead::compareName ( const char_33  nameOne,
const char_33  nameTwo 
)
inline

Definition at line 357 of file vtkCGNSReaderInternal.h.

◆ removeTrailingWhiteSpaces()

void CGNSRead::removeTrailingWhiteSpaces ( char_33  name)
inline

Definition at line 364 of file vtkCGNSReaderInternal.h.

◆ getVectorFromName()

std::vector< CGNSVector >::iterator CGNSRead::getVectorFromName ( std::vector< CGNSVector > &  vectorList,
const char_33  name 
)
inline

Definition at line 378 of file vtkCGNSReaderInternal.h.

◆ isACGNSVariable()

bool CGNSRead::isACGNSVariable ( const std::vector< CGNSVariable > &  varList,
const char_33  name 
)
inline

Definition at line 393 of file vtkCGNSReaderInternal.h.

◆ fillVectorsFromVars()

void CGNSRead::fillVectorsFromVars ( std::vector< CGNSRead::CGNSVariable > &  vars,
std::vector< CGNSRead::CGNSVector > &  vectors,
const int  physicalDim 
)

◆ setUpRind()

int CGNSRead::setUpRind ( const int  cgioNum,
const double  rindId,
int *  rind 
)

◆ getFirstNodeId()

int CGNSRead::getFirstNodeId ( const int  cgioNum,
const double  parentId,
const char *  label,
double *  id,
const char *  name = NULL 
)

Find the first node with the given label.

If name is non-NULL, then the first node with given label that has the given name as well.

◆ get_section_connectivity()

int CGNSRead::get_section_connectivity ( const int  cgioNum,
const double  cgioSectionId,
const int  dim,
const cgsize_t *  srcStart,
const cgsize_t *  srcEnd,
const cgsize_t *  srcStride,
const cgsize_t *  memStart,
const cgsize_t *  memEnd,
const cgsize_t *  memStride,
const cgsize_t *  memDim,
vtkIdType localElements 
)

◆ get_section_start_offset()

int CGNSRead::get_section_start_offset ( const int  cgioNum,
const double  cgioSectionId,
const int  dim,
const cgsize_t *  srcStart,
const cgsize_t *  srcEnd,
const cgsize_t *  srcStride,
const cgsize_t *  memStart,
const cgsize_t *  memEnd,
const cgsize_t *  memStride,
const cgsize_t *  memDim,
vtkIdType localElementsIdx 
)

◆ GetVTKElemType()

int CGNSRead::GetVTKElemType ( CGNS_ENUMT(ElementType_t)  elemType,
bool &  higherOrderWarning,
bool &  cgnsOrderFlag 
)

◆ CGNS2VTKorder()

void CGNSRead::CGNS2VTKorder ( const vtkIdType  size,
const int *  cells_types,
vtkIdType elements 
)

◆ CGNS2VTKorderMonoElem()

void CGNSRead::CGNS2VTKorderMonoElem ( const vtkIdType  size,
const int  cell_type,
vtkIdType elements 
)

◆ get_XYZ_mesh()

template<typename T , typename Y >
int CGNSRead::get_XYZ_mesh ( const int  cgioNum,
const std::vector< double > &  gridChildId,
const std::size_t &  nCoordsArray,
const int  cellDim,
const vtkIdType  nPts,
const cgsize_t *  srcStart,
const cgsize_t *  srcEnd,
const cgsize_t *  srcStride,
const cgsize_t *  memStart,
const cgsize_t *  memEnd,
const cgsize_t *  memStride,
const cgsize_t *  memDims,
vtkPoints points 
)

Definition at line 437 of file vtkCGNSReaderInternal.h.