80 const Parameters GetDefaultParameters()
const override;
97 void SetupModelPart()
override;
104 std::string
Info()
const override
106 return "CombineModelPartModeler";
139 void DuplicateElements(
142 const Element& rReferenceElement)
const;
144 void DuplicateConditions(
147 const Condition& rReferenceBoundaryCondition)
const;
149 void DuplicateCommunicatorData(
153 void DuplicateSubModelParts(
160 void DuplicateMesh()
const;
162 void CreateSubModelParts();
164 void CreateCommunicators();
166 void PopulateCommunicators();
168 void PopulateLocalMesh(
174 void ResetModelPart(
ModelPart& rCombinedModelPart)
const;
176 void CheckOriginModelPartsAndAssignRoot();
198 Model* mpModel =
nullptr;
202 ModelPart* mpOriginRootModelPart =
nullptr;
256 rOStream << std::endl;
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
This modeler combines several model parts into a new one. All input model parts should share the same...
Definition: combine_model_part_modeler.h:42
virtual ~CombineModelPartModeler()=default
Destructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: combine_model_part_modeler.h:116
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: combine_model_part_modeler.h:110
KRATOS_CLASS_POINTER_DEFINITION(CombineModelPartModeler)
Pointer definition of CombineModelPartModeler.
CombineModelPartModeler()
Definition: combine_model_part_modeler.h:55
std::string Info() const override
Turn back information as a string.
Definition: combine_model_part_modeler.h:104
The Commmunicator class manages communication for distributed ModelPart instances.
Definition: communicator.h:67
Base class for all Conditions.
Definition: condition.h:59
Base class for all Elements.
Definition: element.h:60
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
Modeler to interact with ModelParts.
Definition: modeler.h:39
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
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
def load(f)
Definition: ode_solve.py:307