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.
List of all members
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType > Class Template Reference

Mesh is the second level of abstraction in the data structure which hold Nodes, Elements and Conditions and their Properties. More...

#include <mesh.h>

Inheritance diagram for Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >:
Collaboration diagram for Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >:

Public Member Functions

Life Cycle
 Mesh ()
 Default constructor. More...
 
 Mesh (Mesh const &rOther)
 Copy constructor. More...
 
 Mesh (typename NodesContainerType::Pointer NewNodes, typename PropertiesContainerType::Pointer NewProperties, typename ElementsContainerType::Pointer NewElements, typename ConditionsContainerType::Pointer NewConditions, typename MasterSlaveConstraintContainerType::Pointer NewMasterSlaveConditions)
 Components constructor. More...
 
 ~Mesh () override
 Destructor. More...
 
Operations
Mesh Clone ()
 
void Clear ()
 
Information
SizeType WorkingSpaceDimension () const
 
Nodes
SizeType NumberOfNodes () const
 
void AddNode (typename NodeType::Pointer pNewNode)
 
NodeType::Pointer pGetNode (IndexType NodeId)
 
const NodeType::Pointer pGetNode (const IndexType NodeId) const
 
NodeTypeGetNode (IndexType NodeId)
 
const NodeTypeGetNode (IndexType NodeId) const
 
void RemoveNode (IndexType NodeId)
 
void RemoveNode (NodeType &ThisNode)
 
void RemoveNode (typename NodeType::Pointer pThisNode)
 
NodeIterator NodesBegin ()
 
NodeConstantIterator NodesBegin () const
 
NodeIterator NodesEnd ()
 
NodeConstantIterator NodesEnd () const
 
NodesContainerTypeNodes ()
 
const NodesContainerTypeNodes () const
 
NodesContainerType::Pointer pNodes ()
 
void SetNodes (typename NodesContainerType::Pointer pOtherNodes)
 
NodesContainerType::ContainerTypeNodesArray ()
 
bool HasNode (IndexType NodeId) const
 
Properties
SizeType NumberOfProperties () const
 
void AddProperties (typename PropertiesType::Pointer pNewProperties)
 
PropertiesType::Pointer pGetProperties (IndexType PropertiesId)
 
PropertiesTypeGetProperties (IndexType PropertiesId)
 
void RemoveProperties (IndexType PropertiesId)
 
void RemoveProperties (PropertiesType &ThisProperties)
 
void RemoveProperties (typename PropertiesType::Pointer pThisProperties)
 
PropertiesIterator PropertiesBegin ()
 
PropertiesConstantIterator PropertiesBegin () const
 
PropertiesIterator PropertiesEnd ()
 
PropertiesConstantIterator PropertiesEnd () const
 
PropertiesContainerTypeProperties ()
 
const PropertiesContainerTypeProperties () const
 
PropertiesContainerType::Pointer pProperties ()
 
void SetProperties (typename PropertiesContainerType::Pointer pOtherProperties)
 
PropertiesContainerType::ContainerTypePropertiesArray ()
 
bool HasProperties (IndexType NodeId) const
 
Elements
SizeType NumberOfElements () const
 
void AddElement (typename ElementType::Pointer pNewElement)
 
ElementType::Pointer pGetElement (IndexType ElementId)
 
const ElementType::Pointer pGetElement (const IndexType ElementId) const
 
ElementTypeGetElement (IndexType ElementId)
 
const ElementTypeGetElement (IndexType ElementId) const
 
void RemoveElement (IndexType ElementId)
 
void RemoveElement (ElementType &ThisElement)
 
void RemoveElement (typename ElementType::Pointer pThisElement)
 
ElementIterator ElementsBegin ()
 
ElementConstantIterator ElementsBegin () const
 
ElementIterator ElementsEnd ()
 
ElementConstantIterator ElementsEnd () const
 
ElementsContainerTypeElements ()
 
const ElementsContainerTypeElements () const
 
ElementsContainerType::Pointer pElements ()
 
void SetElements (typename ElementsContainerType::Pointer pOtherElements)
 
ElementsContainerType::ContainerTypeElementsArray ()
 
bool HasElement (IndexType ElementId) const
 
