Read a Peano patch file back into memory.
virtual ~PeanoTextPatchFileReader()=default
virtual Format getFormat() const
Format this reader supports.
static Header readHeader(const std::string &fileName)
Read only the header of a file.
virtual void readValues(std::istream &in, int numberOfValues, std::vector< double > &values) const
Read the quantities of one patch.
Content read(const std::string &fileName) const
Read the whole file.
std::vector< Patch > patches
std::string metaData
Content of the meta-data block of the file's header.
std::vector< double > values
All quantities of the patch in the order they are in the file.
std::vector< double > size
std::vector< double > offset
Offset and size of the patch.
int numberOfUnknowns
Number of unknowns per entry, as stored in the file's cell metadata.
int numberOfDoFsPerAxis
Number of entries per axis, as stored in the file's cell metadata.