VTK  9.4.20241117
Classes | Namespaces | Typedefs | Functions | Variables
vtkCGNSReaderInternal.h File Reference
#include <iostream>
#include <map>
#include <string.h>
#include <string>
#include <vector>
#include "vtkCGNSReader.h"
#include "vtkDataArraySelection.h"
#include "vtkIdTypeArray.h"
#include "vtkMultiProcessController.h"
#include "vtkNew.h"
#include "vtkPoints.h"
#include "vtk_cgns.h"
#include <VTK_CGNS(cgnslib.h)>
#include <VTK_CGNS(cgns_io.h)>
Include dependency graph for vtkCGNSReaderInternal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CGNSRead::detail::is_double< T >
 
struct  CGNSRead::detail::is_double< double >
 
struct  CGNSRead::detail::is_float< T >
 
struct  CGNSRead::detail::is_float< float >
 
class  CGNSRead::vtkCGNSArraySelection
 
struct  CGNSRead::Variable
 
struct  CGNSRead::CGNSVariable
 
struct  CGNSRead::CGNSVector
 
struct  CGNSRead::VTKVariable
 
class  CGNSRead::ZoneBCInformation
 
class  CGNSRead::ZoneInformation
 
class  CGNSRead::FamilyInformation
 
class  CGNSRead::BaseInformation
 
class  CGNSRead::vtkCGNSMetaData
 

Namespaces

namespace  CGNSRead
 This file defines functions used by vtkCGNSReader and vtkCGNSReaderInternal.
 
namespace  CGNSRead::detail
 

Typedefs

typedef char CGNSRead::char_33[33]
 

Functions

template<typename T >
constexpr const char * CGNSRead::detail::cgns_type_name () noexcept
 
template<>
constexpr const char * CGNSRead::detail::cgns_type_name< float > () noexcept
 
template<>
constexpr const char * CGNSRead::detail::cgns_type_name< double > () noexcept
 
template<>
constexpr const char * CGNSRead::detail::cgns_type_name< vtkTypeInt32 > () noexcept
 
template<>
constexpr const char * CGNSRead::detail::cgns_type_name< vtkTypeInt64 > () noexcept
 
bool CGNSRead::compareName (const char_33 nameOne, const char_33 nameTwo)
 
void CGNSRead::removeTrailingWhiteSpaces (char_33 name)
 
std::vector< CGNSVector >::iterator CGNSRead::getVectorFromName (std::vector< CGNSVector > &vectorList, const char_33 name)
 
bool CGNSRead::isACGNSVariable (const std::vector< CGNSVariable > &varList, const char_33 name)
 
void CGNSRead::fillVectorsFromVars (std::vector< CGNSRead::CGNSVariable > &vars, std::vector< CGNSRead::CGNSVector > &vectors, int physicalDim)
 
int CGNSRead::setUpRind (int cgioNum, double rindId, int *rind)
 
int CGNSRead::getFirstNodeId (int cgioNum, double parentId, const char *label, double *id, const char *name=nullptr)
 Find the first node with the given label.
 
int CGNSRead::get_section_connectivity (int cgioNum, double cgioSectionId, 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 CGNSRead::get_section_start_offset (int cgioNum, double cgioSectionId, 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 CGNSRead::get_section_parent_elements (int cgioNum, double cgioSectionId, 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 CGNSRead::GetVTKElemType (CGNS_ENUMT(ElementType_t) elemType, bool &higherOrderWarning, bool &cgnsOrderFlag)
 
void CGNSRead::CGNS2VTKorder (vtkIdType size, const int *cells_types, vtkIdType *elements)
 
void CGNSRead::ReorderMonoCellPointsCGNS2VTK (vtkIdType size, int cell_type, vtkIdType numPointsPerCell, vtkIdType *elements)
 
template<typename T , typename Y >
int CGNSRead::get_XYZ_mesh (int cgioNum, const std::vector< double > &gridChildId, const std::size_t &nCoordsArray, int cellDim, 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 CGNSRead::ReadBase (vtkCGNSReader *reader, const BaseInformation &baseInfo)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool CGNSRead::ReadGridForZone (vtkCGNSReader *reader, const BaseInformation &baseInfo, const ZoneInformation &zoneInfo)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool CGNSRead::ReadPatchesForBase (vtkCGNSReader *reader, const BaseInformation &)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
bool CGNSRead::ReadSurfacesForBase (vtkCGNSReader *reader, const BaseInformation &)
 Helpers to encapsulate all logic to read various nodes (zones, bc patches etc.).
 
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.).
 

Variables

const std::map< CGNS_ENUMT(ElementType_t), int > CGNSRead::CellDimensions