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 | Friends | List of all members
Kratos::ModelPart Class Referencefinal

This class aims to manage meshes for multi-physics simulations. More...

#include <model_part.h>

Inheritance diagram for Kratos::ModelPart:
Collaboration diagram for Kratos::ModelPart:

Public Types

Enum's
enum  OwnershipType { Kratos_All , Kratos_Local , Kratos_Ghost , Kratos_Ownership_Size }
 
Type Definitions
typedef std::size_t IndexType
 Pointer definition of ModelPart. More...
 
typedef std::size_t SizeType
 
typedef Dof< doubleDofType
 
typedef std::vector< DofType::PointerDofsVectorType
 
typedef Variable< doubleDoubleVariableType
 
typedef Matrix MatrixType
 
typedef Vector VectorType
 
typedef PointerVectorSet< DofTypeDofsArrayType
 
typedef Node NodeType
 
typedef Geometry< NodeTypeGeometryType
 
typedef Properties PropertiesType
 
typedef Element ElementType
 
typedef Condition ConditionType
 
typedef Mesh< NodeType, PropertiesType, ElementType, ConditionTypeMeshType
 
typedef PointerVector< MeshTypeMeshesContainerType
 
typedef MeshType::NodesContainerType NodesContainerType
 Nodes container. Which is a vector set of nodes with their Id's as key. More...
 
typedef MeshType::NodeIterator NodeIterator
 
typedef MeshType::NodeConstantIterator NodeConstantIterator
 
typedef MeshType::PropertiesContainerType PropertiesContainerType
 Properties container. Which is a vector set of Properties with their Id's as key. More...
 
typedef MeshType::PropertiesIterator PropertiesIterator
 
typedef MeshType::PropertiesConstantIterator PropertiesConstantIterator
 
typedef MeshType::ElementsContainerType ElementsContainerType
 Element container. A vector set of Elements with their Id's as key. More...
 
typedef MeshType::ElementIterator ElementIterator
 
typedef MeshType::ElementConstantIterator ElementConstantIterator
 
typedef MeshType::ConditionsContainerType ConditionsContainerType
 Condintions container. A vector set of Conditions with their Id's as key. More...
 
typedef MeshType::ConditionIterator ConditionIterator
 
typedef MeshType::ConditionConstantIterator ConditionConstantIterator
 
typedef Table< double, doubleTableType
 Defining a table with double argument and result type as table type. More...
 
typedef PointerVectorMap< SizeType, TableTypeTablesContainerType
 The container of the tables. A vector map of the tables. More...
 
typedef TablesContainerType::iterator TableIterator
 
typedef TablesContainerType::const_iterator TableConstantIterator
 
typedef MeshType::MasterSlaveConstraintType MasterSlaveConstraintType
 The container of the constraints. More...
 
typedef MeshType::MasterSlaveConstraintContainerType MasterSlaveConstraintContainerType
 
typedef MeshType::MasterSlaveConstraintIteratorType MasterSlaveConstraintIteratorType
 
typedef MeshType::MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintConstantIteratorType
 
typedef GeometryContainer< GeometryTypeGeometryContainerType
 The Geometry Container. More...
 
typedef GeometryContainerType::GeometryIterator GeometryIterator
 Geometry Iterator. More...
 
typedef GeometryContainerType::GeometryConstantIterator GeometryConstantIterator
 Const Geometry Iterator. More...
 
typedef GeometryContainerType::GeometriesMapType GeometriesMapType
 Geometry Hash Map Container. Stores with hash of Ids to corresponding geometries. More...
 
typedef PointerHashMapSet< ModelPart, std::hash< std::string >, GetModelPartName, Kratos::shared_ptr< ModelPart > > SubModelPartsContainerType
 The container of the sub model parts. A hash table is used. More...
 
typedef SubModelPartsContainerType::iterator SubModelPartIterator
 Iterator over the sub model parts of this model part. More...
 
typedef SubModelPartsContainerType::const_iterator SubModelPartConstantIterator
 Constant iterator over the sub model parts of this model part. More...
 
- Public Types inherited from Kratos::DataValueContainer
using ValueType = std::pair< const VariableData *, void * >
 Type of the container used for variables. More...
 
using ContainerType = std::vector< ValueType >
 Type of the container used for variables. More...
 
using iterator = ContainerType::iterator
 Type of the container used for variables. More...
 
using const_iterator = ContainerType::const_iterator
 Type of the container used for variables. More...
 
using SizeType = ContainerType::size_type
 Type of the container used for variables. More...
 
- Public Types inherited from Kratos::Flags
enum  FlagsList {
  Flag0 = BlockType(1) , Flag1 = BlockType(1) << 1 , Flag2 = BlockType(1) << 2 , Flag3 = BlockType(1) << 3 ,
  Flag4 = BlockType(1) << 4 , Flag5 = BlockType(1) << 5 , Flag6 = BlockType(1) << 6 , Flag7 = BlockType(1) << 7 ,
  Flag8 = BlockType(1) << 8 , Flag9 = BlockType(1) << 9 , Flag10 = BlockType(1) << 10 , Flag11 = BlockType(1) << 11 ,
  Flag12 = BlockType(1) << 12 , Flag13 = BlockType(1) << 13 , Flag14 = BlockType(1) << 14 , Flag15 = BlockType(1) << 15 ,
  Flag16 = BlockType(1) << 16 , Flag17 = BlockType(1) << 17 , Flag18 = BlockType(1) << 18 , Flag19 = BlockType(1) << 19 ,
  Flag20 = BlockType(1) << 20 , Flag21 = BlockType(1) << 21 , Flag22 = BlockType(1) << 22 , Flag23 = BlockType(1) << 23 ,
  Flag24 = BlockType(1) << 24 , Flag25 = BlockType(1) << 25 , Flag26 = BlockType(1) << 26 , Flag27 = BlockType(1) << 27 ,
  Flag28 = BlockType(1) << 28 , Flag29 = BlockType(1) << 29 , Flag30 = BlockType(1) << 30
}
 
typedef int64_t BlockType
 
typedef int64_t FlagType
 
typedef std::size_t IndexType
 

Public Member Functions

Flags
 KRATOS_DEFINE_LOCAL_FLAG (ALL_ENTITIES)
 
 KRATOS_DEFINE_LOCAL_FLAG (OVERWRITE_ENTITIES)
 
Life Cycle
 ~ModelPart () override
 Destructor. More...
 
Operators
ModelPartoperator= (ModelPart const &rOther)=delete
 Assignment operator. More...
 
void Clear ()
 
void Reset ()
 
Solution Steps
IndexType CreateSolutionStep ()
 
IndexType CloneSolutionStep ()
 
IndexType CloneTimeStep ()
 
IndexType CreateTimeStep (double NewTime)
 
IndexType CloneTimeStep (double NewTime)
 
void OverwriteSolutionStepData (IndexType SourceSolutionStepIndex, IndexType DestinationSourceSolutionStepIndex)
 
ModelGetModel ()
 
const ModelGetModel () const
 
void ReduceTimeStep (ModelPart &rModelPart, double NewTime)
 
Nodes
SizeType NumberOfNodes (IndexType ThisIndex=0) const
 
void AddNode (NodeType::Pointer pNewNode, IndexType ThisIndex=0)
 
void AddNodes (std::vector< IndexType > const &NodeIds, IndexType ThisIndex=0)
 
template<class TIteratorType >
void AddNodes (TIteratorType nodes_begin, TIteratorType nodes_end, IndexType ThisIndex=0)
 
NodeType::Pointer CreateNewNode (int Id, double x, double y, double z, VariablesList::Pointer pNewVariablesList, IndexType ThisIndex=0)
 
NodeType::Pointer CreateNewNode (IndexType Id, double x, double y, double z, IndexType ThisIndex=0)
 
NodeType::Pointer CreateNewNode (IndexType Id, double x, double y, double z, double *pThisData, IndexType ThisIndex=0)
 
NodeType::Pointer CreateNewNode (IndexType NodeId, NodeType const &rSourceNode, IndexType ThisIndex=0)
 
void AssignNode (NodeType::Pointer pThisNode, IndexType ThisIndex=0)
 
bool HasNode (IndexType NodeId, IndexType ThisIndex=0) const
 
NodeType::Pointer pGetNode (IndexType NodeId, IndexType ThisIndex=0)
 
const NodeType::Pointer pGetNode (const IndexType NodeId, const IndexType ThisIndex=0) const
 
NodeTypeGetNode (IndexType NodeId, IndexType ThisIndex=0)
 
const NodeTypeGetNode (IndexType NodeId, IndexType ThisIndex=0) const
 
void RemoveNode (IndexType NodeId, IndexType ThisIndex=0)
 
void RemoveNode (NodeType &ThisNode, IndexType ThisIndex=0)
 
void RemoveNode (NodeType::Pointer pThisNode, IndexType ThisIndex=0)
 
void RemoveNodeFromAllLevels (IndexType NodeId, IndexType ThisIndex=0)
 
void RemoveNodeFromAllLevels (NodeType &ThisNode, IndexType ThisIndex=0)
 
void RemoveNodeFromAllLevels (NodeType::Pointer pThisNode, IndexType ThisIndex=0)
 
void RemoveNodes (Flags IdentifierFlag=TO_ERASE)
 
void RemoveNodesFromAllLevels (Flags IdentifierFlag=TO_ERASE)
 
ModelPartGetRootModelPart ()
 
const ModelPartGetRootModelPart () const
 
NodeIterator NodesBegin (IndexType ThisIndex=0)
 
NodeConstantIterator NodesBegin (IndexType ThisIndex=0) const
 
NodeIterator NodesEnd (IndexType ThisIndex=0)
 
NodeConstantIterator NodesEnd (IndexType ThisIndex=0) const
 
NodesContainerTypeNodes (IndexType ThisIndex=0)
 
const NodesContainerTypeNodes (IndexType ThisIndex=0) const
 
NodesContainerType::Pointer pNodes (IndexType ThisIndex=0)
 
void SetNodes (NodesContainerType::Pointer pOtherNodes, IndexType ThisIndex=0)
 
NodesContainerType::ContainerTypeNodesArray (IndexType ThisIndex=0)
 
void AddNodalSolutionStepVariable (VariableData const &ThisVariable)
 
bool HasNodalSolutionStepVariable (VariableData const &ThisVariable) const
 
VariablesListGetNodalSolutionStepVariablesList ()
 
VariablesList const & GetNodalSolutionStepVariablesList () const
 
VariablesList::Pointer pGetNodalSolutionStepVariablesList () const
 
void SetNodalSolutionStepVariablesList ()
 
void SetNodalSolutionStepVariablesList (VariablesList::Pointer pNewVariablesList)
 
SizeType GetNodalSolutionStepDataSize ()
 
SizeType GetNodalSolutionStepTotalDataSize ()
 
Tables
SizeType NumberOfTables () const
 
void AddTable (IndexType TableId, TableType::Pointer pNewTable)
 
TableType::Pointer pGetTable (IndexType TableId)
 
TableTypeGetTable (IndexType TableId)
 
void RemoveTable (IndexType TableId)
 
void RemoveTableFromAllLevels (IndexType TableId)
 
TableIterator TablesBegin ()
 
TableConstantIterator TablesBegin () const
 
TableIterator TablesEnd ()
 
TableConstantIterator TablesEnd () const
 
TablesContainerTypeTables ()
 
TablesContainerType::ContainerTypeTablesArray ()
 
MasterSlaveConstraints
SizeType NumberOfMasterSlaveConstraints (IndexType ThisIndex=0) const
 
MasterSlaveConstraintContainerTypeMasterSlaveConstraints (IndexType ThisIndex=0)
 
const MasterSlaveConstraintContainerTypeMasterSlaveConstraints (IndexType ThisIndex=0) const
 
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsBegin (IndexType ThisIndex=0) const
 
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsEnd (IndexType ThisIndex=0) const
 
