103 void Execute()
override;
108 "model_part_name" : "",
109 "unknown_variable" : "TEMPERATURE",
110 "mls_extension_operator_order" : 1,
111 "deactivate_negative_elements" : true,
112 "deactivate_intersected_elements" : false
115 return default_parameters;
131 virtual std::string
Info()
const override
133 return "EmbeddedMLSConstraintProcess";
137 virtual void PrintInfo(std::ostream& rOStream)
const override
139 rOStream <<
"EmbeddedMLSConstraintProcess";
143 virtual void PrintData(std::ostream& rOStream)
const override
195 std::string mUnknownVariable;
197 std::size_t mMLSExtensionOperatorOrder;
199 bool mDeactivateNegativeElements;
200 bool mDeactivateIntersectedElements;
210 void CalculateConformingExtensionBasis(
211 NodesCloudMapType& rExtensionOperatorMap);
213 void ApplyExtensionConstraints(
214 NodesCloudMapType& rExtensionOperatorMap);
216 void SetInterfaceFlags();
218 void ReactivateElementsAndNodes();
220 void ModifyDistances();
226 MLSShapeFunctionsFunctionType GetMLSShapeFunctionsFunction();
228 void SetNegativeNodeSupportCloud(
231 Matrix& rCloudCoordinates);
233 double CalculateKernelRadius(
234 const Matrix& rCloudCoordinates,
237 std::size_t GetRequiredNumberOfPoints();
Definition: embedded_mls_constraint_process.h:53
virtual std::string Info() const override
Turn back information as a string.
Definition: embedded_mls_constraint_process.h:131
const Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: embedded_mls_constraint_process.h:105
std::function< void(const Matrix &, const array_1d< double, 3 > &, const double, Vector &)> MLSShapeFunctionsFunctionType
Definition: embedded_mls_constraint_process.h:65
virtual ~EmbeddedMLSConstraintProcess()=default
Destructor.
std::unordered_set< NodeType::Pointer, SharedPointerHasher< NodeType::Pointer >, SharedPointerComparator< NodeType::Pointer > > NodesCloudSetType
Definition: embedded_mls_constraint_process.h:67
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: embedded_mls_constraint_process.h:137
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: embedded_mls_constraint_process.h:143
KRATOS_CLASS_POINTER_DEFINITION(EmbeddedMLSConstraintProcess)
Pointer definition of EmbeddedMLSConstraintProcess.
EmbeddedMLSConstraintProcess()=delete
Default constructor.
std::unordered_map< NodeType::Pointer, CloudDataVectorType, SharedPointerHasher< NodeType::Pointer >, SharedPointerComparator< NodeType::Pointer > > NodesCloudMapType
Definition: embedded_mls_constraint_process.h:71
std::size_t IndexType
Definition: flags.h:74
Geometry base class.
Definition: geometry.h:71
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
std::size_t IndexType
Pointer definition of ModelPart.
Definition: model_part.h:105
Node NodeType
Definition: model_part.h:117
Geometry< NodeType > GeometryType
Definition: model_part.h:118
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
The base class for all processes in Kratos.
Definition: process.h:49
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
This is a key comparer between two shared pointers.
Definition: key_hash.h:312