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