Conditions
SizeType NumberOfConditions () const
 
void AddCondition (typename ConditionType::Pointer pNewCondition)
 
ConditionType::Pointer pGetCondition (IndexType ConditionId)
 
const ConditionType::Pointer pGetCondition (const IndexType ConditionId) const
 
ConditionTypeGetCondition (IndexType ConditionId)
 
const ConditionTypeGetCondition (IndexType ConditionId) const
 
void RemoveCondition (IndexType ConditionId)
 
void RemoveCondition (ConditionType &ThisCondition)
 
void RemoveCondition (typename ConditionType::Pointer pThisCondition)
 
ConditionIterator ConditionsBegin ()
 
ConditionConstantIterator ConditionsBegin () const
 
ConditionIterator ConditionsEnd ()
 
ConditionConstantIterator ConditionsEnd () const
 
ConditionsContainerTypeConditions ()
 
const ConditionsContainerTypeConditions () const
 
ConditionsContainerType::Pointer pConditions ()
 
void SetConditions (typename ConditionsContainerType::Pointer pOtherConditions)
 
ConditionsContainerType::ContainerTypeConditionsArray ()
 
bool HasCondition (IndexType ConditionId) const
 
MasterSlaveConstraints
SizeType NumberOfMasterSlaveConstraints () const
 
void AddMasterSlaveConstraint (typename MasterSlaveConstraintType::Pointer pNewMasterSlaveConstraint)
 
MasterSlaveConstraintType::Pointer pGetMasterSlaveConstraint (IndexType MasterSlaveConstraintId)
 
MasterSlaveConstraintTypeGetMasterSlaveConstraint (IndexType MasterSlaveConstraintId)
 
const MasterSlaveConstraintTypeGetMasterSlaveConstraint (IndexType MasterSlaveConstraintId) const
 
void RemoveMasterSlaveConstraint (IndexType MasterSlaveConstraintId)
 
void RemoveMasterSlaveConstraint (MasterSlaveConstraintType &ThisMasterSlaveConstraint)
 
void RemoveMasterSlaveConstraint (typename MasterSlaveConstraintType::Pointer pThisMasterSlaveConstraint)
 
MasterSlaveConstraintIteratorType MasterSlaveConstraintsBegin ()
 
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsBegin () const
 
MasterSlaveConstraintIteratorType MasterSlaveConstraintsEnd ()
 
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsEnd () const
 
MasterSlaveConstraintContainerTypeMasterSlaveConstraints ()
 
const MasterSlaveConstraintContainerTypeMasterSlaveConstraints () const
 
MasterSlaveConstraintContainerType::Pointer pMasterSlaveConstraints ()
 
MasterSlaveConstraintContainerType::ContainerTypeMasterSlaveConstraintsArray ()
 
bool HasMasterSlaveConstraint (IndexType MasterSlaveConstraintId) 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...
 

Type Definitions

using IndexType = std::size_t
 
using SizeType = std::size_t
 
using NodeType = TNodeType
 
using PropertiesType = TPropertiesType
 
using GeometryType = Geometry< NodeType >
 
using ElementType = TElementType
 
using ConditionType = TConditionType
 
using MasterSlaveConstraintType = MasterSlaveConstraint
 
using MeshType = Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >
 
using NodesContainerType = PointerVectorSet< NodeType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename NodeType::Pointer, std::vector< typename NodeType::Pointer > >
 Type alias for the container of nodes. More...
 
using NodeIterator = typename NodesContainerType::iterator
 Iterator for nodes in the container. Provides direct references to nodes. More...
 
using NodeConstantIterator = typename NodesContainerType::const_iterator
 Const iterator for nodes in the container. Provides direct references to nodes. More...
 
using PropertiesContainerType = PointerVectorSet< PropertiesType, IndexedObject >
 Type alias for the container of properties. More...
 
using PropertiesIterator = typename PropertiesContainerType::iterator
 Iterator for properties in the container. Provides direct references to properties. More...
 
using PropertiesConstantIterator = typename PropertiesContainerType::const_iterator
 Const iterator for properties in the container. Provides direct references to properties. More...
 
using ElementsContainerType = PointerVectorSet< ElementType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename ElementType::Pointer, std::vector< typename ElementType::Pointer > >
 Type alias for the container of elements. More...
 
