KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Classes | List of all members
Kratos::IO Class Reference

IO provides different implementation of input output procedures which can be used to read and write with different formats and characteristics. More...

#include <io.h>

Inheritance diagram for Kratos::IO:
Collaboration diagram for Kratos::IO:

Classes

struct  PartitioningInfo
 

Public Member Functions

Life Cycle
 IO ()=default
 Default constructor. More...
 
virtual ~IO ()=default
 Destructor. More...
 
 IO (IO const &rOther)=delete
 Copy constructor. More...
 
Operators
IOoperator= (IO const &rOther)=delete
 Assignment operator. More...
 
Operations
virtual bool ReadNode (NodeType &rThisNode)
 This method reads one node. More...
 
virtual bool ReadNodes (NodesContainerType &rThisNodes)
 This method reads the nodes from an array of nodes. More...
 
virtual std::size_t ReadNodesNumber ()
 This method reads the number of nodes. More...
 
virtual void WriteNodes (NodesContainerType const &rThisNodes)
 This method writes the nodes from an array of nodes. More...
 
virtual void ReadProperties (Properties &rThisProperties)
 This method reads one Properties. More...
 
virtual void ReadProperties (PropertiesContainerType &rThisProperties)
 This method reads the Properties from an array of Properties. 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...
 
virtual void ReadGeometry (NodesContainerType &rThisNodes, GeometryType::Pointer &pThisGeometry)
 This method reads one geometry. More...
 
virtual void ReadGeometries (NodesContainerType &rThisNodes, GeometryContainerType &rThisGeometries)
 This method reads an array of geometries. More...
 
virtual std::size_t ReadGeometriesConnectivities (ConnectivitiesContainerType &rGeometriesConnectivities)
 This method reads the geometries connectivities. More...
 
virtual void WriteGeometries (GeometryContainerType const &rThisGeometries)
 This method writes an array of geometries. More...
 
virtual void ReadElement (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, Element::Pointer &pThisElement)
 This method reads one element. More...
 
virtual void ReadElements (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, ElementsContainerType &rThisElements)
 This method reads an array of elements. More...
 
virtual std::size_t ReadElementsConnectivities (ConnectivitiesContainerType &rElementsConnectivities)
 This method reads the elements connectivities. More...
 
virtual void WriteElements (ElementsContainerType const &rThisElements)
 This method writes an array of elements. More...
 
virtual void ReadCondition (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, Condition::Pointer &pThisCondition)
 This method reads one condition. More...
 
virtual void ReadConditions (NodesContainerType &rThisNodes, PropertiesContainerType &rThisProperties, ConditionsContainerType &rThisConditions)
 This method reads an array of conditions. More...
 
virtual std::size_t ReadConditionsConnectivities (ConnectivitiesContainerType &rConditionsConnectivities)
 This method reads the conditions connectivities. More...
 
virtual void WriteConditions (ConditionsContainerType const &rThisConditions)
 This method writes an array of conditions. More...
 
virtual void ReadInitialValues (ModelPart &rThisModelPart)
 This method reads the initial values of the model part. 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 ReadMesh (MeshType &rThisMesh)
 This method reads the mesh. More...
 
virtual void WriteMesh (MeshType &rThisMesh)
 This method writes the mesh. More...
 
virtual void WriteMesh (const MeshType &rThisMesh)
 This method writes the mesh. More...
 
virtual void ReadModelPart (ModelPart &rThisModelPart)
 This method reads the model part. More...
 
virtual void WriteModelPart (ModelPart &rThisModelPart)
 This method writes the model part. 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 std::size_t ReadNodalGraph (ConnectivitiesContainerType &rAuxConnectivities)
 Read the input file and create the nodal connectivities graph, stored in CSR format. More...
 
virtual void DivideInputToPartitions (SizeType NumberOfPartitions, const PartitioningInfo &rPartitioningInfo)
 This method divides a model part into partitions. 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, const PartitioningInfo &rPartitioningInfo)
 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...
 
virtual void ReadSubModelPartElementsAndConditionsIds (std::string const &rModelPartName, std::unordered_set< SizeType > &rElementsIds, std::unordered_set< SizeType > &rConditionsIds)
 
virtual std::size_t ReadNodalGraphFromEntitiesList (ConnectivitiesContainerType &rAuxConnectivities, std::unordered_set< SizeType > &rElementsIds, std::unordered_set< SizeType > &rConditionsIds)
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef Node NodeType
 
