11#ifndef vtkAMRFlashReaderInternal_h
12#define vtkAMRFlashReaderInternal_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
41VTK_ABI_NAMESPACE_BEGIN
99 std::string sepaName = variable;
101 if (sepaName.length() > 9 && sepaName.substr(0, 9) ==
"particle_")
103 sepaName = std::string(
"Particles/") + sepaName.substr(9);
107 sepaName = std::string(
"Particles/") + sepaName;
161 static std::string particleName;
163 return particleName.c_str();
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
const char * GetParticleName(char *variableName)
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
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