15 #if !defined(KRATOS_SPLIT_INTERNAL_INTERFACES_PROCESS_H_INCLUDED )
16 #define KRATOS_SPLIT_INTERNAL_INTERFACES_PROCESS_H_INCLUDED
88 , mrModelPart(rModel.GetModelPart(rParameters[
"model_part_name"].GetString()))
93 const Parameters default_parameters = GetDefaultParameters();
97 std::string interfaces_sub_model_part_name = rParameters[
"interfaces_sub_model_part_name"].
GetString();
98 if (mrModelPart.HasSubModelPart(interfaces_sub_model_part_name)) {
99 mpInterfacesSubModelPart = &(mrModelPart.GetSubModelPart(interfaces_sub_model_part_name));
101 mpInterfacesSubModelPart = &(mrModelPart.CreateSubModelPart(interfaces_sub_model_part_name));
105 mConditionName = rParameters[
"condition_name"].
GetString();
128 "model_part_name" :"MODEL_PART_NAME",
129 "interfaces_sub_model_part_name" : "internal_interfaces",
130 "condition_name" : "CONDITION_NAME"
132 return default_parameters;
149 std::string
Info()
const override
151 return "SplitInternalInterfacesProcess";
157 rOStream <<
"SplitInternalInterfacesProcess";
183 const std::size_t PropertyIdBeingProcessed,
184 const std::size_t InterfaceConditionsPropertyId,
185 const std::unordered_map<IndexType,IndexType>& rConditionsParentMap,
226 std::string mConditionName;
283 rOStream << std::endl;
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
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
void ValidateAndAssignDefaults(const Parameters &rDefaultParameters)
This function is designed to verify that the parameters under testing match the form prescribed by th...
Definition: kratos_parameters.cpp:1306
std::string GetString() const
This method returns the string contained in the current Parameter.
Definition: kratos_parameters.cpp:684
The base class for all processes in Kratos.
Definition: process.h:49
Computes NODAL_AREA.
Definition: split_internal_interfaces_process.h:57
virtual ~SplitInternalInterfacesProcess() override
Destructor.
Definition: split_internal_interfaces_process.h:111
KRATOS_CLASS_POINTER_DEFINITION(SplitInternalInterfacesProcess)
Pointer definition of SplitInternalInterfacesProcess.
std::size_t IndexType
Index type definition.
Definition: split_internal_interfaces_process.h:64
Node NodeType
The definition of the node.
Definition: split_internal_interfaces_process.h:70
std::string Info() const override
Turn back information as a string.
Definition: split_internal_interfaces_process.h:149
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: split_internal_interfaces_process.h:161
const Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: split_internal_interfaces_process.h:124
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: split_internal_interfaces_process.h:155
SplitInternalInterfacesProcess(Model &rModel, Parameters rParameters)
Default constructor.
Definition: split_internal_interfaces_process.h:84
std::size_t SizeType
Size type definition.
Definition: split_internal_interfaces_process.h:67
#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