VTK  9.4.20241031
Namespaces | Functions
cgio_helpers.h File Reference
#include "vtkCGNSReaderInternal.h"
#include <string.h>
#include <string>
#include <vector>
Include dependency graph for cgio_helpers.h:

Go to the source code of this file.

Namespaces

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

Functions

template<typename T >
int CGNSRead::readNodeData (int cgioNum, double nodeId, std::vector< T > &data)
 Read data of the specified type from the given node.
 
template<typename T >
int CGNSRead::readNodeDataAs (int cgioNum, double nodeId, std::vector< T > &data)
 
template<>
int CGNSRead::readNodeData< char > (int cgioNum, double nodeId, std::vector< char > &data)
 
int CGNSRead::readNodeStringData (int cgioNum, double nodeId, std::string &data)
 Read string data from the given node.
 
int CGNSRead::getNodeChildrenId (int cgioNum, double fatherId, std::vector< double > &childrenIds)
 Read IDs of all children for the node with the given ID.
 
int CGNSRead::readBaseIds (int cgioNum, double rootId, std::vector< double > &baseIds)
 Search for bases under the node with the given ID and read their IDs.
 
int CGNSRead::readBaseCoreInfo (int cgioNum, double baseId, CGNSRead::BaseInformation &baseInfo)
 Read name, cell and physical dimensions for the given CGNSBase_t node.
 
int CGNSRead::readBaseIteration (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 Read timesteps information in the given BaseIterativeData_t node.
 
int CGNSRead::readZoneIterInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 Read which type of pointers are used for temporal data in the given ZoneIterativeData_t node.
 
int CGNSRead::readSolInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 Read data arrays information in the given FlowSolution_t node.
 
int CGNSRead::readBaseFamily (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo, const std::string &parentPath="")
 Read base family information in the given Family_t node.
 
int CGNSRead::readBaseReferenceState (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 Read reference state information in the given ReferenceState_t node.
 
int CGNSRead::readZoneInfo (int cgioNum, double nodeId, CGNSRead::BaseInformation &baseInfo)
 Read general data array information in the given Zone_t node.
 
int CGNSRead::readZoneInfo (int cgioNum, double zoneId, CGNSRead::ZoneInformation &zoneInfo)
 Read family name and boundary conditions information in the given Zone_t node.
 
void CGNSRead::releaseIds (int cgioNum, const std::vector< double > &ids)
 Release all IDs in the vector.