55 template<std::
size_t TDim>
75 : mrSkinModelPart1(rModel.GetModelPart(ThisParameters["skin_model_part_1_name"].GetString())),
76 mrSkinModelPart2(rModel.GetModelPart(ThisParameters[
"skin_model_part_2_name"].GetString())),
77 mThisParameters(ThisParameters)
81 Parameters default_parameters = GetDefaultParameters();
82 mThisParameters.RecursivelyValidateAndAssignDefaults(default_parameters);
99 void Execute()
override;
113 return Kratos::make_shared<CheckSameModelPartUsingSkinDistanceProcess<TDim>>(rModel, ThisParameters);
119 const Parameters GetDefaultParameters()
const override;
134 std::string
Info()
const override
136 return "CheckSameModelPartUsingSkinDistanceProcess" + std::to_string(TDim) +
"D";
142 rOStream <<
"CheckSameModelPartUsingSkinDistanceProcess" << TDim <<
"D";
206 template<std::
size_t TDim>
211 template<std::
size_t TDim>
216 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Checks that the model part is the same using the skin distance.
Definition: check_same_modelpart_using_skin_distance_process.h:58
std::string Info() const override
Turn back information as a string.
Definition: check_same_modelpart_using_skin_distance_process.h:134
KRATOS_CLASS_POINTER_DEFINITION(CheckSameModelPartUsingSkinDistanceProcess)
Pointer definition of CheckSameModelPartUsingSkinDistanceProcess.
~CheckSameModelPartUsingSkinDistanceProcess() override=default
Destructor.
Process::Pointer Create(Model &rModel, Parameters ThisParameters) override
This method creates an pointer of the process.
Definition: check_same_modelpart_using_skin_distance_process.h:108
CheckSameModelPartUsingSkinDistanceProcess(Model &rModel, Parameters ThisParameters=Parameters(R"({})"))
Default constructor.
Definition: check_same_modelpart_using_skin_distance_process.h:71
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: check_same_modelpart_using_skin_distance_process.h:140
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: check_same_modelpart_using_skin_distance_process.h:146
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
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The base class for all processes in Kratos.
Definition: process.h:49
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
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