54 template<SizeType TDim, SizeType TNumNodes, SizeType TNumNodesMaster = TNumNodes>
69 static constexpr
double ZeroTolerance = std::numeric_limits<double>::epsilon();
90 const bool SearchOrientation =
true
91 ) : mrMasterModelPart(rMasterModelPart),
92 mrSlaveModelPart(rSlaveModelPart),
93 mSearchOrientation(SearchOrientation)
119 void Execute()
override;
136 std::string
Info()
const override
138 return "NormalGapProcess";
253 template<SizeType TDim, SizeType TNumNodes, SizeType TNumNodesMaster>
260 template<SizeType TDim, SizeType TNumNodes, SizeType TNumNodesMaster>
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
void Flip(const Flags ThisFlag)
Definition: flags.h:199
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
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 defines the node.
Definition: node.h:65
This process computes the normal gap.
Definition: normal_gap_process.h:57
ModelPart & mrMasterModelPart
Definition: normal_gap_process.h:164
ModelPart & mrSlaveModelPart
The master model part to be considered.
Definition: normal_gap_process.h:165
KRATOS_CLASS_POINTER_DEFINITION(NormalGapProcess)
Pointer definition of NormalGapProcess.
std::string Info() const override
Turn back information as a string.
Definition: normal_gap_process.h:136
virtual ~NormalGapProcess()=default
const bool mSearchOrientation
The slave model part to be considered.
Definition: normal_gap_process.h:166
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: normal_gap_process.h:144
static void SwitchFlagNodes(NodesArrayType &rNodes)
This method switchs the flag of an array of nodes.
Definition: normal_gap_process.h:180
void operator()()
Definition: normal_gap_process.h:107
ModelPart::NodesContainerType NodesArrayType
General type definitions.
Definition: normal_gap_process.h:66
NormalGapProcess(ModelPart &rMasterModelPart, ModelPart &rSlaveModelPart, const bool SearchOrientation=true)
The constructor of the normal gap process uses the following inputs:
Definition: normal_gap_process.h:87
The base class for all processes in Kratos.
Definition: process.h:49
This is basic mapper of values between domains using mortar formulation.
Definition: simple_mortar_mapper_process.h:73
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
void block_for_each(TIterator itBegin, TIterator itEnd, TFunction &&rFunction)
Execute a functor on all items of a range in parallel.
Definition: parallel_utilities.h:299
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
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