24 #ifndef VTKAMRENZOREADERINTERNAL_HPP_
25 #define VTKAMRENZOREADERINTERNAL_HPP_
27 #include "vtksys/SystemTools.hxx"
52 return( vtksys::SystemTools::GetFilenamePath(
std::string(path) ) );
69 { this->
DeepCopy(&other);
return *
this; }
138 std::vector< vtkEnzoReaderBlock >
Blocks;
142 void SetFileName(
char * fileName ) { this->FileName = fileName; }
151 const char* attribute,
int blockIdx,
vtkDataSet* pDataSet );
void ReadBlockStructures()
vtkEnzoReaderBlock(const vtkEnzoReaderBlock &other)
double SubdivisionRatio[3]
std::string GetBaseDirectory(const char *path)
std::string HierarchyFileName
abstract class to specify dataset behavior
std::vector< std::string > ParticleAttributeNames
std::vector< std::string > BlockAttributeNames
std::string DirectoryName
std::string ParticleFileName
void GetLevelBasedIds(std::vector< vtkEnzoReaderBlock > &blocks)
void ReadGeneralParameters()
void SetFileName(char *fileName)
void DeepCopy(const vtkEnzoReaderBlock *other)
vtkEnzoReaderBlock & operator=(const vtkEnzoReaderBlock &other)
abstract superclass for arrays of numeric data
int BlockCellDimensions[3]
std::string BlockFileName
int BlockNodeDimensions[3]
std::string BoundaryFileName
std::string MajorFileName
std::vector< vtkEnzoReaderBlock > Blocks
int GetBlockAttribute(const char *attribute, int blockIdx, vtkDataSet *pDataSet)
int LoadAttribute(const char *attribute, int blockIdx)
std::vector< std::string > TracerParticleAttributeNames
std::vector< int > ChildrenIds
void DetermineRootBoundingBox()
void CheckAttributeNames()
void GetParentWiseIds(std::vector< vtkEnzoReaderBlock > &blocks)
static std::string GetEnzoDirectory(const char *path)