13 #if !defined(KRATOS_HDF5_MODEL_PART_IO_H_INCLUDED)
14 #define KRATOS_HDF5_MODEL_PART_IO_H_INCLUDED
54 ModelPartIO(File::Pointer pFile, std::string
const& rPrefix);
61 std::size_t ReadNodesNumber()
override;
83 void WriteModelPart(
ModelPart& rModelPart)
override;
95 virtual void StoreWriteInfo(std::string
const& rPath,
WriteInfo const& rInfo);
110 std::vector<std::size_t> ReadContainerIds(std::string
const& rPath)
const;
112 std::vector<std::size_t> ReadEntityIds(std::string
const& rPath)
const;
116 void ReadSubModelParts(
ModelPart& rModelPart,
const std::string& rPath);
A class for serial IO of a model part in HDF5.
Definition: hdf5_model_part_io.h:41
File::Pointer mpFile
Definition: hdf5_model_part_io.h:101
const std::string mPrefix
Definition: hdf5_model_part_io.h:102
KRATOS_CLASS_POINTER_DEFINITION(ModelPartIO)
Pointer definition.
IO provides different implementation of input output procedures which can be used to read and write w...
Definition: io.h:58
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
void ReadProperties(File &rFile, std::string const &rPrefix, PropertiesContainerType &rProperties)
Definition: hdf5_properties_io.cpp:15
std::tuple< unsigned, unsigned > StartIndexAndBlockSize(File &rFile, std::string const &rPath)
Definition: hdf5_data_set_partition_utility.cpp:58
void WriteProperties(File &rFile, std::string const &rPrefix, PropertiesType const &rProperties)
Definition: hdf5_properties_io.cpp:37
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
@ WriteConditions
Definition: gid_io.h:53
def ReadModelPart(model_part, inputfile)
Definition: read_modelpart_from_json.py:3
Stores information about a dataset written to HDF5.
Definition: hdf5_file.h:44