MasterSlaveConstraintIteratorType MasterSlaveConstraintsBegin (IndexType ThisIndex=0)
 
MasterSlaveConstraintIteratorType MasterSlaveConstraintsEnd (IndexType ThisIndex=0)
 
void AddMasterSlaveConstraint (MasterSlaveConstraintType::Pointer pNewMasterSlaveConstraint, IndexType ThisIndex=0)
 
void AddMasterSlaveConstraints (std::vector< IndexType > const &MasterSlaveConstraintIds, IndexType ThisIndex=0)
 
template<class TIteratorType >
void AddMasterSlaveConstraints (TIteratorType constraints_begin, TIteratorType constraints_end, IndexType ThisIndex=0)
 
MasterSlaveConstraint::Pointer CreateNewMasterSlaveConstraint (const std::string &ConstraintName, IndexType Id, DofsVectorType &rMasterDofsVector, DofsVectorType &rSlaveDofsVector, const MatrixType &RelationMatrix, const VectorType &ConstantVector, IndexType ThisIndex=0)
 Creates a new master-slave constraint in the current modelpart. More...
 
MasterSlaveConstraint::Pointer CreateNewMasterSlaveConstraint (const std::string &ConstraintName, IndexType Id, NodeType &rMasterNode, const DoubleVariableType &rMasterVariable, NodeType &rSlaveNode, const DoubleVariableType &rSlaveVariable, const double Weight, const double Constant, IndexType ThisIndex=0)
 
void RemoveMasterSlaveConstraint (IndexType MasterSlaveConstraintId, IndexType ThisIndex=0)
 Remove the master-slave constraint with given Id from mesh with ThisIndex in this modelpart and all its subs. More...
 
void RemoveMasterSlaveConstraint (MasterSlaveConstraintType &ThisMasterSlaveConstraint, IndexType ThisIndex=0)
 Remove given master-slave constraint from mesh with ThisIndex in this modelpart and all its subs. More...
 
void RemoveMasterSlaveConstraintFromAllLevels (IndexType MasterSlaveConstraintId, IndexType ThisIndex=0)
 Remove the master-slave constraint with given Id from mesh with ThisIndex in parents, itself and children. More...
 
void RemoveMasterSlaveConstraintFromAllLevels (MasterSlaveConstraintType &ThisMasterSlaveConstraint, IndexType ThisIndex=0)
 Remove given master-slave constraint from mesh with ThisIndex in parents, itself and children. More...
 
void RemoveMasterSlaveConstraints (Flags IdentifierFlag=TO_ERASE)
 It erases all constraints identified by "IdentifierFlag" by removing the pointer. More...
 
void RemoveMasterSlaveConstraintsFromAllLevels (Flags IdentifierFlag=TO_ERASE)
 It erases all constraints identified by "IdentifierFlag" by removing the pointer. More...
 
bool HasMasterSlaveConstraint (const IndexType MasterSlaveConstraintId, IndexType ThisIndex=0) const
 Returns if the MasterSlaveConstraint corresponding to it's identifier exists. More...
 
MasterSlaveConstraintType::Pointer pGetMasterSlaveConstraint (IndexType ConstraintId, IndexType ThisIndex=0)
 
MasterSlaveConstraintTypeGetMasterSlaveConstraint (IndexType MasterSlaveConstraintId, IndexType ThisIndex=0)
 
const MasterSlaveConstraintTypeGetMasterSlaveConstraint (IndexType MasterSlaveConstraintId, IndexType ThisIndex=0) const
 
Properties
SizeType NumberOfProperties (IndexType ThisIndex=0) const
 Returns the number of properties of the mesh. More...
 
void AddProperties (PropertiesType::Pointer pNewProperties, IndexType ThisIndex=0)
 Inserts a properties in the current mesh. More...
 
bool HasProperties (IndexType PropertiesId, IndexType MeshIndex=0) const
 Returns if the Properties corresponding to it's identifier exists. More...
 
bool RecursivelyHasProperties (IndexType PropertiesId, IndexType MeshIndex=0) const
 Returns if the Properties corresponding to it's identifier exists in any of the model parts. More...
 
PropertiesType::Pointer CreateNewProperties (IndexType PropertiesId, IndexType MeshIndex=0)
 Creates a new property in the current mesh. More...
 
PropertiesType::Pointer pGetProperties (IndexType PropertiesId, IndexType MeshIndex=0)
 Returns the Properties::Pointer corresponding to it's identifier. More...
 
const PropertiesType::Pointer pGetProperties (IndexType PropertiesId, IndexType MeshIndex=0) const
 Returns the Properties::Pointer corresponding to it's identifier (const version) More...
 
PropertiesTypeGetProperties (IndexType PropertiesId, IndexType MeshIndex=0)
 Returns the Properties::Pointer corresponding to it's identifier. More...
 
const PropertiesTypeGetProperties (IndexType PropertiesId, IndexType MeshIndex=0) const
 Returns the Properties::Pointer corresponding to it's identifier (const version) More...
 
bool HasProperties (const std::string &rAddress, IndexType MeshIndex=0) const
 Returns if the sub Properties corresponding to it's address exists. More...
 
PropertiesType::Pointer pGetProperties (const std::string &rAddress, IndexType MeshIndex=0)
 Returns the sub Properties::Pointer corresponding to it's address. More...
 
const PropertiesType::Pointer pGetProperties (const std::string &rAddress, IndexType MeshIndex=0) const
 Returns the sub Properties::Pointer corresponding to it's address (const version) More...
 
PropertiesTypeGetProperties (const std::string &rAddress, IndexType MeshIndex=0)
 Returns the sub Properties::Pointer corresponding to it's address. More...
 
const PropertiesTypeGetProperties (const std::string &rAddress, IndexType MeshIndex=0) const
 Returns the sub Properties::Pointer corresponding to it's address (const version) More...
 
void RemoveProperties (IndexType PropertiesId, IndexType ThisIndex=0)
 
void RemoveProperties (PropertiesType &ThisProperties, IndexType ThisIndex=0)
 
void RemoveProperties (PropertiesType::Pointer pThisProperties, IndexType ThisIndex=0)
 
void RemovePropertiesFromAllLevels (IndexType PropertiesId, IndexType ThisIndex=0)
 
void RemovePropertiesFromAllLevels (PropertiesType &ThisProperties, IndexType ThisIndex=0)
 
void RemovePropertiesFromAllLevels (PropertiesType::Pointer pThisProperties, IndexType ThisIndex=0)
 
PropertiesIterator PropertiesBegin (IndexType ThisIndex=0)
 
PropertiesConstantIterator PropertiesBegin (IndexType ThisIndex=0) const
 
PropertiesIterator PropertiesEnd (IndexType ThisIndex=0)
 
PropertiesConstantIterator PropertiesEnd (IndexType ThisIndex=0) const
 
PropertiesContainerTyperProperties (IndexType ThisIndex=0)
 
PropertiesContainerType::Pointer pProperties (IndexType ThisIndex=0)
 
void SetProperties (PropertiesContainerType::Pointer pOtherProperties, IndexType ThisIndex=0)
 
PropertiesContainerType::ContainerTypePropertiesArray (IndexType ThisIndex=0)
 
Elements
SizeType NumberOfElements (IndexType ThisIndex=0) const
 
void AddElement (ElementType::Pointer pNewElement, IndexType ThisIndex=0)
 
void AddElements (std::vector< IndexType > const &ElementIds, IndexType ThisIndex=0)
 
template<class TIteratorType >
void AddElements (TIteratorType elements_begin, TIteratorType elements_end, IndexType ThisIndex=0)
 
ElementType::Pointer CreateNewElement (std::string ElementName, IndexType Id, std::vector< IndexType > ElementNodeIds, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new element with a node ids list. More...
 
ElementType::Pointer CreateNewElement (std::string ElementName, IndexType Id, Geometry< Node >::PointsArrayType pElementNodes, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new element with a nodes list. More...
 
ElementType::Pointer CreateNewElement (std::string ElementName, IndexType Id, typename GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new element with pointer to geometry. More...
 
bool HasElement (IndexType ElementId, IndexType ThisIndex=0) const
 
ElementType::Pointer pGetElement (IndexType ElementId, IndexType ThisIndex=0)
 
const ElementType::Pointer pGetElement (const IndexType ElementId, const IndexType ThisIndex=0) const
 
ElementTypeGetElement (IndexType ElementId, IndexType ThisIndex=0)
 
const ElementTypeGetElement (IndexType ElementId, IndexType ThisIndex=0) const
 
void RemoveElement (IndexType ElementId, IndexType ThisIndex=0)
 
void RemoveElement (ElementType &ThisElement, IndexType ThisIndex=0)
 
void RemoveElement (ElementType::Pointer pThisElement, IndexType ThisIndex=0)
 
void RemoveElementFromAllLevels (IndexType ElementId, IndexType ThisIndex=0)
 
void RemoveElementFromAllLevels (ElementType &ThisElement, IndexType ThisIndex=0)
 
void RemoveElementFromAllLevels (ElementType::Pointer pThisElement, IndexType ThisIndex=0)
 
void RemoveElements (Flags IdentifierFlag=TO_ERASE)
 
void RemoveElementsFromAllLevels (Flags IdentifierFlag=TO_ERASE)
 
ElementIterator ElementsBegin (IndexType ThisIndex=0)
 
ElementConstantIterator ElementsBegin (IndexType ThisIndex=0) const
 
ElementIterator ElementsEnd (IndexType ThisIndex=0)
 
ElementConstantIterator ElementsEnd (IndexType ThisIndex=0) const
 
ElementsContainerTypeElements (IndexType ThisIndex=0)
 
const ElementsContainerTypeElements (IndexType ThisIndex=0) const
 
ElementsContainerType::Pointer pElements (IndexType ThisIndex=0)
 
void SetElements (ElementsContainerType::Pointer pOtherElements, IndexType ThisIndex=0)
 
ElementsContainerType::ContainerTypeElementsArray (IndexType ThisIndex=0)
 
Conditions
SizeType NumberOfConditions (IndexType ThisIndex=0) const
 
void AddCondition (ConditionType::Pointer pNewCondition, IndexType ThisIndex=0)
 
void AddConditions (std::vector< IndexType > const &ConditionIds, IndexType ThisIndex=0)
 
template<class TIteratorType >
void AddConditions (TIteratorType conditions_begin, TIteratorType conditions_end, IndexType ThisIndex=0)
 
ConditionType::Pointer CreateNewCondition (std::string ConditionName, IndexType Id, std::vector< IndexType > ConditionNodeIds, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new condition with a node ids list. More...
 
ConditionType::Pointer CreateNewCondition (std::string ConditionName, IndexType Id, Geometry< Node >::PointsArrayType pConditionNodes, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new condition with a nodes list. More...
 
ConditionType::Pointer CreateNewCondition (std::string ConditionName, IndexType Id, typename GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
 Creates new condition with pointer to geometry. More...
 
bool HasCondition (IndexType ConditionId, IndexType ThisIndex=0) const
 
ConditionType::Pointer pGetCondition (IndexType ConditionId, IndexType ThisIndex=0)
 
const ConditionType::Pointer pGetCondition (const IndexType ConditionId, const IndexType ThisIndex=0) const
 
ConditionTypeGetCondition (IndexType ConditionId, IndexType ThisIndex=0)
 
const ConditionTypeGetCondition (IndexType ConditionId, IndexType ThisIndex=0) const
 
void RemoveCondition (IndexType ConditionId, IndexType ThisIndex=0)
 
void RemoveCondition (ConditionType &ThisCondition, IndexType ThisIndex=0)
 
void RemoveCondition (ConditionType::Pointer pThisCondition, IndexType ThisIndex=0)
 
void RemoveConditionFromAllLevels (IndexType ConditionId, IndexType ThisIndex=0)
 
void RemoveConditionFromAllLevels (ConditionType &ThisCondition, IndexType ThisIndex=0)
 
void RemoveConditionFromAllLevels (ConditionType::Pointer pThisCondition, IndexType ThisIndex=0)
 
void RemoveConditions (Flags IdentifierFlag=TO_ERASE)
 
void RemoveConditionsFromAllLevels (Flags IdentifierFlag=TO_ERASE)
 
ConditionIterator ConditionsBegin (IndexType ThisIndex=0)
 
ConditionConstantIterator ConditionsBegin (IndexType ThisIndex=0) const
 
ConditionIterator ConditionsEnd (IndexType ThisIndex=0)
 
ConditionConstantIterator ConditionsEnd (IndexType ThisIndex=0) const
 
ConditionsContainerTypeConditions (IndexType ThisIndex=0)
 
const ConditionsContainerTypeConditions (IndexType ThisIndex=0) const
 
ConditionsContainerType::Pointer pConditions (IndexType ThisIndex=0)
 
void SetConditions (ConditionsContainerType::Pointer pOtherConditions, IndexType ThisIndex=0)
 
ConditionsContainerType::ContainerTypeConditionsArray (IndexType ThisIndex=0)
 
Geometry Container
SizeType NumberOfGeometries () const
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const std::vector< IndexType > &rGeometryNodeIds)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, GeometryType::PointsArrayType pGeometryNodes)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, GeometryType::Pointer pGeometry)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const IndexType GeometryId, const std::vector< IndexType > &rGeometryNodeIds)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const IndexType GeometryId, GeometryType::PointsArrayType pGeometryNodes)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const IndexType GeometryId, GeometryType::Pointer pGeometry)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const std::string &rGeometryIdentifierName, const std::vector< IndexType > &rGeometryNodeIds)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const std::string &rGeometryIdentifierName, GeometryType::PointsArrayType pGeometryNodes)
 Inserts a geometry in the current model part. More...
 
