23 #ifndef vtkAMRFlashReaderInternal_h
24 #define vtkAMRFlashReaderInternal_h
39 #include "vtkSetGet.h"
48 #define FLASH_READER_MAX_DIMS 3
49 #define FLASH_READER_LEAF_BLOCK 1
50 #define FLASH_READER_FLASH3_FFV8 8
51 #define FLASH_READER_FLASH3_FFV9 9
53 VTK_ABI_NAMESPACE_BEGIN
113 if (sepaName.length() > 9 && sepaName.substr(0, 9) ==
"particle_")
115 sepaName =
std::string(
"Particles/") + sepaName.substr(9);
175 return particleName.c_str();
202 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
void ReadIntegerScalars(hid_t fileIndx)
void ReadVersionInformation(hid_t fileIndx)
FlashReaderSimulationParameters SimulationParameters
void ReadRefinementLevels()
~vtkFlashReaderInternal()
void ReadDataAttributeNames()
std::map< std::string, int > ParticleAttributeNamesToIds
int NumberOfNeighborsPerBlock
int NumberOfChildrenPerBlock
void ReadParticleAttributesFLASH3()
void GetBlockMinMaxGlobalDivisionIds()
std::vector< int > LeafBlocks
std::vector< FlashReaderBlock > Blocks
FlashReaderSimulationInformation SimulationInformation
void GetBlockAttribute(const char *attribute, int blockIdx, vtkDataSet *pDataSet)
std::vector< std::string > AttributeNames
int BlockCellDimensions[3]
void ReadDoubleScalars(hid_t fileIndx)
void ReadParticlesComponent(hid_t dataIndx, const char *compName, double *dataBuff)
std::vector< std::string > ParticleAttributeNames
const char * GetParticleName(char *variableName)
void ReadBlockStructures()
void ReadSimulationParameters(hid_t fileIndx, bool bTmCycle=false)
int BlockGridDimensions[3]
std::vector< hid_t > ParticleAttributeTypes
void ReadParticleAttributes()
void SetFileName(VTK_FILEPATH char *fileName)
int MaxGlobalDivisionIds[3]
int MinGlobalDivisionIds[3]
static std::string GetSeparatedParticleName(const std::string &variable)
struct tagFlashReaderBlock FlashReaderBlock
struct tagFlashReaderSimulationParameters FlashReaderSimulationParameters
struct tagFlashReaderDoubleScalar FlashReaderDoubleScalar
struct tagFlashReaderIntegerScalar FlashReaderIntegerScalar
struct tagFlashReaderSimulationInformation FlashReaderSimulationInformation