43 std::vector< tarch::la::Vector<Dimensions,double> >
_Velocity;
87 std::vector< int > readIntScalar(
88 const H5::H5File& file,
89 const H5std_string& groupName,
90 const H5std_string& datasetName );
103 std::vector< double > readDoubleScalar(
104 const H5::H5File& file,
105 const H5std_string& groupName,
106 const H5std_string& datasetName );
119 std::list< tarch::la::Vector<Dimensions,double> > readDoubleArray(
120 const H5::H5File& file,
121 const H5std_string& groupName,
122 const H5std_string& datasetName );
135 std::vector< tarch::la::Vector<Dimensions,double> > readFloatArray(
136 const H5::H5File& file,
137 const H5std_string& groupName,
138 const H5std_string& datasetName );
An HDF5 file reader This class works if and only if you have compiled Peano using –with-hdf5.
std::vector< double > _MassWithinVoxel
std::vector< double > _InternalEnergyWithinVoxel
std::vector< double > _InternalEnergy
std::vector< double > getMassWithinVoxel() const
std::vector< double > _SmoothingLengthWithinVoxel
bool isVoxelEmpty() const
Check whether voxel data carried by this instance of FileReaderHDF5 is empty.
void readHDF5File(const std::string &filename)
Read HDF5 file in SWIFT format.
std::vector< double > getSmoothingLengthWithinVoxel() const
std::vector< double > _SmoothingLength
std::vector< double > getInternalEnergyWithinVoxel() const
std::vector< double > _Mass
void clearVoxel()
Clear data of a voxel carried by this instance of FileReaderHDF5.
std::list< tarch::la::Vector< Dimensions, double > > getParticlesWithinVoxel(const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, bool remove)
Take particles from database which fall into given voxel.
std::vector< tarch::la::Vector< Dimensions, double > > getVelocityWithinVoxel() const
std::list< tarch::la::Vector< Dimensions, double > > _Coordinates
std::vector< tarch::la::Vector< Dimensions, double > > _VelocityWithinVoxel
std::list< int > _ParticleIndex
bool getNumberOfCoordinates() const
static tarch::logging::Log _log
std::vector< int > getParticleIDsWithinVoxel() const
std::vector< tarch::la::Vector< Dimensions, double > > _Velocity
std::vector< int > _ParticleIDsWithinVoxel
std::vector< int > _ParticleIDs