GeometryType::Pointer CreateNewGeometry (const std::string &rGeometryTypeName, const std::string &rGeometryIdentifierName, GeometryType::Pointer pGeometry)
 Inserts a geometry in the current model part. More...
 
void AddGeometry (typename GeometryType::Pointer pNewGeometry)
 Adds a geometry to the geometry container. More...
 
void AddGeometries (std::vector< IndexType > const &GeometriesIds)
 Inserts a list of geometries to a submodelpart provided their Id. Does nothing if applied to the top model part. More...
 
template<class TIteratorType >
void AddGeometries (TIteratorType GeometryBegin, TIteratorType GeometriesEnd, IndexType ThisIndex=0)
 Inserts a list of geometries to a submodelpart provided their iterators. More...
 
GeometryType::Pointer pGetGeometry (IndexType GeometryId)
 Returns the Geometry::Pointer corresponding to the Id. More...
 
const GeometryType::Pointer pGetGeometry (IndexType GeometryId) const
 Returns the const Geometry::Pointer corresponding to the Id. More...
 
GeometryType::Pointer pGetGeometry (std::string GeometryName)
 Returns the Geometry::Pointer corresponding to the name. More...
 
const GeometryType::Pointer pGetGeometry (std::string GeometryName) const
 Returns the Geometry::Pointer corresponding to the name. More...
 
GeometryTypeGetGeometry (IndexType GeometryId)
 Returns a reference geometry corresponding to the id. More...
 
const GeometryTypeGetGeometry (IndexType GeometryId) const
 Returns a const reference geometry corresponding to the id. More...
 
GeometryTypeGetGeometry (std::string GeometryName)
 Returns a reference geometry corresponding to the name. More...
 
const GeometryTypeGetGeometry (std::string GeometryName) const
 Returns a const reference geometry corresponding to the name. More...
 
bool HasGeometry (IndexType GeometryId) const
 Checks if has geometry by id. More...
 
bool HasGeometry (std::string GeometryName) const
 Checks if has geometry by name. More...
 
void RemoveGeometry (IndexType GeometryId)
 Removes a geometry by id. More...
 
void RemoveGeometry (std::string GeometryName)
 Removes a geometry by name. More...
 
void RemoveGeometryFromAllLevels (IndexType GeometryId)
 Removes a geometry by id from all root and sub model parts. More...
 
void RemoveGeometryFromAllLevels (std::string GeometryName)
 Removes a geometry by name from all root and sub model parts. More...
 
GeometryIterator GeometriesBegin ()
 Begin geometry iterator. More...
 
GeometryConstantIterator GeometriesBegin () const
 Begin geometry const iterator. More...
 
GeometryIterator GeometriesEnd ()
 End geometry iterator. More...
 
GeometryConstantIterator GeometriesEnd () const
 End geometry const iterator. More...
 
GeometriesMapTypeGeometries ()
 Get geometry map container. More...
 
const GeometriesMapTypeGeometries () const
 Get geometry map container. More...
 
Sub model parts
SizeType NumberOfSubModelParts () const
 
ModelPartCreateSubModelPart (std::string const &NewSubModelPartName)
 
ModelPartGetSubModelPart (std::string const &SubModelPartName)
 
const ModelPartGetSubModelPart (std::string const &SubModelPartName) const
 
ModelPartpGetSubModelPart (std::string const &SubModelPartName)
 
void RemoveSubModelPart (std::string const &ThisSubModelPartName)
 
void RemoveSubModelPart (ModelPart &ThisSubModelPart)
 
SubModelPartIterator SubModelPartsBegin ()
 
SubModelPartConstantIterator SubModelPartsBegin () const
 
SubModelPartIterator SubModelPartsEnd ()
 
SubModelPartConstantIterator SubModelPartsEnd () const
 
SubModelPartsContainerTypeSubModelParts ()
 
const SubModelPartsContainerTypeSubModelParts () const
 
ModelPartGetParentModelPart ()
 
const ModelPartGetParentModelPart () const
 
bool HasSubModelPart (std::string const &ThisSubModelPartName) const
 
Access
ProcessInfoGetProcessInfo ()
 
ProcessInfo const & GetProcessInfo () const
 
ProcessInfo::Pointer pGetProcessInfo ()
 
const ProcessInfo::Pointer pGetProcessInfo () const
 
void SetProcessInfo (ProcessInfo::Pointer pNewProcessInfo)
 
void SetProcessInfo (ProcessInfo &NewProcessInfo)
 
SizeType NumberOfMeshes ()
 
MeshType::Pointer pGetMesh (IndexType ThisIndex=0)
 
const MeshType::Pointer pGetMesh (IndexType ThisIndex=0) const
 
MeshTypeGetMesh (IndexType ThisIndex=0)
 
MeshType const & GetMesh (IndexType ThisIndex=0) const
 
MeshesContainerTypeGetMeshes ()
 
MeshesContainerType const & GetMeshes () const
 
std::string & Name ()
 
std::string const & Name () const
 
CommunicatorGetCommunicator ()
 
Communicator const & GetCommunicator () const
 
Communicator::Pointer pGetCommunicator ()
 
void SetCommunicator (Communicator::Pointer pNewCommunicator)
 
Operations
std::string FullName () const
 This method returns the full name of the model part (including the parents model parts) More...
 
std::vector< std::string > GetSubModelPartNames () const
 This method returns the names of submodelparts. More...
 
void SetBufferSize (IndexType NewBufferSize)
 This method sets the suffer size of the model part database. More...
 
IndexType GetBufferSize () const
 This method gets the suffer size of the model part database. More...
 
virtual int Check () const
 run input validation More...
 
Inquiry
bool IsSubModelPart () const
 
bool IsDistributed () const
 
Input and output
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...
 
virtual void PrintInfo (std::ostream &rOStream, std::string const &PrefixString) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream, std::string const &PrefixString) const
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::DataValueContainer
 DataValueContainer ()
 Default constructor. More...
 
 DataValueContainer (DataValueContainer const &rOther)
 Copy constructor. More...
 
virtual ~DataValueContainer ()
 Destructor. More...
 
template<class TDataType >
const TDataType & operator() (const VariableData &rThisVariable) const
 Accessor operator for retrieving a data value by a VariableData. More...
 
template<class TDataType >
TDataType & operator() (const Variable< TDataType > &rThisVariable)
 Accessor operator for retrieving a data value by a Variable. More...
 
template<class TDataType >
const TDataType & operator() (const Variable< TDataType > &rThisVariable) const
 Accessor operator for retrieving a data value by a Variable (const version). More...
 
template<class TDataType >
TDataType & operator[] (const VariableData &rThisVariable)
 Index operator for retrieving a data value by a VariableData. More...
 
template<class TDataType >
const TDataType & operator[] (const VariableData &rThisVariable) const
 Index operator for retrieving a data value by a VariableData (const version). More...
 
template<class TDataType >
TDataType & operator[] (const Variable< TDataType > &rThisVariable)
 Index operator for retrieving a data value by a Variable. More...
 
template<class TDataType >
const TDataType & operator[] (const Variable< TDataType > &rThisVariable) const
 Index operator for retrieving a data value by a Variable (const version). More...
 
iterator begin ()
 Iterator pointing to the beginning of the container. More...
 
const_iterator begin () const
 Const iterator pointing to the beginning of the container. More...
 
iterator end ()
 Iterator pointing to the end of the container. More...
 
const_iterator end () const
 Const iterator pointing to the end of the container. More...
 
DataValueContaineroperator= (const DataValueContainer &rOther)
 Assignment operator for copying data from another DataValueContainer. More...
 
template<class TDataType >
TDataType & GetValue (const Variable< TDataType > &rThisVariable)
 Gets the value associated with a given variable. More...
 
template<class TDataType >
const TDataType & GetValue (const Variable< TDataType > &rThisVariable) const
 Gets the value associated with a given variable (const version). More...
 
SizeType Size ()
 Gets the size of the data container. More...
 
template<class TDataType >
void SetValue (const Variable< TDataType > &rThisVariable, TDataType const &rValue)
 Sets the value for a given variable. More...
 
template<class TDataType >
void Erase (const Variable< TDataType > &rThisVariable)
 Erases the value associated with a given variable. More...
 
void Clear ()
 Clears the entire data container. More...
 
void Merge (const DataValueContainer &rOther, const Flags Options)
 Merges this data container with another data container. More...
 
template<class TDataType >
bool Has (const Variable< TDataType > &rThisVariable) const
 Checks if the data container has a value associated with a given variable. More...
 
bool IsEmpty () const
 Checks if the data container is empty. More...
 
 KRATOS_DEFINE_LOCAL_FLAG (OVERWRITE_OLD_VALUES)
 Define local flag. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (DataValueContainer)
 Pointer definition of DataValueContainer. More...
 
- Public Member Functions inherited from Kratos::Flags
Flagsoperator= (Flags const &rOther)
 Assignment operator. More...
 
 operator bool () const
 
Flags operator~ () const
 
bool operator! () const
 
void AssignFlags (Flags const &rOther)
 
void Set (const Flags ThisFlag)
 
void Set (const Flags ThisFlag, bool Value)
 
void Reset (const Flags ThisFlag)
 
void Flip (const Flags ThisFlag)
 
void SetPosition (IndexType Position, bool Value=true)
 
bool GetPosition (IndexType Position) const
 
void FlipPosition (IndexType Position)
 
void ClearPosition (IndexType Position)
 
void Clear ()
 
Flags AsFalse () const
 
bool Is (Flags const &rOther) const
 
bool IsDefined (Flags const &rOther) const
 
bool IsNot (Flags const &rOther) const
 
bool IsNotDefined (Flags const &rOther) const
 
 KRATOS_CLASS_POINTER_DEFINITION (Flags)
 Pointer definition of Flags. More...
 
const Flagsoperator|= (const Flags &Other)
 
const Flagsoperator&= (const Flags &Other)
 
 Flags ()
 Default constructor. More...
 
 Flags (Flags const &rOther)
 Copy constructor. More...
 
virtual ~Flags ()
 Destructor. More...
 

Friends

class Model
 TODO replace this "model" for real one once available in kratos core. More...
 

