24 #ifndef VTKAMRFLASHREADERINTERNAL_HPP_
25 #define VTKAMRFLASHREADERINTERNAL_HPP_
33 #include "vtkSetGet.h"
49 #define FLASH_READER_MAX_DIMS 3
50 #define FLASH_READER_LEAF_BLOCK 1
51 #define FLASH_READER_FLASH3_FFV8 8
52 #define FLASH_READER_FLASH3_FFV9 9
113 if ( sepaName.length() > 9 && sepaName.substr(0,9) ==
"particle_" )
115 sepaName =
std::string(
"Particles/" ) + sepaName.substr( 9 );
173 void SetFileName(
char * fileName ) { this->FileName = fileName; }
178 return particleName.c_str();
187 ( hid_t fileIndx,
bool bTmCycle =
false );
198 ( 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