76 mParameters.ValidateAndAssignDefaults(GetDefaultParameters());
87 return Kratos::make_shared<CreateEntitiesFromGeometriesModeler>(rModel, Settings);
95 void SetupModelPart()
override;
102 "elements_list" : [],
103 "conditions_list" : []
105 return default_parameters;
118 std::string
Info()
const override
120 return "CreateEntitiesFromGeometriesModeler";
145 Model* mpModel =
nullptr;
156 template <
class TEntitytiesContainerType>
157 void LoopEntitiesList(
Parameters EntitiesList);
164 template <
class TEntitiesContainerType>
165 void RemoveModelPartEntities(
ModelPart& rModelPart);
176 std::istream& rIStream,
181 std::ostream& rOStream,
185 rOStream << std::endl;
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Modeler to create element/condition entities from geometries.
Definition: create_entities_from_geometries_modeler.h:45
~CreateEntitiesFromGeometriesModeler()=default
Destructor.
CreateEntitiesFromGeometriesModeler(Model &rModel, Parameters Settings)
Constructor with Model.
Definition: create_entities_from_geometries_modeler.h:70
ModelPart::ConditionsContainerType ConditionsContainerType
Conditions container type.
Definition: create_entities_from_geometries_modeler.h:60
std::size_t SizeType
Size type definition.
Definition: create_entities_from_geometries_modeler.h:54
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: create_entities_from_geometries_modeler.h:124
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: create_entities_from_geometries_modeler.h:130
std::string Info() const override
Turn back information as a string.
Definition: create_entities_from_geometries_modeler.h:118
ModelPart::ElementsContainerType ElementsContainerType
Elements container type.
Definition: create_entities_from_geometries_modeler.h:57
Modeler::Pointer Create(Model &rModel, const Parameters Settings) const override
Creates the CreateEntitiesFromGeometriesModeler Pointer.
Definition: create_entities_from_geometries_modeler.h:83
CreateEntitiesFromGeometriesModeler()
Default constructor.
Definition: create_entities_from_geometries_modeler.h:67
KRATOS_CLASS_POINTER_DEFINITION(CreateEntitiesFromGeometriesModeler)
Pointer definition of Modeler.
const Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: create_entities_from_geometries_modeler.h:98
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
MeshType::ConditionsContainerType ConditionsContainerType
Condintions container. A vector set of Conditions with their Id's as key.
Definition: model_part.h:183
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
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
#define KRATOS_REGISTRY_ADD_PROTOTYPE(NAME, X, Y)
Macro to register class prototypes This macro creates a static bool in the class (which value is not ...
Definition: define_registry.h:43
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