typedef Geometry< NodeTypeGeometryType
 
typedef Mesh< NodeType, Properties, Element, ConditionMeshType
 
typedef MeshType::NodesContainerType NodesContainerType
 
typedef MeshType::PropertiesContainerType PropertiesContainerType
 
typedef ModelPart::GeometryContainerType GeometryContainerType
 
typedef MeshType::ElementsContainerType ElementsContainerType
 
typedef MeshType::ConditionsContainerType ConditionsContainerType
 
typedef std::vector< std::vector< std::size_t > > ConnectivitiesContainerType
 
typedef std::vector< std::vector< std::size_t > > PartitionIndicesContainerType
 
typedef std::vector< std::size_t > PartitionIndicesType
 
typedef std::size_t SizeType
 
typedef DenseMatrix< intGraphType
 
 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)
 

Detailed Description

IO provides different implementation of input output procedures which can be used to read and write with different formats and characteristics.

IO provides different implementation of input output procedures which can be used to read and write with different formats and characteristics. An automatic configurable IO module is added to these components providing the complete set of solutions necessary for dealing with multi-disciplinary problems. This IO module uses different component lists to adjust itself when reading and writing new concepts originating from different fields of analysis.

Author
Pooyan Dadvand

Member Typedef Documentation

◆ ConditionsContainerType

◆ ConnectivitiesContainerType

typedef std::vector<std::vector<std::size_t> > Kratos::IO::ConnectivitiesContainerType

◆ ElementsContainerType

◆ GeometryContainerType

◆ GeometryType

◆ GraphType

◆ MeshType

◆ NodesContainerType

◆ NodeType

◆ PartitionIndicesContainerType

typedef std::vector<std::vector<std::size_t> > Kratos::IO::PartitionIndicesContainerType

◆ PartitionIndicesType

typedef std::vector<std::size_t> Kratos::IO::PartitionIndicesType

◆ PropertiesContainerType

◆ SizeType

typedef std::size_t Kratos::IO::SizeType

Constructor & Destructor Documentation

◆ IO() [1/2]

Kratos::IO::IO ( )
default

Default constructor.

◆ ~IO()

virtual Kratos::IO::~IO ( )
virtualdefault

Destructor.

◆ IO() [2/2]

Kratos::IO::IO ( IO const &  rOther)
delete

Copy constructor.

Member Function Documentation

◆ DivideInputToPartitions() [1/4]

virtual void Kratos::IO::DivideInputToPartitions ( Kratos::shared_ptr< std::iostream > *  pStreams,
SizeType  NumberOfPartitions,
const PartitioningInfo rPartitioningInfo 
)
inlinevirtual

This method divides a model part into partitions.

Parameters
pStreamsThe stream pointer
NumberOfPartitionsThe number of partitions
rPartitioningInfoInformation about partitioning of entities

Reimplemented in Kratos::ModelPartIO, and Kratos::MedModelPartIO.

◆ DivideInputToPartitions() [2/4]

virtual void Kratos::IO::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 
)
inlinevirtual

This method divides a model part into partitions.

Parameters
pStreamsThe stream pointer
NumberOfPartitionsThe number of partitions
rDomainsColoredGraphThe colors of the partition graph
rNodesPartitionsThe partitions indices of the nodes
rElementsPartitionsThe partitions indices of the elements
rConditionsPartitionsThe partitions indices of the conditions
rNodesAllPartitionsThe partitions of the nodes
rElementsAllPartitionsThe partitions of the elements
rConditionsAllPartitionsThe partitions of the conditions

◆ DivideInputToPartitions() [3/4]

virtual void Kratos::IO::DivideInputToPartitions ( SizeType  NumberOfPartitions,
const PartitioningInfo rPartitioningInfo 
)
inlinevirtual

This method divides a model part into partitions.

Parameters
NumberOfPartitionsThe number of partitions
rPartitioningInfoInformation about partitioning of entities

Reimplemented in Kratos::ModelPartIO, and Kratos::MedModelPartIO.

◆ DivideInputToPartitions() [4/4]