using ElementIterator = typename ElementsContainerType::iterator
 Iterator for elements in the container. Provides direct references to elements. More...
 
using ElementConstantIterator = typename ElementsContainerType::const_iterator
 Const iterator for elements in the container. Provides direct references to elements. More...
 
using ConditionsContainerType = PointerVectorSet< ConditionType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename ConditionType::Pointer, std::vector< typename ConditionType::Pointer > >
 Type alias for the container of conditions. More...
 
using ConditionIterator = typename ConditionsContainerType::iterator
 Iterator for conditions in the container. Provides direct references to conditions. More...
 
using ConditionConstantIterator = typename ConditionsContainerType::const_iterator
 Const iterator for conditions in the container. Provides direct references to conditions. More...
 
using MasterSlaveConstraintContainerType = PointerVectorSet< MasterSlaveConstraintType, IndexedObject >
 Type alias for the container of master-slave constraints. More...
 
using MasterSlaveConstraintIteratorType = typename MasterSlaveConstraintContainerType::iterator
 Iterator for master-slave constraints in the container. Provides direct references to constraints. More...
 
using MasterSlaveConstraintConstantIteratorType = typename MasterSlaveConstraintContainerType::const_iterator
 Const iterator for master-slave constraints in the container. Provides direct references to constraints. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (Mesh)
 Pointer definition of Mesh. More...
 

Serialization

class Serializer
 

Additional Inherited Members

- 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
 
- 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

template<class TNodeType, class TPropertiesType, class TElementType, class TConditionType>
class Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >

Mesh is the second level of abstraction in the data structure which hold Nodes, Elements and Conditions and their Properties.

Mesh is the second level of abstraction in the data structure which hold Nodes, Elements and Conditions and their Properties. In other words, Mesh is a complete pack of all type of entities without any additional data associated with them. So a set of Elements and Conditions with their Nodes and Properties can be grouped together as a Mesh and send to procedures like mesh refinement, material optimization, mesh movement or any other procedure which works on entities without needing additional data for their processes.

Author
Pooyan Dadvand

Member Typedef Documentation

◆ ConditionConstantIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionConstantIterator = typename ConditionsContainerType::const_iterator

Const iterator for conditions in the container. Provides direct references to conditions.

◆ ConditionIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionIterator = typename ConditionsContainerType::iterator

Iterator for conditions in the container. Provides direct references to conditions.

◆ ConditionsContainerType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsContainerType = PointerVectorSet<ConditionType, IndexedObject, std::less<typename IndexedObject::result_type>, std::equal_to<typename IndexedObject::result_type>, typename ConditionType::Pointer, std::vector<typename ConditionType::Pointer> >

Type alias for the container of conditions.

◆ ConditionType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionType = TConditionType

◆ ElementConstantIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementConstantIterator = typename ElementsContainerType::const_iterator

Const iterator for elements in the container. Provides direct references to elements.

◆ ElementIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementIterator = typename ElementsContainerType::iterator

Iterator for elements in the container. Provides direct references to elements.

◆ ElementsContainerType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsContainerType = PointerVectorSet<ElementType, IndexedObject, std::less<typename IndexedObject::result_type>, std::equal_to<typename IndexedObject::result_type>, typename ElementType::Pointer, std::vector<typename ElementType::Pointer> >

Type alias for the container of elements.

◆ ElementType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementType = TElementType

◆ GeometryType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GeometryType = Geometry<NodeType>

◆ IndexType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::IndexType = std::size_t

◆ MasterSlaveConstraintConstantIteratorType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintConstantIteratorType = typename MasterSlaveConstraintContainerType::const_iterator

Const iterator for master-slave constraints in the container. Provides direct references to constraints.

◆ MasterSlaveConstraintContainerType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintContainerType = PointerVectorSet<MasterSlaveConstraintType, IndexedObject>

Type alias for the container of master-slave constraints.

◆ MasterSlaveConstraintIteratorType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintIteratorType = typename MasterSlaveConstraintContainerType::iterator

Iterator for master-slave constraints in the container. Provides direct references to constraints.

◆ MasterSlaveConstraintType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintType = MasterSlaveConstraint