Serialization

class Serializer
 

Additional Inherited Members

- Static Public Member Functions inherited from Kratos::Flags
static const Flags AllDefined ()
 
static const Flags AllTrue ()
 
static Flags Create (IndexType ThisPosition, bool Value=true)
 

Detailed Description

This class aims to manage meshes for multi-physics simulations.

Author
Pooyan Dadvand
Riccardo Rossi

Member Typedef Documentation

◆ ConditionConstantIterator

Const iterator over the Conditions. This iterator is an indirect iterator over Conditions::Pointer which turn back a reference to Condition by * operator and not a pointer for more convenient usage.

◆ ConditionIterator

Iterator over the Conditions. This iterator is an indirect iterator over Conditions::Pointer which turn back a reference to Condition by * operator and not a pointer for more convenient usage.

◆ ConditionsContainerType

typedef MeshType::ConditionsContainerType Kratos::ModelPart::ConditionsContainerType

Condintions container. A vector set of Conditions with their Id's as key.

◆ ConditionType

◆ DofsArrayType

◆ DofsVectorType

◆ DofType

◆ DoubleVariableType

◆ ElementConstantIterator

Const iterator over the Elements. This iterator is an indirect iterator over Elements::Pointer which turn back a reference to Element by * operator and not a pointer for more convenient usage.

◆ ElementIterator

typedef MeshType::ElementIterator Kratos::ModelPart::ElementIterator

Iterator over the Elements. This iterator is an indirect iterator over Elements::Pointer which turn back a reference to Element by * operator and not a pointer for more convenient usage.

◆ ElementsContainerType

typedef MeshType::ElementsContainerType Kratos::ModelPart::ElementsContainerType

Element container. A vector set of Elements with their Id's as key.

Iterator over the properties. This iterator is an indirect iterator over Properties::Pointer which turn back a reference to properties by * operator and not a pointer for more convenient usage.

◆ ElementType

◆ GeometriesMapType

Geometry Hash Map Container. Stores with hash of Ids to corresponding geometries.

◆ GeometryConstantIterator

Const Geometry Iterator.

◆ GeometryContainerType

The Geometry Container.

Contains all geometries, which can be addressed by specific identifiers.

◆ GeometryIterator

Geometry Iterator.

◆ GeometryType

◆ IndexType

typedef std::size_t Kratos::ModelPart::IndexType

Pointer definition of ModelPart.

◆ MasterSlaveConstraintConstantIteratorType

Const iterator over the constraints. This iterator is an indirect iterator over MasterSlaveConstraint::Pointer which turn back a reference to Table by * operator and not a pointer for more convenient usage.

◆ MasterSlaveConstraintContainerType

◆ MasterSlaveConstraintIteratorType

Iterator over the constraints. This iterator is an indirect iterator over MasterSlaveConstraint::Pointer which turn back a reference to MasterSlaveConstraint by * operator and not a pointer for more convenient usage.

◆ MasterSlaveConstraintType

The container of the constraints.

◆ MatrixType

◆ MeshesContainerType

◆ MeshType

◆ NodeConstantIterator

Const iterator over the nodes. This iterator is an indirect iterator over Node::Pointer which turn back a reference to node by * operator and not a pointer for more convenient usage.

◆ NodeIterator

typedef MeshType::NodeIterator Kratos::ModelPart::NodeIterator

Iterator over the nodes. This iterator is an indirect iterator over Node::Pointer which turn back a reference to node by * operator and not a pointer for more convenient usage.

◆ NodesContainerType

typedef MeshType::NodesContainerType Kratos::ModelPart::NodesContainerType

Nodes container. Which is a vector set of nodes with their Id's as key.

◆ NodeType

◆ PropertiesConstantIterator

Const iterator over the Properties. This iterator is an indirect iterator over Properties::Pointer which turn back a reference to Properties by * operator and not a pointer for more convenient usage.

◆ PropertiesContainerType

Properties container. Which is a vector set of Properties with their Id's as key.

Iterator over the properties. This iterator is an indirect iterator over Properties::Pointer which turn back a reference to properties by * operator and not a pointer for more convenient usage.

◆ PropertiesIterator

Iterator over the Properties. This iterator is an indirect iterator over Node::Pointer which turn back a reference to node by * operator and not a pointer for more convenient usage.

◆ PropertiesType

◆ SizeType

typedef std::size_t Kratos::ModelPart::SizeType

◆ SubModelPartConstantIterator

Constant iterator over the sub model parts of this model part.

Note that this iterator only iterates over the next level of sub model parts and does not go through the hierarchy of the sub model parts

◆ SubModelPartIterator

Iterator over the sub model parts of this model part.

Note that this iterator only iterates over the next level of sub model parts and does not go through the hierarchy of the sub model parts

◆ SubModelPartsContainerType

The container of the sub model parts. A hash table is used.

◆ TableConstantIterator

Const iterator over the Tables. This iterator is an indirect iterator over Tables::Pointer which turn back a reference to Table by * operator and not a pointer for more convenient usage.

◆ TableIterator

Iterator over the Tables. This iterator is an indirect iterator over Tables::Pointer which turn back a reference to Table by * operator and not a pointer for more convenient usage.

◆ TablesContainerType

The container of the tables. A vector map of the tables.

◆ TableType

Defining a table with double argument and result type as table type.

◆ VectorType

Member Enumeration Documentation

◆ OwnershipType

Enumerator
Kratos_All 
Kratos_Local 
Kratos_Ghost 
Kratos_Ownership_Size 

Constructor & Destructor Documentation

◆ ~ModelPart()

Kratos::ModelPart::~ModelPart ( )
override

Destructor.

Member Function Documentation

◆ AddCondition()

void Kratos::ModelPart::AddCondition ( ConditionType::Pointer  pNewCondition,
IndexType  ThisIndex = 0 
)

Inserts a condition in the current mesh.

Inserts a condition in the mesh with ThisIndex.

◆ AddConditions() [1/2]

void Kratos::ModelPart::AddConditions ( std::vector< IndexType > const &  ConditionIds,
IndexType  ThisIndex = 0 
)

Inserts a list of conditions to a submodelpart provided their Id. Does nothing if applied to the top model part

◆ AddConditions() [2/2]

template<class TIteratorType >
void Kratos::ModelPart::AddConditions ( TIteratorType  conditions_begin,
TIteratorType  conditions_end,
IndexType  ThisIndex = 0 
)
inline

Inserts a list of pointers to nodes

◆ AddElement()

void Kratos::ModelPart::AddElement ( ElementType::Pointer  pNewElement,
IndexType  ThisIndex = 0 
)

Inserts a element in the current mesh.

Inserts a element in the mesh with ThisIndex.

◆ AddElements() [1/2]

void Kratos::ModelPart::AddElements ( std::vector< IndexType > const &  ElementIds,
IndexType  ThisIndex = 0 
)

Inserts a list of elements to a submodelpart provided their Id. Does nothing if applied to the top model part

Inserts a list of conditions to a submodelpart provided their Id. Does nothing if applied to the top model part

◆ AddElements() [2/2]

template<class TIteratorType >
void Kratos::ModelPart::AddElements ( TIteratorType  elements_begin,
TIteratorType  elements_end,
IndexType  ThisIndex = 0 
)
inline

Inserts a list of pointers to elements

◆ AddGeometries() [1/2]

void Kratos::ModelPart::AddGeometries ( std::vector< IndexType > const &  GeometriesIds)

Inserts a list of geometries to a submodelpart provided their Id. Does nothing if applied to the top model part.

Inserts a list of geometries to a submodelpart provided their Id. Does nothing if applied to the top model part

◆ AddGeometries() [2/2]

template<class TIteratorType >
void Kratos::ModelPart::AddGeometries ( TIteratorType  GeometryBegin,
TIteratorType  GeometriesEnd,
IndexType  ThisIndex = 0 
)
inline

Inserts a list of geometries to a submodelpart provided their iterators.

◆ AddGeometry()

void Kratos::ModelPart::AddGeometry ( typename GeometryType::Pointer  pNewGeometry)

Adds a geometry to the geometry container.

Check if geometry id already used, is done within the geometry container.

◆ AddMasterSlaveConstraint()

void Kratos::ModelPart::AddMasterSlaveConstraint ( MasterSlaveConstraintType::Pointer  pNewMasterSlaveConstraint,
IndexType  ThisIndex = 0 
)

Inserts a master-slave constraint in the current modelpart.

Inserts a master-slave constraint in the current mesh.

◆ AddMasterSlaveConstraints() [1/2]

void Kratos::ModelPart::AddMasterSlaveConstraints ( std::vector< IndexType > const &  MasterSlaveConstraintIds,
IndexType  ThisIndex = 0 
)

Inserts a list of master-slave constraints to a submodelpart provided their Id. Does nothing if applied to the top model part

◆ AddMasterSlaveConstraints() [2/2]

template<class TIteratorType >
void Kratos::ModelPart::AddMasterSlaveConstraints ( TIteratorType  constraints_begin,
TIteratorType  constraints_end,
IndexType  ThisIndex = 0 
)
inline

Inserts a list of pointers to Master-Slave constraints

◆ AddNodalSolutionStepVariable()

void Kratos::ModelPart::AddNodalSolutionStepVariable ( VariableData const &  ThisVariable)
inline

◆ AddNode()

void Kratos::ModelPart::AddNode ( NodeType::Pointer  pNewNode,
IndexType  ThisIndex = 0 
)

Inserts a node in the current mesh.

Inserts a node in the mesh with ThisIndex.

◆ AddNodes() [1/2]

void Kratos::ModelPart::AddNodes ( std::vector< IndexType > const &  NodeIds,
IndexType  ThisIndex = 0 
)

Inserts a list of nodes in a submodelpart provided their Id. Does nothing if applied to the top model part

◆ AddNodes() [2/2]

template<class TIteratorType >
void Kratos::ModelPart::AddNodes ( TIteratorType  nodes_begin,
TIteratorType  nodes_end,
IndexType  ThisIndex = 0 
)
inline

Inserts a list of pointers to nodes

◆ AddProperties()

void Kratos::ModelPart::AddProperties ( PropertiesType::Pointer  pNewProperties,
IndexType  ThisIndex = 0 
)

Inserts a properties in the current mesh.

Parameters
pNewPropertiesThe new property pointer to be added
ThisIndexThe index identifying the mesh

Inserts a properties in the mesh with ThisIndex.

◆ AddTable()

void Kratos::ModelPart::AddTable ( IndexType  TableId,
TableType::Pointer  pNewTable 
)

Inserts a Table

◆ AssignNode()

void Kratos::ModelPart::AssignNode ( NodeType::Pointer  pThisNode,
IndexType  ThisIndex = 0 
)

◆ Check()

int Kratos::ModelPart::Check ( ) const
virtual

run input validation

◆ Clear()

void Kratos::ModelPart::Clear ( )

Function to wipe a modelpart clean, However, variables list, buffer size and process info is preserved

◆ CloneSolutionStep()

ModelPart::IndexType Kratos::ModelPart::CloneSolutionStep ( )

◆ CloneTimeStep() [1/2]

ModelPart::IndexType Kratos::ModelPart::CloneTimeStep ( )

◆ CloneTimeStep() [2/2]

ModelPart::IndexType Kratos::ModelPart::CloneTimeStep ( double  NewTime)

◆ Conditions() [1/2]

ConditionsContainerType& Kratos::ModelPart::Conditions ( IndexType  ThisIndex = 0)
inline

◆ Conditions() [2/2]

const ConditionsContainerType& Kratos::ModelPart::Conditions ( IndexType  ThisIndex = 0) const
inline

◆ ConditionsArray()

ConditionsContainerType::ContainerType& Kratos::ModelPart::ConditionsArray ( IndexType  ThisIndex = 0)
inline

◆ ConditionsBegin() [1/2]

ConditionIterator Kratos::ModelPart::ConditionsBegin ( IndexType  ThisIndex = 0)
inline

