89 :mrMainModelPart(rMainModelPrt)
109 void GenerateInterfacePart(
164 void CheckAndCreateProperties(
ModelPart& rInterfacePart);
172 const std::vector<std::size_t>& rIndexVector,
181 std::unordered_map<IndexType, Properties::Pointer> CreateNewProperties();
189 template<
class TClass>
191 Properties::Pointer pOriginalProperty,
192 Properties::Pointer pNewProperty,
194 const bool AssignZero =
true
197 if(pOriginalProperty->Has(rVariable)) {
198 const TClass& value = pOriginalProperty->GetValue(rVariable);
199 pNewProperty->SetValue(rVariable, value);
200 }
else if (AssignZero) {
201 KRATOS_INFO(
"InterfacePreprocessCondition") <<
"Property " << rVariable.
Name() <<
" not available. Assigning zero value" << std::endl;
202 pNewProperty->SetValue(rVariable, rVariable.
Zero());
213 void CreateNewCondition(
214 Properties::Pointer prThisProperties,
217 Condition
const& rCondition
224 void AssignMasterSlaveCondition(Condition::Pointer pCond);
231 void PrintNodesAndConditions(
251 inline void GenerateEdgeCondition(
252 ModelPart& rInterfacePart,
253 Properties::Pointer prThisProperties,
255 const bool SimplestGeometry,
269 inline void GenerateFaceCondition(
270 ModelPart& rInterfacePart,
271 Properties::Pointer prThisProperties,
273 const bool SimplestGeometry,
Geometry base class.
Definition: geometry.h:71
Creates Model Parts containing the interface.
Definition: interface_preprocess.h:54
std::size_t SizeType
The size type.
Definition: interface_preprocess.h:68
KRATOS_CLASS_POINTER_DEFINITION(InterfacePreprocessCondition)
Pointer definition of ExactMortarIntegrationUtility.
ModelPart::ConditionsContainerType ConditionsArrayType
Definition: interface_preprocess.h:73
std::size_t IndexType
The index type.
Definition: interface_preprocess.h:65
InterfacePreprocessCondition(ModelPart &rMainModelPrt)
Constructor.
Definition: interface_preprocess.h:88
virtual ~InterfacePreprocessCondition()=default
Destructor.
ModelPart::NodesContainerType NodesArrayType
Definition of the entities container.
Definition: interface_preprocess.h:71
ModelPart::ElementsContainerType ElementsArrayType
Definition: interface_preprocess.h:72
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
MeshType::NodesContainerType NodesContainerType
Nodes container. Which is a vector set of nodes with their Id's as key.
Definition: model_part.h:128
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
Point class.
Definition: point.h:59
const std::string & Name() const
Definition: variable_data.h:201
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
const TDataType & Zero() const
This method returns the zero value of the variable type.
Definition: variable.h:346
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
#define KRATOS_INFO(label)
Definition: logger.h:250
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Geometry< Node > GeometryType
The definition of the geometry.
Definition: mortar_classes.h:37