67 template<
class TNodeType,
class TPropertiesType,
class TElementType,
class TConditionType>
107 std::less<typename IndexedObject::result_type>,
108 std::equal_to<typename IndexedObject::result_type>,
109 typename NodeType::Pointer,
110 std::vector<typename NodeType::Pointer>
131 std::less<typename IndexedObject::result_type>,
132 std::equal_to<typename IndexedObject::result_type>,
133 typename ElementType::Pointer,
134 std::vector<typename ElementType::Pointer>
146 std::less<typename IndexedObject::result_type>,
147 std::equal_to<typename IndexedObject::result_type>,
148 typename ConditionType::Pointer,
149 std::vector<typename ConditionType::Pointer>
181 , mpNodes(rOther.mpNodes)
182 , mpProperties(rOther.mpProperties)
183 , mpElements(rOther.mpElements)
184 , mpConditions(rOther.mpConditions)
185 , mpMasterSlaveConstraints(rOther.mpMasterSlaveConstraints) {}
188 Mesh(
typename NodesContainerType::Pointer NewNodes,
189 typename PropertiesContainerType::Pointer NewProperties,
190 typename ElementsContainerType::Pointer NewElements,
191 typename ConditionsContainerType::Pointer NewConditions,
192 typename MasterSlaveConstraintContainerType::Pointer NewMasterSlaveConditions)
193 :
Flags(), mpNodes(NewNodes), mpProperties(NewProperties) , mpElements(NewElements), mpConditions(NewConditions), mpMasterSlaveConstraints(NewMasterSlaveConditions) {}
215 return Mesh(p_nodes, p_properties, p_elements, p_conditions, p_master_slave_constraints);
223 mpProperties->clear();
225 mpConditions->clear();
226 mpMasterSlaveConstraints->clear();
245 dimension = (mpElements->begin())->GetGeometry().WorkingSpaceDimension();
247 dimension = (mpConditions->begin())->GetGeometry().WorkingSpaceDimension();
249 dimension = (mpNodes->begin())->Dimension();
261 return mpNodes->size();
266 void AddNode(
typename NodeType::Pointer pNewNode)
268 mpNodes->insert(mpNodes->begin(), pNewNode);
274 auto i = mpNodes->find(NodeId);
275 KRATOS_ERROR_IF(
i == mpNodes->end()) <<
"Node index not found: " << NodeId <<
"." << std::endl;
282 const auto& r_nodes = *mpNodes;
283 auto i = r_nodes.find(NodeId);
284 KRATOS_ERROR_IF(
i == r_nodes.end()) <<
"Node index not found: " << NodeId <<
"." << std::endl;
291 auto i = mpNodes->find(NodeId);
292 KRATOS_ERROR_IF(
i == mpNodes->end()) <<
"Node index not found: " << NodeId <<
"." << std::endl;
299 const auto& r_nodes = *mpNodes;
300 auto i = r_nodes.find(NodeId);
301 KRATOS_ERROR_IF(
i == r_nodes.end()) <<
"Node index not found: " << NodeId <<
"." << std::endl;
309 mpNodes->erase(NodeId);
316 mpNodes->erase(ThisNode.Id());
323 mpNodes->erase(pThisNode->Id());
328 return mpNodes->begin();
333 return mpNodes->begin();
338 return mpNodes->end();
343 return mpNodes->end();
356 typename NodesContainerType::Pointer
pNodes()
361 void SetNodes(
typename NodesContainerType::Pointer pOtherNodes)
363 mpNodes = pOtherNodes;
368 return mpNodes->GetContainer();
373 const auto& r_nodes = *mpNodes;
374 return (r_nodes.find(NodeId) != r_nodes.end());
383 return mpProperties->size();
390 mpProperties->insert(mpProperties->begin(), pNewProperties);
396 return (*mpProperties)(PropertiesId);
402 return (*mpProperties)[PropertiesId];
409 mpProperties->erase(PropertiesId);
416 mpProperties->erase(ThisProperties.Id());
423 mpProperties->erase(pThisProperties->Id());
428 return mpProperties->begin();
433 return mpProperties->begin();
438 return mpProperties->end();
443 return mpProperties->end();
448 return *mpProperties;
453 return *mpProperties;
461 void SetProperties(
typename PropertiesContainerType::Pointer pOtherProperties)
463 mpProperties = pOtherProperties;
468 return mpProperties->GetContainer();
473 const auto& r_properties = *mpProperties;
474 return (r_properties.find(NodeId) != r_properties.end());
483 return mpElements->size();
490 mpElements->insert(mpElements->begin(), pNewElement);
496 auto i = mpElements->find(ElementId);
497 KRATOS_ERROR_IF(
i == mpElements->end()) <<
"Element index not found: " << ElementId <<
"." << std::endl;
504 const auto& r_elements = *mpElements;
505 auto i = r_elements.find(ElementId);
506 KRATOS_ERROR_IF(
i == r_elements.end()) <<
"Element index not found: " << ElementId <<
"." << std::endl;
513 auto i = mpElements->find(ElementId);
514 KRATOS_ERROR_IF(
i == mpElements->end()) <<
"Element index not found: " << ElementId <<
"." << std::endl;
521 const auto& r_elements = *mpElements;
522 auto i = r_elements.find(ElementId);
523 KRATOS_ERROR_IF(
i == r_elements.end()) <<
"Element index not found: " << ElementId <<
"." << std::endl;
531 mpElements->erase(ElementId);
538 mpElements->erase(ThisElement.Id());
545 mpElements->erase(pThisElement->Id());
550 return mpElements->begin();
555 return mpElements->begin();
560 return mpElements->end();
565 return mpElements->end();
583 void SetElements(
typename ElementsContainerType::Pointer pOtherElements)
585 mpElements = pOtherElements;
590 return mpElements->GetContainer();
596 const auto& r_elements = *mpElements;
597 return (r_elements.find(ElementId) != r_elements.end());
606 return mpConditions->size();
613 mpConditions->insert(mpConditions->begin(), pNewCondition);
619 auto i = mpConditions->find(ConditionId);
620 KRATOS_ERROR_IF(
i == mpConditions->end()) <<
"Condition index not found: " << ConditionId <<
"." << std::endl;
627 const auto& r_conditions = *mpConditions;
628 auto i = r_conditions.find(ConditionId);
629 KRATOS_ERROR_IF(
i == r_conditions.end()) <<
"Condition index not found: " << ConditionId <<
"." << std::endl;
636 auto i = mpConditions->find(ConditionId);
637 KRATOS_ERROR_IF(
i == mpConditions->end()) <<
"Condition index not found: " << ConditionId <<
"." << std::endl;
644 const auto& r_conditions = *mpConditions;
645 auto i = r_conditions.find(ConditionId);
646 KRATOS_ERROR_IF(
i == r_conditions.end()) <<
"Condition index not found: " << ConditionId <<
"." << std::endl;
654 mpConditions->erase(ConditionId);
661 mpConditions->erase(ThisCondition.Id());
668 mpConditions->erase(pThisCondition->Id());
673 return mpConditions->begin();
678 return mpConditions->begin();
683 return mpConditions->end();
688 return mpConditions->end();
693 return *mpConditions;
698 return *mpConditions;
706 void SetConditions(
typename ConditionsContainerType::Pointer pOtherConditions)
708 mpConditions = pOtherConditions;
713 return mpConditions->GetContainer();
718 const auto& r_conditions = *mpConditions;
719 return (r_conditions.find(ConditionId) != r_conditions.end());
728 return mpMasterSlaveConstraints->size();
735 mpMasterSlaveConstraints->insert(mpMasterSlaveConstraints->begin(), pNewMasterSlaveConstraint);
741 auto i = mpMasterSlaveConstraints->find(MasterSlaveConstraintId);
742 KRATOS_ERROR_IF(
i == mpMasterSlaveConstraints->end()) <<
" master-slave constraint index not found: " << MasterSlaveConstraintId <<
".";
749 auto i = mpMasterSlaveConstraints->find(MasterSlaveConstraintId);
750 KRATOS_ERROR_IF(
i == mpMasterSlaveConstraints->end()) <<
" master-slave constraint index not found: " << MasterSlaveConstraintId <<
".";
756 auto i = mpMasterSlaveConstraints->find(MasterSlaveConstraintId);
757 KRATOS_ERROR_IF(
i == mpMasterSlaveConstraints->end()) <<
" master-slave constraint index not found: " << MasterSlaveConstraintId <<
".";
765 mpMasterSlaveConstraints->erase(MasterSlaveConstraintId);
772 mpMasterSlaveConstraints->erase(ThisMasterSlaveConstraint.
Id());
779 mpMasterSlaveConstraints->erase(pThisMasterSlaveConstraint->Id());
784 return mpMasterSlaveConstraints->begin();
789 return mpMasterSlaveConstraints->begin();
794 return mpMasterSlaveConstraints->end();
799 return mpMasterSlaveConstraints->end();
804 return *mpMasterSlaveConstraints;
809 return *mpMasterSlaveConstraints;
814 return mpMasterSlaveConstraints;
819 return mpMasterSlaveConstraints->GetContainer();
824 return (mpMasterSlaveConstraints->find(MasterSlaveConstraintId) != mpMasterSlaveConstraints->end());
840 std::string
Info()
const override
854 rOStream <<
" Number of Nodes : " << mpNodes->size() << std::endl;
855 rOStream <<
" Number of Properties : " << mpProperties->size() << std::endl;
856 rOStream <<
" Number of Elements : " << mpElements->size() << std::endl;
857 rOStream <<
" Number of Conditions : " << mpConditions->size() << std::endl;
858 rOStream <<
" Number of Constraints : " << mpMasterSlaveConstraints->size() << std::endl;
862 virtual void PrintInfo(std::ostream& rOStream, std::string
const& PrefixString)
const
864 rOStream << PrefixString <<
Info();
868 virtual void PrintData(std::ostream& rOStream, std::string
const& PrefixString )
const
870 rOStream << PrefixString <<
" Number of Nodes : " << mpNodes->size() << std::endl;
871 rOStream << PrefixString <<
" Number of Properties : " << mpProperties->size() << std::endl;
872 rOStream << PrefixString <<
" Number of Elements : " << mpElements->size() << std::endl;
873 rOStream << PrefixString <<
" Number of Conditions : " << mpConditions->size() << std::endl;
874 rOStream << PrefixString <<
" Number of Constraints : " << mpMasterSlaveConstraints->size() << std::endl;
919 typename NodesContainerType::Pointer mpNodes;
921 typename PropertiesContainerType::Pointer mpProperties;
923 typename ElementsContainerType::Pointer mpElements;
925 typename ConditionsContainerType::Pointer mpConditions;
927 typename MasterSlaveConstraintContainerType::Pointer mpMasterSlaveConstraints;
944 void save(
Serializer& rSerializer)
const override
948 rSerializer.
save(
"Nodes",mpNodes);
949 rSerializer.
save(
"Properties",mpProperties);
950 rSerializer.
save(
"Elements",mpElements);
951 rSerializer.
save(
"Conditions",mpConditions);
952 rSerializer.
save(
"Constraints",mpMasterSlaveConstraints);
959 rSerializer.
load(
"Nodes",mpNodes);
960 rSerializer.
load(
"Properties",mpProperties);
961 rSerializer.
load(
"Elements",mpElements);
962 rSerializer.
load(
"Conditions",mpConditions);
963 rSerializer.
load(
"Constraints",mpMasterSlaveConstraints);
983 mpNodes = rOther.mpNodes;
984 mpProperties = rOther.mpProperties;
985 mpElements = rOther.mpElements;
986 mpConditions = rOther.mpConditions;
987 mpMasterSlaveConstraints = rOther.mpMasterSlaveConstraints;
1004 template<
class TNodeType,
class TPropertiesType,
class TElementType,
class TConditionType>
1009 template<
class TNodeType,
class TPropertiesType,
class TElementType,
class TConditionType>
1014 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Container for storing data values associated with variables.
Definition: data_value_container.h:63
ContainerType::size_type SizeType
Type of the container used for variables.
Definition: data_value_container.h:87
void Clear()
Clears the entire data container.
Definition: data_value_container.h:352
std::size_t IndexType
Definition: flags.h:74
Flags & operator=(Flags const &rOther)
Assignment operator.
Definition: flags.h:151
void Clear()
Definition: flags.h:235
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
IndexType Id() const
Definition: indexed_object.h:107
A class that implements the interface for different master-slave constraints to be applied on a syste...
Definition: master_slave_constraint.h:76
Mesh is the second level of abstraction in the data structure which hold Nodes, Elements and Conditio...
Definition: mesh.h:69
void RemoveMasterSlaveConstraint(IndexType MasterSlaveConstraintId)
Definition: mesh.h:763
PropertiesConstantIterator PropertiesBegin() const
Definition: mesh.h:431
SizeType NumberOfNodes() const
Definition: mesh.h:259
PointerVectorSet< PropertiesType, IndexedObject > PropertiesContainerType
Type alias for the container of properties.
Definition: mesh.h:120
SizeType NumberOfElements() const
Definition: mesh.h:481
PropertiesIterator PropertiesEnd()
Definition: mesh.h:436
const ElementsContainerType & Elements() const
Definition: mesh.h:573
std::string Info() const override
Turn back information as a string.
Definition: mesh.h:840
SizeType NumberOfConditions() const
Definition: mesh.h:604
MasterSlaveConstraintIteratorType MasterSlaveConstraintsBegin()
Definition: mesh.h:782
void SetConditions(typename ConditionsContainerType::Pointer pOtherConditions)
Definition: mesh.h:706
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: mesh.h:846
ElementsContainerType::Pointer pElements()
Definition: mesh.h:578
const ConditionType::Pointer pGetCondition(const IndexType ConditionId) const
Definition: mesh.h:625
ElementType::Pointer pGetElement(IndexType ElementId)
Definition: mesh.h:494
NodesContainerType::ContainerType & NodesArray()
Definition: mesh.h:366
const PropertiesContainerType & Properties() const
Definition: mesh.h:451
void RemoveProperties(IndexType PropertiesId)
Definition: mesh.h:407
PropertiesConstantIterator PropertiesEnd() const
Definition: mesh.h:441
KRATOS_CLASS_POINTER_DEFINITION(Mesh)
Pointer definition of Mesh.
ConditionsContainerType & Conditions()
Definition: mesh.h:691
void RemoveNode(IndexType NodeId)
Definition: mesh.h:307
ElementIterator ElementsEnd()
Definition: mesh.h:558
void RemoveProperties(PropertiesType &ThisProperties)
Definition: mesh.h:414
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: mesh.h:852
ElementIterator ElementsBegin()
Definition: mesh.h:548
PropertiesContainerType::Pointer pProperties()
Definition: mesh.h:456
Mesh(Mesh const &rOther)
Copy constructor.
Definition: mesh.h:180
bool HasCondition(IndexType ConditionId) const
Definition: mesh.h:716
ElementConstantIterator ElementsEnd() const
Definition: mesh.h:563
Mesh()
Default constructor.
Definition: mesh.h:172
ConditionConstantIterator ConditionsEnd() const
Definition: mesh.h:686
NodesContainerType & Nodes()
Definition: mesh.h:346
typename NodesContainerType::const_iterator NodeConstantIterator
Const iterator for nodes in the container. Provides direct references to nodes.
Definition: mesh.h:117
MasterSlaveConstraintType::Pointer pGetMasterSlaveConstraint(IndexType MasterSlaveConstraintId)
Definition: mesh.h:739
void RemoveCondition(ConditionType &ThisCondition)
Definition: mesh.h:659
~Mesh() override
Destructor.
Definition: mesh.h:197
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsEnd() const
Definition: mesh.h:797
PropertiesType & GetProperties(IndexType PropertiesId)
Definition: mesh.h:400
SizeType NumberOfMasterSlaveConstraints() const
Definition: mesh.h:726
bool HasElement(IndexType ElementId) const
Definition: mesh.h:594
MasterSlaveConstraintType & GetMasterSlaveConstraint(IndexType MasterSlaveConstraintId)
Definition: mesh.h:747
PropertiesIterator PropertiesBegin()
Definition: mesh.h:426
ConditionIterator ConditionsBegin()
Definition: mesh.h:671
void SetNodes(typename NodesContainerType::Pointer pOtherNodes)
Definition: mesh.h:361
MasterSlaveConstraintContainerType & MasterSlaveConstraints()
Definition: mesh.h:802
void RemoveElement(typename ElementType::Pointer pThisElement)
Definition: mesh.h:543
ConditionsContainerType::Pointer pConditions()
Definition: mesh.h:701
void RemoveNode(typename NodeType::Pointer pThisNode)
Definition: mesh.h:321
void RemoveProperties(typename PropertiesType::Pointer pThisProperties)
Definition: mesh.h:421
bool HasNode(IndexType NodeId) const
Definition: mesh.h:371
NodeIterator NodesEnd()
Definition: mesh.h:336
typename PropertiesContainerType::iterator PropertiesIterator
Iterator for properties in the container. Provides direct references to properties.
Definition: mesh.h:123
ConditionsContainerType::ContainerType & ConditionsArray()
Definition: mesh.h:711
SizeType WorkingSpaceDimension() const
Definition: mesh.h:237
typename ConditionsContainerType::iterator ConditionIterator
Iterator for conditions in the container. Provides direct references to conditions.
Definition: mesh.h:153
ElementsContainerType::ContainerType & ElementsArray()
Definition: mesh.h:588
TPropertiesType PropertiesType
Definition: mesh.h:87
PointerVectorSet< ElementType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename ElementType::Pointer, std::vector< typename ElementType::Pointer > > ElementsContainerType
Type alias for the container of elements.
Definition: mesh.h:135
ElementType & GetElement(IndexType ElementId)
Definition: mesh.h:511
ConditionType::Pointer pGetCondition(IndexType ConditionId)
Definition: mesh.h:617
typename NodesContainerType::iterator NodeIterator
Iterator for nodes in the container. Provides direct references to nodes.
Definition: mesh.h:114
void RemoveMasterSlaveConstraint(MasterSlaveConstraintType &ThisMasterSlaveConstraint)
Definition: mesh.h:770
MasterSlaveConstraintConstantIteratorType MasterSlaveConstraintsBegin() const
Definition: mesh.h:787
virtual void PrintData(std::ostream &rOStream, std::string const &PrefixString) const
Print object's data.
Definition: mesh.h:868
void SetProperties(typename PropertiesContainerType::Pointer pOtherProperties)
Definition: mesh.h:461
bool HasProperties(IndexType NodeId) const
Definition: mesh.h:471
void RemoveMasterSlaveConstraint(typename MasterSlaveConstraintType::Pointer pThisMasterSlaveConstraint)
Definition: mesh.h:777
MasterSlaveConstraintIteratorType MasterSlaveConstraintsEnd()
Definition: mesh.h:792
void AddCondition(typename ConditionType::Pointer pNewCondition)
Definition: mesh.h:611
const NodesContainerType & Nodes() const
Definition: mesh.h:351
PointerVectorSet< NodeType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename NodeType::Pointer, std::vector< typename NodeType::Pointer > > NodesContainerType
Type alias for the container of nodes.
Definition: mesh.h:111
typename ConditionsContainerType::const_iterator ConditionConstantIterator
Const iterator for conditions in the container. Provides direct references to conditions.
Definition: mesh.h:156
typename ElementsContainerType::const_iterator ElementConstantIterator
Const iterator for elements in the container. Provides direct references to elements.
Definition: mesh.h:141
void RemoveNode(NodeType &ThisNode)
Definition: mesh.h:314
SizeType NumberOfProperties() const
Definition: mesh.h:381
void RemoveElement(ElementType &ThisElement)
Definition: mesh.h:536
const ElementType & GetElement(IndexType ElementId) const
Definition: mesh.h:519
NodesContainerType::Pointer pNodes()
Definition: mesh.h:356
ConditionConstantIterator ConditionsBegin() const
Definition: mesh.h:676
ElementConstantIterator ElementsBegin() const
Definition: mesh.h:553
NodeIterator NodesBegin()
Definition: mesh.h:326
PropertiesType::Pointer pGetProperties(IndexType PropertiesId)
Definition: mesh.h:394
NodeConstantIterator NodesEnd() const
Definition: mesh.h:341
TNodeType NodeType
Definition: mesh.h:84
typename ElementsContainerType::iterator ElementIterator
Iterator for elements in the container. Provides direct references to elements.
Definition: mesh.h:138
PropertiesContainerType & Properties()
Definition: mesh.h:446
const ElementType::Pointer pGetElement(const IndexType ElementId) const
Definition: mesh.h:502
typename PropertiesContainerType::const_iterator PropertiesConstantIterator
Const iterator for properties in the container. Provides direct references to properties.
Definition: mesh.h:126
MasterSlaveConstraintContainerType::Pointer pMasterSlaveConstraints()
Definition: mesh.h:812
void AddNode(typename NodeType::Pointer pNewNode)
Definition: mesh.h:266
NodeType::Pointer pGetNode(IndexType NodeId)
Definition: mesh.h:272
void AddElement(typename ElementType::Pointer pNewElement)
Definition: mesh.h:488
const NodeType::Pointer pGetNode(const IndexType NodeId) const
Definition: mesh.h:280
bool HasMasterSlaveConstraint(IndexType MasterSlaveConstraintId) const
Definition: mesh.h:822
virtual void PrintInfo(std::ostream &rOStream, std::string const &PrefixString) const
Print information about this object.
Definition: mesh.h:862
void SetElements(typename ElementsContainerType::Pointer pOtherElements)
Definition: mesh.h:583
NodeType & GetNode(IndexType NodeId)
Definition: mesh.h:289
ElementsContainerType & Elements()
Definition: mesh.h:568
TElementType ElementType
Definition: mesh.h:93
PropertiesContainerType::ContainerType & PropertiesArray()
Definition: mesh.h:466
MasterSlaveConstraintContainerType::ContainerType & MasterSlaveConstraintsArray()
Definition: mesh.h:817
ConditionType & GetCondition(IndexType ConditionId)
Definition: mesh.h:634
void AddProperties(typename PropertiesType::Pointer pNewProperties)
Definition: mesh.h:388
void AddMasterSlaveConstraint(typename MasterSlaveConstraintType::Pointer pNewMasterSlaveConstraint)
Definition: mesh.h:733
NodeConstantIterator NodesBegin() const
Definition: mesh.h:331
void RemoveElement(IndexType ElementId)
Definition: mesh.h:529
const ConditionType & GetCondition(IndexType ConditionId) const
Definition: mesh.h:642
const NodeType & GetNode(IndexType NodeId) const
Definition: mesh.h:297
void Clear()
Definition: mesh.h:218
Mesh(typename NodesContainerType::Pointer NewNodes, typename PropertiesContainerType::Pointer NewProperties, typename ElementsContainerType::Pointer NewElements, typename ConditionsContainerType::Pointer NewConditions, typename MasterSlaveConstraintContainerType::Pointer NewMasterSlaveConditions)
Components constructor.
Definition: mesh.h:188
Mesh Clone()
Definition: mesh.h:207
PointerVectorSet< ConditionType, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename ConditionType::Pointer, std::vector< typename ConditionType::Pointer > > ConditionsContainerType
Type alias for the container of conditions.
Definition: mesh.h:150
ConditionIterator ConditionsEnd()
Definition: mesh.h:681
PointerVectorSet< MasterSlaveConstraintType, IndexedObject > MasterSlaveConstraintContainerType
Type alias for the container of master-slave constraints.
Definition: mesh.h:159
const ConditionsContainerType & Conditions() const
Definition: mesh.h:696
void RemoveCondition(typename ConditionType::Pointer pThisCondition)
Definition: mesh.h:666
typename MasterSlaveConstraintContainerType::const_iterator MasterSlaveConstraintConstantIteratorType
Const iterator for master-slave constraints in the container. Provides direct references to constrain...
Definition: mesh.h:165
typename MasterSlaveConstraintContainerType::iterator MasterSlaveConstraintIteratorType
Iterator for master-slave constraints in the container. Provides direct references to constraints.
Definition: mesh.h:162
const MasterSlaveConstraintContainerType & MasterSlaveConstraints() const
Definition: mesh.h:807
TConditionType ConditionType
Definition: mesh.h:96
const MasterSlaveConstraintType & GetMasterSlaveConstraint(IndexType MasterSlaveConstraintId) const
Definition: mesh.h:754
void RemoveCondition(IndexType ConditionId)
Definition: mesh.h:652
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
boost::indirect_iterator< typename TContainerType::iterator > iterator
Definition: pointer_vector_set.h:95
TContainerType ContainerType
Definition: pointer_vector_set.h:90
boost::indirect_iterator< typename TContainerType::const_iterator > const_iterator
Definition: pointer_vector_set.h:96
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
#define KRATOS_ERROR_IF(conditional)
Definition: exception.h:162
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
int dimension
Definition: isotropic_damage_automatic_differentiation.py:123
def load(f)
Definition: ode_solve.py:307
integer i
Definition: TensorModule.f:17