◆ MeshType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MeshType = Mesh<TNodeType, TPropertiesType, TElementType, TConditionType>

◆ NodeConstantIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodeConstantIterator = typename NodesContainerType::const_iterator

Const iterator for nodes in the container. Provides direct references to nodes.

◆ NodeIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodeIterator = typename NodesContainerType::iterator

Iterator for nodes in the container. Provides direct references to nodes.

◆ NodesContainerType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesContainerType = PointerVectorSet<NodeType, IndexedObject, std::less<typename IndexedObject::result_type>, std::equal_to<typename IndexedObject::result_type>, typename NodeType::Pointer, std::vector<typename NodeType::Pointer> >

Type alias for the container of nodes.

◆ NodeType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodeType = TNodeType

◆ PropertiesConstantIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesConstantIterator = typename PropertiesContainerType::const_iterator

Const iterator for properties in the container. Provides direct references to properties.

◆ PropertiesContainerType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesContainerType = PointerVectorSet<PropertiesType, IndexedObject>

Type alias for the container of properties.

◆ PropertiesIterator

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesIterator = typename PropertiesContainerType::iterator

Iterator for properties in the container. Provides direct references to properties.

◆ PropertiesType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesType = TPropertiesType

◆ SizeType

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
using Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::SizeType = std::size_t

Constructor & Destructor Documentation

◆ Mesh() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Mesh ( )
inline

Default constructor.

◆ Mesh() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Mesh ( Mesh< TNodeType, TPropertiesType, TElementType, TConditionType > const &  rOther)
inline

Copy constructor.

◆ Mesh() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Mesh ( typename NodesContainerType::Pointer  NewNodes,
typename PropertiesContainerType::Pointer  NewProperties,
typename ElementsContainerType::Pointer  NewElements,
typename ConditionsContainerType::Pointer  NewConditions,
typename MasterSlaveConstraintContainerType::Pointer  NewMasterSlaveConditions 
)
inline

Components constructor.

◆ ~Mesh()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::~Mesh ( )
inlineoverride

Destructor.

Member Function Documentation

◆ AddCondition()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::AddCondition ( typename ConditionType::Pointer  pNewCondition)
inline

Inserts a condition in the mesh.

◆ AddElement()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::AddElement ( typename ElementType::Pointer  pNewElement)
inline

Inserts a element in the mesh.

◆ AddMasterSlaveConstraint()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::AddMasterSlaveConstraint ( typename MasterSlaveConstraintType::Pointer  pNewMasterSlaveConstraint)
inline

Inserts a master-slave constraint in the mesh.

◆ AddNode()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::AddNode ( typename NodeType::Pointer  pNewNode)
inline

Inserts a node in the mesh.

◆ AddProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::AddProperties ( typename PropertiesType::Pointer  pNewProperties)
inline

Inserts a properties in the mesh.

◆ Clear()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Clear ( )
inline

◆ Clone()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Mesh Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Clone ( )
inline

◆ Conditions() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionsContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Conditions ( )
inline

◆ Conditions() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ConditionsContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Conditions ( ) const
inline

◆ ConditionsArray()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionsContainerType::ContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsArray ( )
inline

◆ ConditionsBegin() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsBegin ( )
inline

◆ ConditionsBegin() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsBegin ( ) const
inline

◆ ConditionsEnd() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsEnd ( )
inline

◆ ConditionsEnd() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ConditionsEnd ( ) const
inline

◆ Elements() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementsContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Elements ( )
inline

◆ Elements() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ElementsContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Elements ( ) const
inline

◆ ElementsArray()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementsContainerType::ContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsArray ( )
inline

◆ ElementsBegin() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsBegin ( )
inline

◆ ElementsBegin() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsBegin ( ) const
inline

◆ ElementsEnd() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsEnd ( )
inline

◆ ElementsEnd() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::ElementsEnd ( ) const
inline

◆ GetCondition() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetCondition ( IndexType  ConditionId)
inline

Returns a reference condition corresponding to it's identifier

◆ GetCondition() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ConditionType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetCondition ( IndexType  ConditionId) const
inline

Returns a reference condition corresponding to it's identifier

◆ GetElement() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetElement ( IndexType  ElementId)
inline

Returns a reference element corresponding to it's identifier

◆ GetElement() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ElementType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetElement ( IndexType  ElementId) const
inline

Returns a reference element corresponding to it's identifier

◆ GetMasterSlaveConstraint() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetMasterSlaveConstraint ( IndexType  MasterSlaveConstraintId)
inline

Returns a reference master-slave constraint corresponding to it's identifier

◆ GetMasterSlaveConstraint() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const MasterSlaveConstraintType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetMasterSlaveConstraint ( IndexType  MasterSlaveConstraintId) const
inline

◆ GetNode() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetNode ( IndexType  NodeId)
inline

Returns a reference node corresponding to it's identifier

◆ GetNode() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const NodeType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetNode ( IndexType  NodeId) const
inline

Returns a reference node corresponding to it's identifier

◆ GetProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::GetProperties ( IndexType  PropertiesId)
inline

Returns a reference properties corresponding to it's identifier

◆ HasCondition()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
bool Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::HasCondition ( IndexType  ConditionId) const
inline

◆ HasElement()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
bool Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::HasElement ( IndexType  ElementId) const
inline

◆ HasMasterSlaveConstraint()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
bool Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::HasMasterSlaveConstraint ( IndexType  MasterSlaveConstraintId) const
inline

◆ HasNode()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
bool Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::HasNode ( IndexType  NodeId) const
inline

◆ HasProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
bool Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::HasProperties ( IndexType  NodeId) const
inline

◆ Info()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
std::string Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::DataValueContainer.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::KRATOS_CLASS_POINTER_DEFINITION ( Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >  )

Pointer definition of Mesh.

◆ MasterSlaveConstraints() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraints ( )
inline

◆ MasterSlaveConstraints() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const MasterSlaveConstraintContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraints ( ) const
inline

◆ MasterSlaveConstraintsArray()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintContainerType::ContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintsArray ( )
inline

◆ MasterSlaveConstraintsBegin() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintIteratorType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintsBegin ( )
inline

◆ MasterSlaveConstraintsBegin() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintConstantIteratorType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintsBegin ( ) const
inline

◆ MasterSlaveConstraintsEnd() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintIteratorType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintsEnd ( )
inline

◆ MasterSlaveConstraintsEnd() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintConstantIteratorType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::MasterSlaveConstraintsEnd ( ) const
inline

◆ Nodes() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodesContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Nodes ( )
inline

◆ Nodes() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const NodesContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Nodes ( ) const
inline

◆ NodesArray()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodesContainerType::ContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesArray ( )
inline

◆ NodesBegin() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesBegin ( )
inline

◆ NodesBegin() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesBegin ( ) const
inline

◆ NodesEnd() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesEnd ( )
inline

◆ NodesEnd() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NodesEnd ( ) const
inline

◆ NumberOfConditions()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NumberOfConditions ( ) const
inline

◆ NumberOfElements()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NumberOfElements ( ) const
inline

◆ NumberOfMasterSlaveConstraints()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NumberOfMasterSlaveConstraints ( ) const
inline

◆ NumberOfNodes()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NumberOfNodes ( ) const
inline

◆ NumberOfProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::NumberOfProperties ( ) const
inline

◆ pConditions()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionsContainerType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pConditions ( )
inline

◆ pElements()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementsContainerType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pElements ( )
inline

◆ pGetCondition() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ConditionType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetCondition ( const IndexType  ConditionId) const
inline

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

◆ pGetCondition() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ConditionType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetCondition ( IndexType  ConditionId)
inline

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

◆ pGetElement() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const ElementType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetElement ( const IndexType  ElementId) const
inline

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

◆ pGetElement() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
ElementType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetElement ( IndexType  ElementId)
inline

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

◆ pGetMasterSlaveConstraint()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetMasterSlaveConstraint ( IndexType  MasterSlaveConstraintId)
inline

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

◆ pGetNode() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const NodeType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetNode ( const IndexType  NodeId) const
inline

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

◆ pGetNode() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodeType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetNode ( IndexType  NodeId)
inline

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

◆ pGetProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pGetProperties ( IndexType  PropertiesId)
inline

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

