25 #ifndef vtkAMRFlashReaderInternal_h 26 #define vtkAMRFlashReaderInternal_h 41 #include "vtkSetGet.h" 50 #define FLASH_READER_MAX_DIMS 3 51 #define FLASH_READER_LEAF_BLOCK 1 52 #define FLASH_READER_FLASH3_FFV8 8 53 #define FLASH_READER_FLASH3_FFV9 9 114 if (sepaName.length() > 9 && sepaName.substr(0, 9) ==
"particle_")
116 sepaName =
std::string(
"Particles/") + sepaName.substr(9);
176 return particleName.c_str();
int MinGlobalDivisionIds[3]
void ReadIntegerScalars(hid_t fileIndx)
FlashReaderSimulationInformation SimulationInformation
void ReadParticleAttributesFLASH3()
abstract class to specify dataset behavior
const char * GetParticleName(char *variableName)
FlashReaderSimulationParameters SimulationParameters
std::vector< hid_t > ParticleAttributeTypes
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
std::vector< int > LeafBlocks
struct tagFlashReaderDoubleScalar FlashReaderDoubleScalar
void GetBlockMinMaxGlobalDivisionIds()
std::map< std::string, int > ParticleAttributeNamesToIds
static std::string GetSeparatedParticleName(const std::string &variable)
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]
int MaxGlobalDivisionIds[3]
void ReadBlockStructures()
std::vector< std::string > ParticleAttributeNames
std::vector< Block > Blocks
void ReadParticleAttributes()
void ReadVersionInformation(hid_t fileIndx)