|
|
| ReorderConsecutiveModelPartIO (Kratos::shared_ptr< std::iostream > Stream, const Flags Options)=delete |
|
| ModelPartIO (std::filesystem::path const &Filename, const Flags Options=IO::READ|IO::IGNORE_VARIABLES_ERROR.AsFalse()|IO::SKIP_TIMER) |
| Constructor with filename. More...
|
|
| ModelPartIO (Kratos::shared_ptr< std::iostream > Stream, const Flags Options=IO::IGNORE_VARIABLES_ERROR.AsFalse()|IO::SKIP_TIMER) |
| Constructor with stream. More...
|
|
| ModelPartIO (std::filesystem::path const &Filename, const Flags Options=IO::READ|IO::IGNORE_VARIABLES_ERROR.AsFalse()|IO::SKIP_TIMER) |
| Constructor with filename. More...
|
|
| ModelPartIO (Kratos::shared_ptr< std::iostream > Stream, const Flags Options=IO::IGNORE_VARIABLES_ERROR.AsFalse()|IO::SKIP_TIMER) |
| Constructor with stream. More...
|
|
| ~ModelPartIO () override |
| Constructor with filenames. More...
|
|
bool | ReadNode (NodeType &rThisNode) override |
| This method reads one node. More...
|
|
bool | ReadNodes (NodesContainerType &rThisNodes) override |
| This method reads the nodes from an array of nodes. More...
|
|
std::size_t | ReadNodesNumber () override |
| This method reads the number of nodes. More...
|
|
void | WriteNodes (NodesContainerType const &rThisNodes) override |
| This method writes the nodes from an array of nodes. More...
|
|
void | ReadProperties (Properties &rThisProperties) override |
| This method reads one Properties. More...
|
|
void | ReadProperties (PropertiesContainerType &rThisProperties) override |
| This method reads the Properties from an array of Properties. More...
|
|
void | WriteProperties (PropertiesContainerType const &rThisProperties) override |
| This method writes one Properties. More...
|
|
void | ReadGeometry (NodesContainerType &rThisNodes, GeometryType::Pointer &pThisGeometry) override |
| This method reads one geometry. More...
|
|
void | ReadGeometries (NodesContainerType &rThisNodes, GeometryContainerType &rThisGeometries) override |
| This method reads an array of geometries. More...
|
|
std::size_t | ReadGeometriesConnectivities (ConnectivitiesContainerType &rGeometriesConnectivities) override |
| This method reads the geometries connectivities. More...
|
|
void | WriteGeometries (GeometryContainerType const &rThisGeometries) override |
| This method writes an array of geometries. More...
|
|
void | ReadElement (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, Element::Pointer &pThisElement) override |
| This method reads one element. More...
|
|
void | ReadElements (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, ElementsContainerType &rThisElements) override |
| This method reads an array of elements. More...
|
|
std::size_t | ReadElementsConnectivities (ConnectivitiesContainerType &rElementsConnectivities) override |
| This method reads the elements connectivities. More...
|
|
void | WriteElements (ElementsContainerType const &rThisElements) override |
| This method writes an array of elements. More...
|
|
void | ReadConditions (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, ConditionsContainerType &rThisConditions) override |
| This method reads an array of conditions. More...
|
|
std::size_t | ReadConditionsConnectivities (ConnectivitiesContainerType &rConditionsConnectivities) override |
| This method reads the conditions connectivities. More...
|
|
void | WriteConditions (ConditionsContainerType const &rThisConditions) override |
| This method writes an array of conditions. More...
|
|
void | ReadInitialValues (ModelPart &rThisModelPart) override |
| This method reads the initial values of the model part. More...
|
|
void | ReadMesh (MeshType &rThisMesh) override |
| This method reads the mesh. More...
|
|
void | WriteMesh (MeshType &rThisMesh) override |
| This method writes the mesh. More...
|
|
void | ReadModelPart (ModelPart &rThisModelPart) override |
| This method reads the model part. More...
|
|
void | WriteModelPart (ModelPart &rThisModelPart) override |
| This method writes the model part. More...
|
|
std::size_t | ReadNodalGraph (ConnectivitiesContainerType &rAuxConnectivities) override |
| Read the input file and create the nodal connectivities graph, stored in CSR format. More...
|
|
void | DivideInputToPartitions (SizeType NumberOfPartitions, const PartitioningInfo &rPartitioningInfo) override |
| This method divides a model part into partitions. More...
|
|
void | DivideInputToPartitions (Kratos::shared_ptr< std::iostream > *pStreams, SizeType NumberOfPartitions, const PartitioningInfo &rPartitioningInfo) override |
| This method divides a model part into partitions. More...
|
|
void | SwapStreamSource (Kratos::shared_ptr< std::iostream > newStream) |
|
void | ReadSubModelPartElementsAndConditionsIds (std::string const &rModelPartName, std::unordered_set< SizeType > &rElementsIds, std::unordered_set< SizeType > &rConditionsIds) override |
|
std::size_t | ReadNodalGraphFromEntitiesList (ConnectivitiesContainerType &rAuxConnectivities, std::unordered_set< SizeType > &rElementsIds, std::unordered_set< SizeType > &rConditionsIds) override |
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (ModelPartIO) |
| Pointer definition of ModelPartIO. More...
|
|
virtual void | WriteProperties (Properties const &rThisProperties) |
| This method writes one Properties. More...
|
|
virtual void | WriteProperties (PropertiesContainerType const &rThisProperties) |
| This method writes the Properties from an array of Properties. More...
|
|
| IO ()=default |
| Default constructor. More...
|
|
virtual | ~IO ()=default |
| Destructor. More...
|
|
| IO (IO const &rOther)=delete |
| Copy constructor. More...
|
|
IO & | operator= (IO const &rOther)=delete |
| Assignment operator. More...
|
|
virtual void | WriteProperties (Properties const &rThisProperties) |
| This method writes one Properties. More...
|
|
virtual void | ReadCondition (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, Condition::Pointer &pThisCondition) |
| This method reads one condition. More...
|
|
virtual void | ReadInitialValues (NodesContainerType &rThisNodes, ElementsContainerType &rThisElements, ConditionsContainerType &rThisConditions) |
| This method reads the initial values of the nodes, elements and conditios. More...
|
|
virtual void | WriteMesh (const MeshType &rThisMesh) |
| This method writes the mesh. More...
|
|
virtual void | WriteModelPart (const ModelPart &rThisModelPart) |
| This method writes the model part. More...
|
|
virtual void | WriteNodeMesh (MeshType &rThisMesh) |
| This method writes the node mesh. More...
|
|
virtual void | WriteNodeMesh (const MeshType &rThisMesh) |
| This method writes the node mesh. More...
|
|
virtual void | DivideInputToPartitions (SizeType NumberOfPartitions, GraphType const &rDomainsColoredGraph, PartitionIndicesType const &rNodesPartitions, PartitionIndicesType const &rElementsPartitions, PartitionIndicesType const &rConditionsPartitions, PartitionIndicesContainerType const &rNodesAllPartitions, PartitionIndicesContainerType const &rElementsAllPartitions, PartitionIndicesContainerType const &rConditionsAllPartitions) |
| This method divides a model part into partitions. More...
|
|
virtual void | DivideInputToPartitions (Kratos::shared_ptr< std::iostream > *pStreams, SizeType NumberOfPartitions, GraphType const &rDomainsColoredGraph, PartitionIndicesType const &rNodesPartitions, PartitionIndicesType const &rElementsPartitions, PartitionIndicesType const &rConditionsPartitions, PartitionIndicesContainerType const &rNodesAllPartitions, PartitionIndicesContainerType const &rElementsAllPartitions, PartitionIndicesContainerType const &rConditionsAllPartitions) |
| This method divides a model part into partitions. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (IO) |
| Pointer definition of IO. More...
|
|
| KRATOS_DEFINE_LOCAL_FLAG (READ) |
| Local Flags. More...
|
|
| KRATOS_DEFINE_LOCAL_FLAG (WRITE) |
|
| KRATOS_DEFINE_LOCAL_FLAG (APPEND) |
|
| KRATOS_DEFINE_LOCAL_FLAG (IGNORE_VARIABLES_ERROR) |
|
| KRATOS_DEFINE_LOCAL_FLAG (SKIP_TIMER) |
|
| KRATOS_DEFINE_LOCAL_FLAG (MESH_ONLY) |
|
| KRATOS_DEFINE_LOCAL_FLAG (SCIENTIFIC_PRECISION) |
|
An IO class for reading and writing a modelpart.
This class writes all modelpart data including the meshes.