◆ pMasterSlaveConstraints()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
MasterSlaveConstraintContainerType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pMasterSlaveConstraints ( )
inline

◆ pNodes()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
NodesContainerType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pNodes ( )
inline

◆ pProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesContainerType::Pointer Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::pProperties ( )
inline

◆ PrintData() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::DataValueContainer.

◆ PrintData() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
virtual void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PrintData ( std::ostream &  rOStream,
std::string const &  PrefixString 
) const
inlinevirtual

Print object's data.

◆ PrintInfo() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::DataValueContainer.

◆ PrintInfo() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
virtual void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PrintInfo ( std::ostream &  rOStream,
std::string const &  PrefixString 
) const
inlinevirtual

Print information about this object.

◆ Properties() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Properties ( )
inline

◆ Properties() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
const PropertiesContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::Properties ( ) const
inline

◆ PropertiesArray()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesContainerType::ContainerType& Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesArray ( )
inline

◆ PropertiesBegin() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesBegin ( )
inline

◆ PropertiesBegin() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesBegin ( ) const
inline

◆ PropertiesEnd() [1/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesEnd ( )
inline

◆ PropertiesEnd() [2/2]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
PropertiesConstantIterator Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::PropertiesEnd ( ) const
inline

◆ RemoveCondition() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveCondition ( ConditionType ThisCondition)
inline

Remove given condition from mesh.

◆ RemoveCondition() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveCondition ( IndexType  ConditionId)
inline

Remove the condition with given Id from mesh.

◆ RemoveCondition() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveCondition ( typename ConditionType::Pointer  pThisCondition)
inline

Remove given condition from mesh.

◆ RemoveElement() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveElement ( ElementType ThisElement)
inline

Remove given element from mesh.

◆ RemoveElement() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveElement ( IndexType  ElementId)
inline

Remove the element with given Id from mesh.

◆ RemoveElement() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveElement ( typename ElementType::Pointer  pThisElement)
inline

Remove given element from mesh.

◆ RemoveMasterSlaveConstraint() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveMasterSlaveConstraint ( IndexType  MasterSlaveConstraintId)
inline

Remove the master-slave constraint with given Id from mesh.

◆ RemoveMasterSlaveConstraint() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveMasterSlaveConstraint ( MasterSlaveConstraintType ThisMasterSlaveConstraint)
inline

Remove given master-slave constraint from mesh.

◆ RemoveMasterSlaveConstraint() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveMasterSlaveConstraint ( typename MasterSlaveConstraintType::Pointer  pThisMasterSlaveConstraint)
inline

Remove given master-slave constraint from mesh.

◆ RemoveNode() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveNode ( IndexType  NodeId)
inline

Remove the node with given Id from mesh.

◆ RemoveNode() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveNode ( NodeType ThisNode)
inline

Remove given node from mesh.

◆ RemoveNode() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveNode ( typename NodeType::Pointer  pThisNode)
inline

Remove given node from mesh.

◆ RemoveProperties() [1/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveProperties ( IndexType  PropertiesId)
inline

Remove the properties with given Id from mesh.

◆ RemoveProperties() [2/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveProperties ( PropertiesType ThisProperties)
inline

Remove given properties from mesh.

◆ RemoveProperties() [3/3]

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::RemoveProperties ( typename PropertiesType::Pointer  pThisProperties)
inline

Remove given properties from mesh.

◆ SetConditions()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::SetConditions ( typename ConditionsContainerType::Pointer  pOtherConditions)
inline

◆ SetElements()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::SetElements ( typename ElementsContainerType::Pointer  pOtherElements)
inline

◆ SetNodes()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::SetNodes ( typename NodesContainerType::Pointer  pOtherNodes)
inline

◆ SetProperties()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
void Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::SetProperties ( typename PropertiesContainerType::Pointer  pOtherProperties)
inline

◆ WorkingSpaceDimension()

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
SizeType Kratos::Mesh< TNodeType, TPropertiesType, TElementType, TConditionType >::WorkingSpaceDimension ( ) const
inline

Dimensional space of the mesh geometries

Returns
SizeType, working space dimension of this geometry.

Friends And Related Function Documentation

◆ Serializer

template<class TNodeType , class TPropertiesType , class TElementType , class TConditionType >
friend class Serializer
friend

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