virtual void Kratos::IO::DivideInputToPartitions ( SizeType  NumberOfPartitions,
GraphType const &  rDomainsColoredGraph,
PartitionIndicesType const &  rNodesPartitions,
PartitionIndicesType const &  rElementsPartitions,
PartitionIndicesType const &  rConditionsPartitions,
PartitionIndicesContainerType const &  rNodesAllPartitions,
PartitionIndicesContainerType const &  rElementsAllPartitions,
PartitionIndicesContainerType const &  rConditionsAllPartitions 
)
inlinevirtual

This method divides a model part into partitions.

Parameters
NumberOfPartitionsThe number of partitions
rDomainsColoredGraphThe colors of the partition graph
rNodesPartitionsThe partitions indices of the nodes
rElementsPartitionsThe partitions indices of the elements
rConditionsPartitionsThe partitions indices of the conditions
rNodesAllPartitionsThe partitions of the nodes
rElementsAllPartitionsThe partitions of the elements
rConditionsAllPartitionsThe partitions of the conditions

◆ Info()

virtual std::string Kratos::IO::Info ( ) const
inlinevirtual

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::IO::KRATOS_CLASS_POINTER_DEFINITION ( IO  )

Pointer definition of IO.

◆ KRATOS_DEFINE_LOCAL_FLAG() [1/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( APPEND  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [2/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( IGNORE_VARIABLES_ERROR  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [3/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( MESH_ONLY  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [4/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( READ  )

Local Flags.

◆ KRATOS_DEFINE_LOCAL_FLAG() [5/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( SCIENTIFIC_PRECISION  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [6/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( SKIP_TIMER  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [7/7]

Kratos::IO::KRATOS_DEFINE_LOCAL_FLAG ( WRITE  )

◆ operator=()

IO& Kratos::IO::operator= ( IO const &  rOther)
delete

Assignment operator.

◆ PrintData()

virtual void Kratos::IO::PrintData ( std::ostream &  rOStream) const
inlinevirtual

◆ PrintInfo()

virtual void Kratos::IO::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

◆ ReadCondition()

virtual void Kratos::IO::ReadCondition ( NodesContainerType rThisNodes,
PropertiesContainerType rThisProperties,
Condition::Pointer &  pThisCondition 
)
inlinevirtual

This method reads one condition.

Parameters
rThisNodesThe nodes constituying the condition
rThisPropertiesThe Properties of the condition
pThisConditionThe pointer to the condition

◆ ReadConditions()

virtual void Kratos::IO::ReadConditions ( NodesContainerType rThisNodes,
PropertiesContainerType rThisProperties,
ConditionsContainerType rThisConditions 
)
inlinevirtual

This method reads an array of conditions.

Parameters
rThisNodesThe nodes constituying the condition
rThisPropertiesThe Properties of the condition
rThisConditionsThe array of conditions

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ ReadConditionsConnectivities()

virtual std::size_t Kratos::IO::ReadConditionsConnectivities ( ConnectivitiesContainerType rConditionsConnectivities)
inlinevirtual

This method reads the conditions connectivities.

Parameters
rConditionsConnectivitiesThe conditions connectivities
Returns
The number of conditions

Reimplemented in Kratos::ModelPartIO.

◆ ReadElement()

virtual void Kratos::IO::ReadElement ( NodesContainerType rThisNodes,
PropertiesContainerType rThisProperties,
Element::Pointer &  pThisElement 
)
inlinevirtual

This method reads one element.

Parameters
rThisNodesThe nodes constituying the element
rThisPropertiesThe Properties of the element
pThisElementsThe pointer to the element

Reimplemented in Kratos::ModelPartIO.

◆ ReadElements()

virtual void Kratos::IO::ReadElements ( NodesContainerType rThisNodes,
PropertiesContainerType rThisProperties,
ElementsContainerType rThisElements 
)
inlinevirtual

This method reads an array of elements.

Parameters
rThisNodesThe nodes constituying the element
rThisPropertiesThe Properties of the element
rThisElementThe array of elements

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ ReadElementsConnectivities()

virtual std::size_t Kratos::IO::ReadElementsConnectivities ( ConnectivitiesContainerType rElementsConnectivities)
inlinevirtual

This method reads the elements connectivities.

Parameters
rElementsConnectivitiesThe elements connectivities
Returns
The number of elements

Reimplemented in Kratos::ModelPartIO.

◆ ReadGeometries()

virtual void Kratos::IO::ReadGeometries ( NodesContainerType rThisNodes,
GeometryContainerType rThisGeometries 
)
inlinevirtual

This method reads an array of geometries.

Parameters
rThisNodesThe nodes constituting the geometry
rThisGeometryThe array of geometries

Reimplemented in Kratos::ModelPartIO.

◆ ReadGeometriesConnectivities()

virtual std::size_t Kratos::IO::ReadGeometriesConnectivities ( ConnectivitiesContainerType rGeometriesConnectivities)
inlinevirtual

This method reads the geometries connectivities.

Parameters
rGeometriesConnectivitiesThe geometries connectivities
Returns
The number of geometries

Reimplemented in Kratos::ModelPartIO.

◆ ReadGeometry()

virtual void Kratos::IO::ReadGeometry ( NodesContainerType rThisNodes,
GeometryType::Pointer &  pThisGeometry 
)
inlinevirtual

This method reads one geometry.

Parameters
rThisNodesThe nodes constituting the geometry
pThisGeometriesThe pointer to the geometry

Reimplemented in Kratos::ModelPartIO.

◆ ReadInitialValues() [1/2]

virtual void Kratos::IO::ReadInitialValues ( ModelPart rThisModelPart)
inlinevirtual

This method reads the initial values of the model part.

Parameters
rThisModelPartThe model part with the initial values to be read

Reimplemented in Kratos::ModelPartIO.

◆ ReadInitialValues() [2/2]

virtual void Kratos::IO::ReadInitialValues ( NodesContainerType rThisNodes,
ElementsContainerType rThisElements,
ConditionsContainerType rThisConditions 
)
inlinevirtual

This method reads the initial values of the nodes, elements and conditios.

Parameters
rThisNodesThe nodes with the initial values to be read
rThisElementsThe elements with the initial values to be read
rThisConditionsThe conditions with the initial values to be read

◆ ReadMesh()

virtual void Kratos::IO::ReadMesh ( MeshType rThisMesh)
inlinevirtual

This method reads the mesh.

Parameters
rThisMeshThe mesh to be read

Reimplemented in Kratos::ModelPartIO.

◆ ReadModelPart()

virtual void Kratos::IO::ReadModelPart ( ModelPart rThisModelPart)
inlinevirtual

◆ ReadNodalGraph()

virtual std::size_t Kratos::IO::ReadNodalGraph ( ConnectivitiesContainerType rAuxConnectivities)
inlinevirtual

Read the input file and create the nodal connectivities graph, stored in CSR format.

This function produces input for Metis' nodal graph partitioning algorithms. The nodal graph is stored as a (compressed) matrix where index (i,j) is non-zero if there is an edge in the mesh joining nodes i and j (note that nodes are numbered from zero here, to make integration with Metis simpler). After call, will point to C array of size NumNodes+1 containing the first CSR array: entries related to node k are stored between positions (*NodeIndices)[k] and (*NodeIndices)[k+1] of *NodeConnectivities.

Parameters
rAuxConnectivitiesAfter call, will point to a C array of size (*NodeIndices)[NumNodes]. entries between (*NodeIndices)[k] and (*NodeIndices)[k+1] are a list of all nodes connected to node k (counting from 0).
Returns
Number of nodes.

Reimplemented in Kratos::ModelPartIO.

◆ ReadNodalGraphFromEntitiesList()

virtual std::size_t Kratos::IO::ReadNodalGraphFromEntitiesList ( ConnectivitiesContainerType rAuxConnectivities,
std::unordered_set< SizeType > &  rElementsIds,
std::unordered_set< SizeType > &  rConditionsIds 
)
inlinevirtual

Reimplemented in Kratos::ModelPartIO.

◆ ReadNode()

virtual bool Kratos::IO::ReadNode ( NodeType rThisNode)
inlinevirtual

This method reads one node.

Parameters
rThisNodeThe node to be read

Reimplemented in Kratos::ModelPartIO.

◆ ReadNodes()

virtual bool Kratos::IO::ReadNodes ( NodesContainerType rThisNodes)
inlinevirtual

This method reads the nodes from an array of nodes.

Parameters
rThisNodesThe array of nodes to be read

Reimplemented in Kratos::ModelPartIO, Kratos::HDF5::PartitionedModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ ReadNodesNumber()

virtual std::size_t Kratos::IO::ReadNodesNumber ( )
inlinevirtual

This method reads the number of nodes.

Returns
The number of nodes

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ ReadProperties() [1/2]

virtual void Kratos::IO::ReadProperties ( Properties rThisProperties)
inlinevirtual

This method reads one Properties.

Parameters
rThisPropertiesThe Properties to be read

Reimplemented in Kratos::ModelPartIO.

◆ ReadProperties() [2/2]

virtual void Kratos::IO::ReadProperties ( PropertiesContainerType rThisProperties)
inlinevirtual

This method reads the Properties from an array of Properties.

Parameters
rThisPropertiesThe array of Properties to be read

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ ReadSubModelPartElementsAndConditionsIds()

virtual void Kratos::IO::ReadSubModelPartElementsAndConditionsIds ( std::string const &  rModelPartName,
std::unordered_set< SizeType > &  rElementsIds,
std::unordered_set< SizeType > &  rConditionsIds 
)
inlinevirtual

Reimplemented in Kratos::ModelPartIO.

◆ WriteConditions()

virtual void Kratos::IO::WriteConditions ( ConditionsContainerType const &  rThisConditions)
inlinevirtual

This method writes an array of conditions.

Parameters
rThisConditionsThe array of conditions to be written

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ WriteElements()

virtual void Kratos::IO::WriteElements ( ElementsContainerType const &  rThisElements)
inlinevirtual

This method writes an array of elements.

Parameters
rThisElementsThe array of elements to be written

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ WriteGeometries()

virtual void Kratos::IO::WriteGeometries ( GeometryContainerType const &  rThisGeometries)
inlinevirtual

This method writes an array of geometries.

Parameters
rThisGeometriesThe array of geometries to be written

Reimplemented in Kratos::ModelPartIO.

◆ WriteMesh() [1/2]

virtual void Kratos::IO::WriteMesh ( const MeshType rThisMesh)
inlinevirtual

This method writes the mesh.

Parameters
rThisMeshThe mesh to be written

◆ WriteMesh() [2/2]

virtual void Kratos::IO::WriteMesh ( MeshType rThisMesh)
inlinevirtual

This method writes the mesh.

Parameters
rThisMeshThe mesh to be written

Reimplemented in Kratos::ModelPartIO, Kratos::GidIO< TGaussPointContainer, TMeshContainer >, and Kratos::GidIO< GidGaussPointsContainer, GidMeshContainer >.

◆ WriteModelPart() [1/2]

virtual void Kratos::IO::WriteModelPart ( const ModelPart rThisModelPart)
inlinevirtual

This method writes the model part.

Parameters
rThisModelPartThe model part to be written

Reimplemented in Kratos::StlIO, and Kratos::MedModelPartIO.

◆ WriteModelPart() [2/2]

virtual void Kratos::IO::WriteModelPart ( ModelPart rThisModelPart)
inlinevirtual

This method writes the model part.

Parameters
rThisModelPartThe model part to be written

Reimplemented in Kratos::ModelPartIO, Kratos::MmgIO< TMMGLibrary >, and Kratos::HDF5::ModelPartIO.

◆ WriteNodeMesh() [1/2]

virtual void Kratos::IO::WriteNodeMesh ( const MeshType rThisMesh)
inlinevirtual

This method writes the node mesh.

Parameters
rThisMeshThe mesh to be written

◆ WriteNodeMesh() [2/2]

virtual void Kratos::IO::WriteNodeMesh ( MeshType rThisMesh)
inlinevirtual

◆ WriteNodes()

virtual void Kratos::IO::WriteNodes ( NodesContainerType const &  rThisNodes)
inlinevirtual

This method writes the nodes from an array of nodes.

Parameters
rThisNodesThe array of nodes to be written

Reimplemented in Kratos::ModelPartIO, Kratos::HDF5::PartitionedModelPartIO, and Kratos::HDF5::ModelPartIO.

◆ WriteProperties() [1/2]

virtual void Kratos::IO::WriteProperties ( Properties const &  rThisProperties)
inlinevirtual

This method writes one Properties.

Parameters
rThisPropertiesThe Properties to be written

Reimplemented in Kratos::HDF5::ModelPartIO.

◆ WriteProperties() [2/2]

virtual void Kratos::IO::WriteProperties ( PropertiesContainerType const &  rThisProperties)
inlinevirtual

This method writes the Properties from an array of Properties.

Parameters
rThisPropertiesThe array of Properties to be written

Reimplemented in Kratos::ModelPartIO, and Kratos::HDF5::ModelPartIO.


The documentation for this class was generated from the following file: