61 template<
bool THistorical = true>
119 return Kratos::make_shared<CalculateDistanceToPathProcess>(rModel, ThisParameters);
125 void Execute()
override;
130 const Parameters GetDefaultParameters()
const override;
145 std::string
Info()
const override
147 return "CalculateDistanceToPathProcess";
153 rOStream <<
"CalculateDistanceToPathProcess";
220 void CalculateDistance(
230 void CalculateDistanceByBruteForce(
266 template<
bool THistorical>
271 template<
bool THistorical>
276 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Computes DISTANCE from a path model part to a given model part.
Definition: calculate_distance_to_path_process.h:64
Node NodeType
The definition of the node.
Definition: calculate_distance_to_path_process.h:76
~CalculateDistanceToPathProcess() override
Destructor.
Definition: calculate_distance_to_path_process.h:95
std::size_t IndexType
Index type definition.
Definition: calculate_distance_to_path_process.h:70
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: calculate_distance_to_path_process.h:151
Process::Pointer Create(Model &rModel, Parameters ThisParameters) override
This method creates an pointer of the process.
Definition: calculate_distance_to_path_process.h:114
std::size_t SizeType
Size type definition.
Definition: calculate_distance_to_path_process.h:73
std::string Info() const override
Turn back information as a string.
Definition: calculate_distance_to_path_process.h:145
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: calculate_distance_to_path_process.h:157
KRATOS_CLASS_POINTER_DEFINITION(CalculateDistanceToPathProcess)
Pointer definition of CalculateDistanceToPathProcess.
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
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
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
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
This struct is used in order to identify when using the hitorical and non historical variables.
Definition: calculate_distance_to_path_process.h:48
constexpr static bool SaveAsHistoricalVariable
Definition: calculate_distance_to_path_process.h:50
constexpr static bool SaveAsNonHistoricalVariable
Definition: calculate_distance_to_path_process.h:51