25 #ifndef vtkAMRFlashReaderInternal_h
26 #define vtkAMRFlashReaderInternal_h
34 #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 );
174 void SetFileName(
char * fileName ) { this->FileName = fileName; }
179 return particleName.c_str();
188 ( hid_t fileIndx,
bool bTmCycle =
false );
199 ( hid_t dataIndx,
const char * compName,
double * dataBuff );
int MinGlobalDivisionIds[3]
void ReadIntegerScalars(hid_t fileIndx)
FlashReaderSimulationInformation SimulationInformation
void ReadParticleAttributesFLASH3()
std::map< std::string, int > ParticleAttributeNamesToIds
abstract class to specify dataset behavior
const char * GetParticleName(char *variableName)
void GetBlockAttribute(const char *atribute, int blockIdx, vtkDataSet *pDataSet)
FlashReaderSimulationParameters SimulationParameters
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< hid_t > ParticleAttributeTypes
std::vector< Block > Blocks
struct tagFlashReaderDoubleScalar FlashReaderDoubleScalar
void GetBlockMinMaxGlobalDivisionIds()
static std::string GetSeparatedParticleName(const std::string &variable)
void ReadSimulationParameters(hid_t fileIndx, bool bTmCycle=false)
~vtkFlashReaderInternal()
void ReadRefinementLevels()
int BlockGridDimensions[3]
struct tagFlashReaderIntegerScalar FlashReaderIntegerScalar
int NumberOfChildrenPerBlock
std::vector< std::string > AttributeNames
int BlockCellDimensions[3]
int MaxGlobalDivisionIds[3]
std::vector< std::string > ParticleAttributeNames
void ReadBlockStructures()
void ReadParticleAttributes()
void ReadVersionInformation(hid_t fileIndx)
std::vector< int > LeafBlocks