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