◆ ConditionsBegin() [2/2]

ConditionConstantIterator Kratos::ModelPart::ConditionsBegin ( IndexType  ThisIndex = 0) const
inline

◆ ConditionsEnd() [1/2]

ConditionIterator Kratos::ModelPart::ConditionsEnd ( IndexType  ThisIndex = 0)
inline

◆ ConditionsEnd() [2/2]

ConditionConstantIterator Kratos::ModelPart::ConditionsEnd ( IndexType  ThisIndex = 0) const
inline

◆ CreateNewCondition() [1/3]

ConditionType::Pointer Kratos::ModelPart::CreateNewCondition ( std::string  ConditionName,
IndexType  Id,
Geometry< Node >::PointsArrayType  pConditionNodes,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new condition with a nodes list.

◆ CreateNewCondition() [2/3]

ConditionType::Pointer Kratos::ModelPart::CreateNewCondition ( std::string  ConditionName,
IndexType  Id,
std::vector< IndexType ConditionNodeIds,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new condition with a node ids list.

◆ CreateNewCondition() [3/3]

ConditionType::Pointer Kratos::ModelPart::CreateNewCondition ( std::string  ConditionName,
IndexType  Id,
typename GeometryType::Pointer  pGeometry,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new condition with pointer to geometry.

◆ CreateNewElement() [1/3]

ElementType::Pointer Kratos::ModelPart::CreateNewElement ( std::string  ElementName,
IndexType  Id,
Geometry< Node >::PointsArrayType  pElementNodes,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new element with a nodes list.

◆ CreateNewElement() [2/3]

ElementType::Pointer Kratos::ModelPart::CreateNewElement ( std::string  ElementName,
IndexType  Id,
std::vector< IndexType ElementNodeIds,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new element with a node ids list.

◆ CreateNewElement() [3/3]

ElementType::Pointer Kratos::ModelPart::CreateNewElement ( std::string  ElementName,
IndexType  Id,
typename GeometryType::Pointer  pGeometry,
PropertiesType::Pointer  pProperties,
IndexType  ThisIndex = 0 
)

Creates new element with pointer to geometry.

◆ CreateNewGeometry() [1/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const IndexType  GeometryId,
const std::vector< IndexType > &  rGeometryNodeIds 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
GeometryIdof the new geometry added.
rGeometryNodeIdsThe node ids to create the geometry.

◆ CreateNewGeometry() [2/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const IndexType  GeometryId,
GeometryType::Pointer  pGeometry 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
GeometryIdof the new geometry added.
pGeometryThe pointer to an existing geometry.

◆ CreateNewGeometry() [3/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const IndexType  GeometryId,
GeometryType::PointsArrayType  pGeometryNodes 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
GeometryIdof the new geometry added.
pGeometryNodesThe nodes array to create the geometry.

◆ CreateNewGeometry() [4/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const std::string &  rGeometryIdentifierName,
const std::vector< IndexType > &  rGeometryNodeIds 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
rGeometryIdentifierNamethe identifier id of this geometry. Must be identical.
rGeometryNodeIdsThe node ids to create the geometry.

◆ CreateNewGeometry() [5/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const std::string &  rGeometryIdentifierName,
GeometryType::Pointer  pGeometry 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added. Must be registered.
rGeometryIdentifierNamethe identifier id of this geometry. Must be identical.
pGeometryThe pointer to an existing geometry.

◆ CreateNewGeometry() [6/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const std::string &  rGeometryIdentifierName,
GeometryType::PointsArrayType  pGeometryNodes 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added. Must be registered.
rGeometryIdentifierNamethe identifier id of this geometry. Must be identical.
pGeometryNodesThe nodes array to create the geometry.

◆ CreateNewGeometry() [7/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
const std::vector< IndexType > &  rGeometryNodeIds 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
rGeometryNodeIdsThe node ids to create the geometry.

◆ CreateNewGeometry() [8/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
GeometryType::Pointer  pGeometry 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
pGeometryThe pointer to an existing geometry.

◆ CreateNewGeometry() [9/9]

ModelPart::GeometryType::Pointer Kratos::ModelPart::CreateNewGeometry ( const std::string &  rGeometryTypeName,
GeometryType::PointsArrayType  pGeometryNodes 
)

Inserts a geometry in the current model part.

Parameters
rGeometryTypeNameThe type of the geometry to be added, must be registered.
pGeometryNodesThe nodes array to create the geometry.

◆ CreateNewMasterSlaveConstraint() [1/2]

ModelPart::MasterSlaveConstraintType::Pointer Kratos::ModelPart::CreateNewMasterSlaveConstraint ( const std::string &  ConstraintName,
IndexType  Id,
ModelPart::DofsVectorType rMasterDofsVector,
ModelPart::DofsVectorType rSlaveDofsVector,
const MatrixType RelationMatrix,
const VectorType ConstantVector,
IndexType  ThisIndex = 0 
)

Creates a new master-slave constraint in the current modelpart.

Todo:
Replace these 3 functions by one that perfectly forwards arguments, then just define these 3 interfaces on the pybind side

Inserts an master-slave constraint in the current mesh.

◆ CreateNewMasterSlaveConstraint() [2/2]

ModelPart::MasterSlaveConstraintType::Pointer Kratos::ModelPart::CreateNewMasterSlaveConstraint ( const std::string &  ConstraintName,
ModelPart::IndexType  Id,
ModelPart::NodeType rMasterNode,
const DoubleVariableType rMasterVariable,
ModelPart::NodeType rSlaveNode,
const DoubleVariableType rSlaveVariable,
const double  Weight,
const double  Constant,
IndexType  ThisIndex = 0 
)

◆ CreateNewNode() [1/4]

ModelPart::NodeType::Pointer Kratos::ModelPart::CreateNewNode ( ModelPart::IndexType  Id,
double  x,
double  y,
double  z,
double pThisData,
ModelPart::IndexType  ThisIndex = 0 
)

◆ CreateNewNode() [2/4]

ModelPart::NodeType::Pointer Kratos::ModelPart::CreateNewNode ( ModelPart::IndexType  Id,
double  x,
double  y,
double  z,
ModelPart::IndexType  ThisIndex = 0 
)

◆ CreateNewNode() [3/4]

ModelPart::NodeType::Pointer Kratos::ModelPart::CreateNewNode ( ModelPart::IndexType  NodeId,
ModelPart::NodeType const &  rSourceNode,
ModelPart::IndexType  ThisIndex = 0 
)

◆ CreateNewNode() [4/4]

ModelPart::NodeType::Pointer Kratos::ModelPart::CreateNewNode ( int  Id,
double  x,
double  y,
double  z,
VariablesList::Pointer  pNewVariablesList,
ModelPart::IndexType  ThisIndex = 0 
)

Inserts a node in the current mesh.

Inserts a node in the mesh with ThisIndex.

◆ CreateNewProperties()

ModelPart::PropertiesType::Pointer Kratos::ModelPart::CreateNewProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
)

Creates a new property in the current mesh.

If the property is already existing it will crash

Parameters
PropertiesIdThe Id of the new property
MeshIndexThe Id of the mesh (0 by default)
Returns
The new created properties

◆ CreateSolutionStep()

ModelPart::IndexType Kratos::ModelPart::CreateSolutionStep ( )

◆ CreateSubModelPart()

ModelPart & Kratos::ModelPart::CreateSubModelPart ( std::string const &  NewSubModelPartName)

Creates a new sub model part with given name. Does nothing if a sub model part with the same name exist.

◆ CreateTimeStep()

ModelPart::IndexType Kratos::ModelPart::CreateTimeStep ( double  NewTime)

◆ Elements() [1/2]

ElementsContainerType& Kratos::ModelPart::Elements ( IndexType  ThisIndex = 0)
inline

◆ Elements() [2/2]

const ElementsContainerType& Kratos::ModelPart::Elements ( IndexType  ThisIndex = 0) const
inline

◆ ElementsArray()

ElementsContainerType::ContainerType& Kratos::ModelPart::ElementsArray ( IndexType  ThisIndex = 0)
inline

◆ ElementsBegin() [1/2]

ElementIterator Kratos::ModelPart::ElementsBegin ( IndexType  ThisIndex = 0)
inline

◆ ElementsBegin() [2/2]

ElementConstantIterator Kratos::ModelPart::ElementsBegin ( IndexType  ThisIndex = 0) const
inline

◆ ElementsEnd() [1/2]

ElementIterator Kratos::ModelPart::ElementsEnd ( IndexType  ThisIndex = 0)
inline

◆ ElementsEnd() [2/2]

ElementConstantIterator Kratos::ModelPart::ElementsEnd ( IndexType  ThisIndex = 0) const
inline

◆ FullName()

std::string Kratos::ModelPart::FullName ( ) const
inline

This method returns the full name of the model part (including the parents model parts)

This is evaluated in a recursive way

Returns
The full name of the model part

◆ Geometries() [1/2]

GeometriesMapType& Kratos::ModelPart::Geometries ( )
inline

Get geometry map container.

◆ Geometries() [2/2]

const GeometriesMapType& Kratos::ModelPart::Geometries ( ) const
inline

Get geometry map container.

◆ GeometriesBegin() [1/2]

GeometryIterator Kratos::ModelPart::GeometriesBegin ( )
inline

Begin geometry iterator.

◆ GeometriesBegin() [2/2]

GeometryConstantIterator Kratos::ModelPart::GeometriesBegin ( ) const
inline

Begin geometry const iterator.

◆ GeometriesEnd() [1/2]

GeometryIterator Kratos::ModelPart::GeometriesEnd ( )
inline

End geometry iterator.

◆ GeometriesEnd() [2/2]

GeometryConstantIterator Kratos::ModelPart::GeometriesEnd ( ) const
inline

End geometry const iterator.

◆ GetBufferSize()

IndexType Kratos::ModelPart::GetBufferSize ( ) const
inline

This method gets the suffer size of the model part database.

Returns
mBufferSize The buffer size

◆ GetCommunicator() [1/2]

Communicator& Kratos::ModelPart::GetCommunicator ( )
inline

◆ GetCommunicator() [2/2]

Communicator const& Kratos::ModelPart::GetCommunicator ( ) const
inline

◆ GetCondition() [1/2]

ConditionType& Kratos::ModelPart::GetCondition ( IndexType  ConditionId,
IndexType  ThisIndex = 0 
)
inline

Returns a reference condition corresponding to it's identifier

◆ GetCondition() [2/2]

const ConditionType& Kratos::ModelPart::GetCondition ( IndexType  ConditionId,
IndexType  ThisIndex = 0 
) const
inline

◆ GetElement() [1/2]

ElementType& Kratos::ModelPart::GetElement ( IndexType  ElementId,
IndexType  ThisIndex = 0 
)
inline

Returns a reference element corresponding to it's identifier

◆ GetElement() [2/2]

const ElementType& Kratos::ModelPart::GetElement ( IndexType  ElementId,
IndexType  ThisIndex = 0 
) const
inline

◆ GetGeometry() [1/4]

GeometryType& Kratos::ModelPart::GetGeometry ( IndexType  GeometryId)
inline

Returns a reference geometry corresponding to the id.

◆ GetGeometry() [2/4]

const GeometryType& Kratos::ModelPart::GetGeometry ( IndexType  GeometryId) const
inline

Returns a const reference geometry corresponding to the id.

◆ GetGeometry() [3/4]

GeometryType& Kratos::ModelPart::GetGeometry ( std::string  GeometryName)
inline

Returns a reference geometry corresponding to the name.

◆ GetGeometry() [4/4]

const GeometryType& Kratos::ModelPart::GetGeometry ( std::string  GeometryName) const
inline

Returns a const reference geometry corresponding to the name.

◆ GetMasterSlaveConstraint() [1/2]

ModelPart::MasterSlaveConstraintType & Kratos::ModelPart::GetMasterSlaveConstraint ( ModelPart::IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
)

Returns a reference MasterSlaveConstraint corresponding to it's identifier

◆ GetMasterSlaveConstraint() [2/2]

const ModelPart::MasterSlaveConstraintType & Kratos::ModelPart::GetMasterSlaveConstraint ( ModelPart::IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
) const

Returns a const reference MasterSlaveConstraint corresponding to it's identifier

◆ GetMesh() [1/2]

MeshType& Kratos::ModelPart::GetMesh ( IndexType  ThisIndex = 0)
inline

◆ GetMesh() [2/2]

MeshType const& Kratos::ModelPart::GetMesh ( IndexType  ThisIndex = 0) const
inline

◆ GetMeshes() [1/2]

MeshesContainerType& Kratos::ModelPart::GetMeshes ( )
inline

◆ GetMeshes() [2/2]

MeshesContainerType const& Kratos::ModelPart::GetMeshes ( ) const
inline

◆ GetModel() [1/2]

Model& Kratos::ModelPart::GetModel ( )
inline

◆ GetModel() [2/2]

const Model& Kratos::ModelPart::GetModel ( ) const
inline

◆ GetNodalSolutionStepDataSize()

SizeType Kratos::ModelPart::GetNodalSolutionStepDataSize ( )
inline

◆ GetNodalSolutionStepTotalDataSize()

SizeType Kratos::ModelPart::GetNodalSolutionStepTotalDataSize ( )
inline

◆ GetNodalSolutionStepVariablesList() [1/2]

VariablesList& Kratos::ModelPart::GetNodalSolutionStepVariablesList ( )
inline

◆ GetNodalSolutionStepVariablesList() [2/2]

VariablesList const& Kratos::ModelPart::GetNodalSolutionStepVariablesList ( ) const
inline

◆ GetNode() [1/2]

NodeType& Kratos::ModelPart::GetNode ( IndexType  NodeId,
IndexType  ThisIndex = 0 
)
inline

Returns a reference node corresponding to it's identifier

◆ GetNode() [2/2]

const NodeType& Kratos::ModelPart::GetNode ( IndexType  NodeId,
IndexType  ThisIndex = 0 
) const
inline

◆ GetParentModelPart() [1/2]

ModelPart & Kratos::ModelPart::GetParentModelPart ( )

Returns a reference to the Parent ModelPart Returns a reference to itself if it is not a SubModelPart

◆ GetParentModelPart() [2/2]

const ModelPart & Kratos::ModelPart::GetParentModelPart ( ) const

Returns a reference to the Parent ModelPart (const version) Returns a reference to itself if it is not a SubModelPart

◆ GetProcessInfo() [1/2]

ProcessInfo& Kratos::ModelPart::GetProcessInfo ( )
inline

◆ GetProcessInfo() [2/2]

ProcessInfo const& Kratos::ModelPart::GetProcessInfo ( ) const
inline

◆ GetProperties() [1/4]

Properties & Kratos::ModelPart::GetProperties ( const std::string &  rAddress,
IndexType  MeshIndex = 0 
)

Returns the sub Properties::Pointer corresponding to it's address.

If the property is not existing it will return a warning

Parameters
rAddressThe text that indicates the structure of subproperties to iterate and found the property of interest
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (reference)

◆ GetProperties() [2/4]

const Properties & Kratos::ModelPart::GetProperties ( const std::string &  rAddress,
IndexType  MeshIndex = 0 
) const

Returns the sub Properties::Pointer corresponding to it's address (const version)

If the property is not existing it will return a warning

Parameters
rAddressThe text that indicates the structure of subproperties to iterate and found the property of interest
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (reference)

◆ GetProperties() [3/4]

ModelPart::PropertiesType & Kratos::ModelPart::GetProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
)

Returns the Properties::Pointer corresponding to it's identifier.

If the property is not existing it will return a warning

Parameters
PropertiesIdThe Id of the new property
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (reference)

◆ GetProperties() [4/4]

const ModelPart::PropertiesType & Kratos::ModelPart::GetProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
) const

Returns the Properties::Pointer corresponding to it's identifier (const version)

If the property is not existing it will return a warning

Parameters
PropertiesIdThe Id of the new property
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (reference)

◆ GetRootModelPart() [1/2]

ModelPart & Kratos::ModelPart::GetRootModelPart ( )

this function gives back the "root" model part, that is the model_part that has no father (non-const version)

◆ GetRootModelPart() [2/2]

const ModelPart & Kratos::ModelPart::GetRootModelPart ( ) const

this function gives back the "root" model part, that is the model_part that has no father (const version)

◆ GetSubModelPart() [1/2]

ModelPart & Kratos::ModelPart::GetSubModelPart ( std::string const &  SubModelPartName)

Returns a reference to the sub_model part with given string name Throws if it does not exist.

◆ GetSubModelPart() [2/2]

const ModelPart & Kratos::ModelPart::GetSubModelPart ( std::string const &  SubModelPartName) const

Returns a reference to the sub_model part with given string name Throws if it does not exist.

◆ GetSubModelPartNames()

std::vector< std::string > Kratos::ModelPart::GetSubModelPartNames ( ) const

This method returns the names of submodelparts.

Returns
A vector containing the list of submodelparts names

◆ GetTable()

TableType& Kratos::ModelPart::GetTable ( IndexType  TableId)
inline

Returns a reference to Table corresponding to the identifier

◆ HasCondition()

bool Kratos::ModelPart::HasCondition ( IndexType  ConditionId,
IndexType  ThisIndex = 0 
) const
inline

Returns if the Condition corresponding to it's identifier exists

◆ HasElement()

bool Kratos::ModelPart::HasElement ( IndexType  ElementId,
IndexType  ThisIndex = 0 
) const
inline

Returns if the Element corresponding to it's identifier exists

◆ HasGeometry() [1/2]

bool Kratos::ModelPart::HasGeometry ( IndexType  GeometryId) const
inline

Checks if has geometry by id.

◆ HasGeometry() [2/2]

bool Kratos::ModelPart::HasGeometry ( std::string  GeometryName) const
inline

Checks if has geometry by name.

◆ HasMasterSlaveConstraint()

bool Kratos::ModelPart::HasMasterSlaveConstraint ( const IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
) const
inline

Returns if the MasterSlaveConstraint corresponding to it's identifier exists.

Parameters
MasterSlaveConstraintIdThe ID of master-slave constraint
ThisIndexThe mesh index

◆ HasNodalSolutionStepVariable()

bool Kratos::ModelPart::HasNodalSolutionStepVariable ( VariableData const &  ThisVariable) const
inline

◆ HasNode()

bool Kratos::ModelPart::HasNode ( IndexType  NodeId,
IndexType  ThisIndex = 0 
) const
inline

Returns if the Node corresponding to it's identifier exists

◆ HasProperties() [1/2]

bool Kratos::ModelPart::HasProperties ( const std::string &  rAddress,
IndexType  MeshIndex = 0 
) const

Returns if the sub Properties corresponding to it's address exists.

Parameters
rAddressThe text that indicates the structure of subproperties to iterate and found the property of interest
ThisIndexThe index identifying the mesh
Returns
True if the properties exist, false otherwise

◆ HasProperties() [2/2]

bool Kratos::ModelPart::HasProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
) const

Returns if the Properties corresponding to it's identifier exists.

Parameters
PropertiesIdThe id identifying the property
ThisIndexThe index identifying the mesh
Returns
True if the properties exist, false otherwise

◆ HasSubModelPart()

bool Kratos::ModelPart::HasSubModelPart ( std::string const &  ThisSubModelPartName) const

Returns whether this ModelPart has a SubModelPart with a given name

◆ Info()

std::string Kratos::ModelPart::Info ( ) const
overridevirtual

Turn back information as a string.

Reimplemented from Kratos::DataValueContainer.

◆ IsDistributed()

bool Kratos::ModelPart::IsDistributed ( ) const
inline

◆ IsSubModelPart()

bool Kratos::ModelPart::IsSubModelPart ( ) const
inline

◆ KRATOS_DEFINE_LOCAL_FLAG() [1/2]

Kratos::ModelPart::KRATOS_DEFINE_LOCAL_FLAG ( ALL_ENTITIES  )

◆ KRATOS_DEFINE_LOCAL_FLAG() [2/2]

Kratos::ModelPart::KRATOS_DEFINE_LOCAL_FLAG ( OVERWRITE_ENTITIES  )

◆ MasterSlaveConstraints() [1/2]

MasterSlaveConstraintContainerType& Kratos::ModelPart::MasterSlaveConstraints ( IndexType  ThisIndex = 0)
inline

◆ MasterSlaveConstraints() [2/2]

const MasterSlaveConstraintContainerType& Kratos::ModelPart::MasterSlaveConstraints ( IndexType  ThisIndex = 0) const
inline

◆ MasterSlaveConstraintsBegin() [1/2]

MasterSlaveConstraintIteratorType Kratos::ModelPart::MasterSlaveConstraintsBegin ( IndexType  ThisIndex = 0)
inline

◆ MasterSlaveConstraintsBegin() [2/2]

MasterSlaveConstraintConstantIteratorType Kratos::ModelPart::MasterSlaveConstraintsBegin ( IndexType  ThisIndex = 0) const
inline

◆ MasterSlaveConstraintsEnd() [1/2]

MasterSlaveConstraintIteratorType Kratos::ModelPart::MasterSlaveConstraintsEnd ( IndexType  ThisIndex = 0)
inline

◆ MasterSlaveConstraintsEnd() [2/2]

MasterSlaveConstraintConstantIteratorType Kratos::ModelPart::MasterSlaveConstraintsEnd ( IndexType  ThisIndex = 0) const
inline

◆ Name() [1/2]

std::string& Kratos::ModelPart::Name ( )
inline

◆ Name() [2/2]

std::string const& Kratos::ModelPart::Name ( ) const
inline

◆ Nodes() [1/2]

NodesContainerType& Kratos::ModelPart::Nodes ( IndexType  ThisIndex = 0)
inline

◆ Nodes() [2/2]

const NodesContainerType& Kratos::ModelPart::Nodes ( IndexType  ThisIndex = 0) const
inline

◆ NodesArray()

NodesContainerType::ContainerType& Kratos::ModelPart::NodesArray ( IndexType  ThisIndex = 0)
inline

◆ NodesBegin() [1/2]

NodeIterator Kratos::ModelPart::NodesBegin ( IndexType  ThisIndex = 0)
inline

◆ NodesBegin() [2/2]

NodeConstantIterator Kratos::ModelPart::NodesBegin ( IndexType  ThisIndex = 0) const
inline

◆ NodesEnd() [1/2]

NodeIterator Kratos::ModelPart::NodesEnd ( IndexType  ThisIndex = 0)
inline

◆ NodesEnd() [2/2]

NodeConstantIterator Kratos::ModelPart::NodesEnd ( IndexType  ThisIndex = 0) const
inline

◆ NumberOfConditions()

SizeType Kratos::ModelPart::NumberOfConditions ( IndexType  ThisIndex = 0) const
inline

◆ NumberOfElements()

SizeType Kratos::ModelPart::NumberOfElements ( IndexType  ThisIndex = 0) const
inline

◆ NumberOfGeometries()

SizeType Kratos::ModelPart::NumberOfGeometries ( ) const
inline

◆ NumberOfMasterSlaveConstraints()

SizeType Kratos::ModelPart::NumberOfMasterSlaveConstraints ( IndexType  ThisIndex = 0) const
inline

◆ NumberOfMeshes()

SizeType Kratos::ModelPart::NumberOfMeshes ( )
inline

◆ NumberOfNodes()

SizeType Kratos::ModelPart::NumberOfNodes ( IndexType  ThisIndex = 0) const
inline

◆ NumberOfProperties()

ModelPart::SizeType Kratos::ModelPart::NumberOfProperties ( IndexType  ThisIndex = 0) const

Returns the number of properties of the mesh.

Parameters
ThisIndexThe index identifying the mesh
Returns
The number of properties of the mesh

◆ NumberOfSubModelParts()

SizeType Kratos::ModelPart::NumberOfSubModelParts ( ) const
inline

◆ NumberOfTables()

SizeType Kratos::ModelPart::NumberOfTables ( ) const
inline

◆ operator=()

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

Assignment operator.

◆ OverwriteSolutionStepData()

void Kratos::ModelPart::OverwriteSolutionStepData ( IndexType  SourceSolutionStepIndex,
IndexType  DestinationSourceSolutionStepIndex 
)

◆ pConditions()

ConditionsContainerType::Pointer Kratos::ModelPart::pConditions ( IndexType  ThisIndex = 0)
inline

◆ pElements()

ElementsContainerType::Pointer Kratos::ModelPart::pElements ( IndexType  ThisIndex = 0)
inline

◆ pGetCommunicator()

Communicator::Pointer Kratos::ModelPart::pGetCommunicator ( )
inline

◆ pGetCondition() [1/2]

const ConditionType::Pointer Kratos::ModelPart::pGetCondition ( const IndexType  ConditionId,
const IndexType  ThisIndex = 0 
) const
inline

Returns the Condition::Pointer corresponding to it's identifier

◆ pGetCondition() [2/2]

ConditionType::Pointer Kratos::ModelPart::pGetCondition ( IndexType  ConditionId,
IndexType  ThisIndex = 0 
)
inline

Returns the Condition::Pointer corresponding to it's identifier

◆ pGetElement() [1/2]

const ElementType::Pointer Kratos::ModelPart::pGetElement ( const IndexType  ElementId,
const IndexType  ThisIndex = 0 
) const
inline

Returns the Element::Pointer corresponding to it's identifier

◆ pGetElement() [2/2]

ElementType::Pointer Kratos::ModelPart::pGetElement ( IndexType  ElementId,
IndexType  ThisIndex = 0 
)
inline

Returns the Element::Pointer corresponding to it's identifier

◆ pGetGeometry() [1/4]

GeometryType::Pointer Kratos::ModelPart::pGetGeometry ( IndexType  GeometryId)
inline

Returns the Geometry::Pointer corresponding to the Id.

◆ pGetGeometry() [2/4]

const GeometryType::Pointer Kratos::ModelPart::pGetGeometry ( IndexType  GeometryId) const
inline

Returns the const Geometry::Pointer corresponding to the Id.

◆ pGetGeometry() [3/4]

GeometryType::Pointer Kratos::ModelPart::pGetGeometry ( std::string  GeometryName)
inline

Returns the Geometry::Pointer corresponding to the name.

◆ pGetGeometry() [4/4]

const GeometryType::Pointer Kratos::ModelPart::pGetGeometry ( std::string  GeometryName) const
inline

Returns the Geometry::Pointer corresponding to the name.

◆ pGetMasterSlaveConstraint()

ModelPart::MasterSlaveConstraintType::Pointer Kratos::ModelPart::pGetMasterSlaveConstraint ( ModelPart::IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
)

Returns the MasterSlaveConstraint::Pointer corresponding to it's identifier

◆ pGetMesh() [1/2]

MeshType::Pointer Kratos::ModelPart::pGetMesh ( IndexType  ThisIndex = 0)
inline

◆ pGetMesh() [2/2]

const MeshType::Pointer Kratos::ModelPart::pGetMesh ( IndexType  ThisIndex = 0) const
inline

◆ pGetNodalSolutionStepVariablesList()

VariablesList::Pointer Kratos::ModelPart::pGetNodalSolutionStepVariablesList ( ) const
inline

◆ pGetNode() [1/2]

const NodeType::Pointer Kratos::ModelPart::pGetNode ( const IndexType  NodeId,
const IndexType  ThisIndex = 0 
) const
inline

Returns the Node::Pointer corresponding to it's identifier

◆ pGetNode() [2/2]

NodeType::Pointer Kratos::ModelPart::pGetNode ( IndexType  NodeId,
IndexType  ThisIndex = 0 
)
inline

Returns the Node::Pointer corresponding to it's identifier

◆ pGetProcessInfo() [1/2]

ProcessInfo::Pointer Kratos::ModelPart::pGetProcessInfo ( )
inline

◆ pGetProcessInfo() [2/2]

const ProcessInfo::Pointer Kratos::ModelPart::pGetProcessInfo ( ) const
inline

◆ pGetProperties() [1/4]

Properties::Pointer Kratos::ModelPart::pGetProperties ( const std::string &  rAddress,
IndexType  MeshIndex = 0 
)

Returns the sub Properties::Pointer corresponding to it's address.

If the property is not existing it will return a warning

Parameters
rAddressThe text that indicates the structure of subproperties to iterate and found the property of interest
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (pointer)

◆ pGetProperties() [2/4]

const Properties::Pointer Kratos::ModelPart::pGetProperties ( const std::string &  rAddress,
IndexType  MeshIndex = 0 
) const

Returns the sub Properties::Pointer corresponding to it's address (const version)

If the property is not existing it will return a warning

Parameters
rAddressThe text that indicates the structure of subproperties to iterate and found the property of interest
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (pointer)

◆ pGetProperties() [3/4]

ModelPart::PropertiesType::Pointer Kratos::ModelPart::pGetProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
)

Returns the Properties::Pointer corresponding to it's identifier.

If the property is not existing it will return a warning

Parameters
PropertiesIdThe Id of the new property
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (pointer)

◆ pGetProperties() [4/4]

const ModelPart::PropertiesType::Pointer Kratos::ModelPart::pGetProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
) const

Returns the Properties::Pointer corresponding to it's identifier (const version)

If the property is not existing it will return a warning

Parameters
PropertiesIdThe Id of the new property
MeshIndexThe Id of the mesh (0 by default)
Returns
The desired properties (pointer)

◆ pGetSubModelPart()

ModelPart * Kratos::ModelPart::pGetSubModelPart ( std::string const &  SubModelPartName)

Returns a raw pointer to the sub_model part with given string name Throws if it does not exist.

◆ pGetTable()

TableType::Pointer Kratos::ModelPart::pGetTable ( IndexType  TableId)
inline

Returns the Table::Pointer corresponding to it's identifier

◆ pNodes()

NodesContainerType::Pointer Kratos::ModelPart::pNodes ( IndexType  ThisIndex = 0)
inline

◆ pProperties()

PropertiesContainerType::Pointer Kratos::ModelPart::pProperties ( IndexType  ThisIndex = 0)
inline

◆ PrintData() [1/2]

void Kratos::ModelPart::PrintData ( std::ostream &  rOStream) const
overridevirtual

Print object's data.

Reimplemented from Kratos::DataValueContainer.

◆ PrintData() [2/2]

void Kratos::ModelPart::PrintData ( std::ostream &  rOStream,
std::string const &  PrefixString 
) const
virtual

Print object's data.

◆ PrintInfo() [1/2]

void Kratos::ModelPart::PrintInfo ( std::ostream &  rOStream) const
overridevirtual

Print information about this object.

Reimplemented from Kratos::DataValueContainer.

◆ PrintInfo() [2/2]

void Kratos::ModelPart::PrintInfo ( std::ostream &  rOStream,
std::string const &  PrefixString 
) const
virtual

Print information about this object.

◆ PropertiesArray()

PropertiesContainerType::ContainerType& Kratos::ModelPart::PropertiesArray ( IndexType  ThisIndex = 0)
inline

◆ PropertiesBegin() [1/2]

PropertiesIterator Kratos::ModelPart::PropertiesBegin ( IndexType  ThisIndex = 0)
inline

◆ PropertiesBegin() [2/2]

PropertiesConstantIterator Kratos::ModelPart::PropertiesBegin ( IndexType  ThisIndex = 0) const
inline

◆ PropertiesEnd() [1/2]

PropertiesIterator Kratos::ModelPart::PropertiesEnd ( IndexType  ThisIndex = 0)
inline

◆ PropertiesEnd() [2/2]

PropertiesConstantIterator Kratos::ModelPart::PropertiesEnd ( IndexType  ThisIndex = 0) const
inline

◆ RecursivelyHasProperties()

bool Kratos::ModelPart::RecursivelyHasProperties ( IndexType  PropertiesId,
IndexType  MeshIndex = 0 
) const

Returns if the Properties corresponding to it's identifier exists in any of the model parts.

Parameters
PropertiesIdThe id identifying the property
ThisIndexThe index identifying the mesh
Returns
True if the properties exist, false otherwise

◆ ReduceTimeStep()

void Kratos::ModelPart::ReduceTimeStep ( ModelPart rModelPart,
double  NewTime 
)

ATTENTION: this function does not touch the coordinates of the nodes. It just resets the database values to the values at the beginning of the time step

◆ RemoveCondition() [1/3]

void Kratos::ModelPart::RemoveCondition ( ModelPart::ConditionType ThisCondition,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given condition from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveCondition() [2/3]

void Kratos::ModelPart::RemoveCondition ( ConditionType::Pointer  pThisCondition,
IndexType  ThisIndex = 0 
)

Remove given condition from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveCondition() [3/3]

void Kratos::ModelPart::RemoveCondition ( ModelPart::IndexType  ConditionId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the condition with given Id from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveConditionFromAllLevels() [1/3]

void Kratos::ModelPart::RemoveConditionFromAllLevels ( ModelPart::ConditionType ThisCondition,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given condition from mesh with ThisIndex in parents, itself and children.

◆ RemoveConditionFromAllLevels() [2/3]

void Kratos::ModelPart::RemoveConditionFromAllLevels ( ConditionType::Pointer  pThisCondition,
IndexType  ThisIndex = 0 
)

Remove given condition from mesh with ThisIndex in parents, itself and children.

◆ RemoveConditionFromAllLevels() [3/3]

void Kratos::ModelPart::RemoveConditionFromAllLevels ( ModelPart::IndexType  ConditionId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the condition with given Id from mesh with ThisIndex in parents, itself and children.

◆ RemoveConditions()

void Kratos::ModelPart::RemoveConditions ( Flags  IdentifierFlag = TO_ERASE)

erases all elements identified by "IdentifierFlag" by removing the pointer. Pointers are erased from this level downwards nodes will be automatically destructured when no pointer is left to them

◆ RemoveConditionsFromAllLevels()

void Kratos::ModelPart::RemoveConditionsFromAllLevels ( Flags  IdentifierFlag = TO_ERASE)

erases all elements identified by "IdentifierFlag" by removing the pointer. Pointers will be erase from all levels nodes will be automatically destructured when no pointer is left to them

◆ RemoveElement() [1/3]

void Kratos::ModelPart::RemoveElement ( ModelPart::ElementType ThisElement,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given element from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveElement() [2/3]

void Kratos::ModelPart::RemoveElement ( ElementType::Pointer  pThisElement,
IndexType  ThisIndex = 0 
)

Remove given element from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveElement() [3/3]

void Kratos::ModelPart::RemoveElement ( ModelPart::IndexType  ElementId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the element with given Id from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveElementFromAllLevels() [1/3]

void Kratos::ModelPart::RemoveElementFromAllLevels ( ModelPart::ElementType ThisElement,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given element from mesh with ThisIndex in parents, itself and children.

◆ RemoveElementFromAllLevels() [2/3]

void Kratos::ModelPart::RemoveElementFromAllLevels ( ElementType::Pointer  pThisElement,
IndexType  ThisIndex = 0 
)

Remove given element from mesh with ThisIndex in parents, itself and children.

◆ RemoveElementFromAllLevels() [3/3]

void Kratos::ModelPart::RemoveElementFromAllLevels ( ModelPart::IndexType  ElementId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the element with given Id from mesh with ThisIndex in parents, itself and children.

◆ RemoveElements()

void Kratos::ModelPart::RemoveElements ( Flags  IdentifierFlag = TO_ERASE)

erases all elements identified by "IdentifierFlag" by removing the pointer. Pointers are erased from this level downwards nodes will be automatically destructured when no pointer is left to them

◆ RemoveElementsFromAllLevels()

void Kratos::ModelPart::RemoveElementsFromAllLevels ( Flags  IdentifierFlag = TO_ERASE)

erases all elements identified by "IdentifierFlag" by removing the pointer. Pointers will be erase from all levels nodes will be automatically destructured when no pointer is left to them

◆ RemoveGeometry() [1/2]

void Kratos::ModelPart::RemoveGeometry ( IndexType  GeometryId)

Removes a geometry by id.

◆ RemoveGeometry() [2/2]

void Kratos::ModelPart::RemoveGeometry ( std::string  GeometryName)

Removes a geometry by name.

◆ RemoveGeometryFromAllLevels() [1/2]

void Kratos::ModelPart::RemoveGeometryFromAllLevels ( IndexType  GeometryId)

Removes a geometry by id from all root and sub model parts.

◆ RemoveGeometryFromAllLevels() [2/2]

void Kratos::ModelPart::RemoveGeometryFromAllLevels ( std::string  GeometryName)

Removes a geometry by name from all root and sub model parts.

◆ RemoveMasterSlaveConstraint() [1/2]

void Kratos::ModelPart::RemoveMasterSlaveConstraint ( ModelPart::IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
)

Remove the master-slave constraint with given Id from mesh with ThisIndex in this modelpart and all its subs.

Remove the master-slave constraint with given Id from this modelpart and all its subs.

◆ RemoveMasterSlaveConstraint() [2/2]

void Kratos::ModelPart::RemoveMasterSlaveConstraint ( ModelPart::MasterSlaveConstraintType ThisMasterSlaveConstraint,
IndexType  ThisIndex = 0 
)

Remove given master-slave constraint from mesh with ThisIndex in this modelpart and all its subs.

Remove given master-slave constraint from this modelpart and all its subs.

◆ RemoveMasterSlaveConstraintFromAllLevels() [1/2]

void Kratos::ModelPart::RemoveMasterSlaveConstraintFromAllLevels ( ModelPart::IndexType  MasterSlaveConstraintId,
IndexType  ThisIndex = 0 
)

Remove the master-slave constraint with given Id from mesh with ThisIndex in parents, itself and children.

Remove the master-slave constraint with given Id from mesh with ThisIndex in parents, itself and children.

◆ RemoveMasterSlaveConstraintFromAllLevels() [2/2]

void Kratos::ModelPart::RemoveMasterSlaveConstraintFromAllLevels ( ModelPart::MasterSlaveConstraintType ThisMasterSlaveConstraint,
IndexType  ThisIndex = 0 
)

Remove given master-slave constraint from mesh with ThisIndex in parents, itself and children.

Remove given master-slave constraint from mesh with ThisIndex in parents, itself and children.

◆ RemoveMasterSlaveConstraints()

void Kratos::ModelPart::RemoveMasterSlaveConstraints ( Flags  IdentifierFlag = TO_ERASE)

It erases all constraints identified by "IdentifierFlag" by removing the pointer.

Pointers are erased from this level downwards nodes will be automatically destructured when no pointer is left to them

Parameters
IdentifierFlagThe flag that identifies the constraints to remove

◆ RemoveMasterSlaveConstraintsFromAllLevels()

void Kratos::ModelPart::RemoveMasterSlaveConstraintsFromAllLevels ( Flags  IdentifierFlag = TO_ERASE)

It erases all constraints identified by "IdentifierFlag" by removing the pointer.

Pointers will be erase from all levels nodes will be automatically destructured when no pointer is left to them

Parameters
IdentifierFlagThe flag that identifies the constraints to remove

◆ RemoveNode() [1/3]

void Kratos::ModelPart::RemoveNode ( ModelPart::IndexType  NodeId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the node with given Id from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveNode() [2/3]

void Kratos::ModelPart::RemoveNode ( ModelPart::NodeType ThisNode,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given node from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveNode() [3/3]

void Kratos::ModelPart::RemoveNode ( NodeType::Pointer  pThisNode,
IndexType  ThisIndex = 0 
)

Remove given node from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveNodeFromAllLevels() [1/3]

void Kratos::ModelPart::RemoveNodeFromAllLevels ( ModelPart::IndexType  NodeId,
ModelPart::IndexType  ThisIndex = 0 
)

Remove the node with given Id from mesh with ThisIndex in parents and children.

Remove the node with given Id from mesh with ThisIndex in parents, itself and children.

◆ RemoveNodeFromAllLevels() [2/3]

void Kratos::ModelPart::RemoveNodeFromAllLevels ( ModelPart::NodeType ThisNode,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given node from current mesh with ThisIndex in parents and children.

Remove given node from mesh with ThisIndex in parents, itself and children.

◆ RemoveNodeFromAllLevels() [3/3]

void Kratos::ModelPart::RemoveNodeFromAllLevels ( NodeType::Pointer  pThisNode,
IndexType  ThisIndex = 0 
)

Remove given node from current mesh with ThisIndex in parents and children.

◆ RemoveNodes()

void Kratos::ModelPart::RemoveNodes ( Flags  IdentifierFlag = TO_ERASE)

erases all nodes identified by "IdentifierFlag" by removing the pointer. Pointers are erased from this level downwards nodes will be automatically destructured when no pointer is left to them

◆ RemoveNodesFromAllLevels()

void Kratos::ModelPart::RemoveNodesFromAllLevels ( Flags  IdentifierFlag = TO_ERASE)

erases all nodes identified by "IdentifierFlag" by removing the pointer. Pointers will be erase from all levels nodes will be automatically destructured when no pointer is left to them

◆ RemoveProperties() [1/3]

void Kratos::ModelPart::RemoveProperties ( ModelPart::IndexType  PropertiesId,
IndexType  ThisIndex = 0 
)

Remove the Properties with given Id from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveProperties() [2/3]

void Kratos::ModelPart::RemoveProperties ( ModelPart::PropertiesType ThisProperties,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given Properties from mesh with ThisIndex in this modelpart and all its subs.

◆ RemoveProperties() [3/3]

void Kratos::ModelPart::RemoveProperties ( PropertiesType::Pointer  pThisProperties,
IndexType  ThisIndex = 0 
)

Remove given Properties from mesh with ThisIndex in this modelpart and all its subs.

◆ RemovePropertiesFromAllLevels() [1/3]

void Kratos::ModelPart::RemovePropertiesFromAllLevels ( ModelPart::IndexType  PropertiesId,
IndexType  ThisIndex = 0 
)

Remove the Properties with given Id from mesh with ThisIndex in parents, itself and children.

◆ RemovePropertiesFromAllLevels() [2/3]

void Kratos::ModelPart::RemovePropertiesFromAllLevels ( ModelPart::PropertiesType ThisProperties,
ModelPart::IndexType  ThisIndex = 0 
)

Remove given Properties from mesh with ThisIndex in parents, itself and children.

◆ RemovePropertiesFromAllLevels() [3/3]

void Kratos::ModelPart::RemovePropertiesFromAllLevels ( PropertiesType::Pointer  pThisProperties,
IndexType  ThisIndex = 0 
)

Remove given Properties from mesh with ThisIndex in parents, itself and children.

◆ RemoveSubModelPart() [1/2]

void Kratos::ModelPart::RemoveSubModelPart ( ModelPart ThisSubModelPart)

Remove given sub model part.

◆ RemoveSubModelPart() [2/2]

void Kratos::ModelPart::RemoveSubModelPart ( std::string const &  ThisSubModelPartName)

Remove a sub modelpart with given name.

◆ RemoveTable()

void Kratos::ModelPart::RemoveTable ( ModelPart::IndexType  TableId)

Remove the Table with given Id from current mesh in this modelpart and all its subs.

Remove the Table with given Id from current mesh.

◆ RemoveTableFromAllLevels()

void Kratos::ModelPart::RemoveTableFromAllLevels ( ModelPart::IndexType  TableId)

Remove the Table with given Id from current mesh in parents, itself and all children.

◆ Reset()

void Kratos::ModelPart::Reset ( )

Function to wipe a model part clean Variables list, buffer size are not preserved

◆ rProperties()

PropertiesContainerType& Kratos::ModelPart::rProperties ( IndexType  ThisIndex = 0)
inline

temporarily renamed Properties() function because the declaration of Properties() here violates the declaration of Properties() in properties.h (janosch, in agreement with pooyan)

◆ SetBufferSize()

void Kratos::ModelPart::SetBufferSize ( ModelPart::IndexType  NewBufferSize)

This method sets the suffer size of the model part database.

Must be called on root model part, otherwise error is thrown

Parameters
NewBufferSizeThe new buffer size to be set

◆ SetCommunicator()

void Kratos::ModelPart::SetCommunicator ( Communicator::Pointer  pNewCommunicator)
inline

◆ SetConditions()

void Kratos::ModelPart::SetConditions ( ConditionsContainerType::Pointer  pOtherConditions,
IndexType  ThisIndex = 0 
)
inline

◆ SetElements()

void Kratos::ModelPart::SetElements ( ElementsContainerType::Pointer  pOtherElements,
IndexType  ThisIndex = 0 
)
inline

◆ SetNodalSolutionStepVariablesList() [1/2]

void Kratos::ModelPart::SetNodalSolutionStepVariablesList ( )

◆ SetNodalSolutionStepVariablesList() [2/2]

void Kratos::ModelPart::SetNodalSolutionStepVariablesList ( VariablesList::Pointer  pNewVariablesList)
inline

◆ SetNodes()

void Kratos::ModelPart::SetNodes ( NodesContainerType::Pointer  pOtherNodes,
IndexType  ThisIndex = 0 
)
inline

◆ SetProcessInfo() [1/2]

void Kratos::ModelPart::SetProcessInfo ( ProcessInfo NewProcessInfo)
inline

◆ SetProcessInfo() [2/2]

void Kratos::ModelPart::SetProcessInfo ( ProcessInfo::Pointer  pNewProcessInfo)
inline

◆ SetProperties()

void Kratos::ModelPart::SetProperties ( PropertiesContainerType::Pointer  pOtherProperties,
IndexType  ThisIndex = 0 
)
inline

◆ SubModelParts() [1/2]

SubModelPartsContainerType& Kratos::ModelPart::SubModelParts ( )
inline

◆ SubModelParts() [2/2]

const SubModelPartsContainerType& Kratos::ModelPart::SubModelParts ( ) const
inline

◆ SubModelPartsBegin() [1/2]

SubModelPartIterator Kratos::ModelPart::SubModelPartsBegin ( )
inline

◆ SubModelPartsBegin() [2/2]

SubModelPartConstantIterator Kratos::ModelPart::SubModelPartsBegin ( ) const
inline

◆ SubModelPartsEnd() [1/2]

SubModelPartIterator Kratos::ModelPart::SubModelPartsEnd ( )
inline

◆ SubModelPartsEnd() [2/2]

SubModelPartConstantIterator Kratos::ModelPart::SubModelPartsEnd ( ) const
inline

◆ Tables()

TablesContainerType& Kratos::ModelPart::Tables ( )
inline

◆ TablesArray()

TablesContainerType::ContainerType& Kratos::ModelPart::TablesArray ( )
inline

◆ TablesBegin() [1/2]

TableIterator Kratos::ModelPart::TablesBegin ( )
inline

◆ TablesBegin() [2/2]

TableConstantIterator Kratos::ModelPart::TablesBegin ( ) const
inline

◆ TablesEnd() [1/2]

TableIterator Kratos::ModelPart::TablesEnd ( )
inline

◆ TablesEnd() [2/2]

TableConstantIterator Kratos::ModelPart::TablesEnd ( ) const
inline

Friends And Related Function Documentation

◆ Model

friend class Model
friend

TODO replace this "model" for real one once available in kratos core.

◆ Serializer

friend class Serializer
friend

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