KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::CreateEntitiesFromGeometriesModeler Class Reference

Modeler to create element/condition entities from geometries. More...

#include <create_entities_from_geometries_modeler.h>

Inheritance diagram for Kratos::CreateEntitiesFromGeometriesModeler:
Collaboration diagram for Kratos::CreateEntitiesFromGeometriesModeler:

Public Member Functions

Life Cycle
 CreateEntitiesFromGeometriesModeler ()
 Default constructor. More...
 
 CreateEntitiesFromGeometriesModeler (Model &rModel, Parameters Settings)
 Constructor with Model. More...
 
 ~CreateEntitiesFromGeometriesModeler ()=default
 Destructor. More...
 
Modeler::Pointer Create (Model &rModel, const Parameters Settings) const override
 Creates the CreateEntitiesFromGeometriesModeler Pointer. More...
 
Operations
void SetupModelPart () override
 Convert the geometry model or import analysis suitable models. More...
 
const Parameters GetDefaultParameters () const override
 This method provides the defaults parameters to avoid conflicts between the different constructors. More...
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::Modeler
 Modeler (Parameters ModelerParameters=Parameters())
 Default constructor. More...
 
 Modeler (Model &rModel, Parameters ModelerParameters=Parameters())
 Constructor with Model. More...
 
virtual ~Modeler ()=default
 Destructor. More...
 
virtual void SetupGeometryModel ()
 Import or generate geometry models from external input. More...
 
virtual void PrepareGeometryModel ()
 Prepare or update the geometry model_part. More...
 
virtual void GenerateModelPart (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, Element const &rReferenceElement, Condition const &rReferenceBoundaryCondition)
 
virtual void GenerateMesh (ModelPart &ThisModelPart, Element const &rReferenceElement, Condition const &rReferenceBoundaryCondition)
 
virtual void GenerateNodes (ModelPart &ThisModelPart)
 
 KRATOS_CLASS_POINTER_DEFINITION (Modeler)
 Pointer definition of Modeler. More...
 

Type Definitions

using SizeType = std::size_t
 Size type definition. More...
 
using ElementsContainerType = ModelPart::ElementsContainerType
 Elements container type. More...
 
using ConditionsContainerType = ModelPart::ConditionsContainerType
 Conditions container type. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (CreateEntitiesFromGeometriesModeler)
 Pointer definition of Modeler. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::Modeler
typedef std::size_t SizeType
 
typedef std::size_t IndexType
 
- Protected Attributes inherited from Kratos::Modeler
Parameters mParameters
 
SizeType mEchoLevel
 

Detailed Description

Modeler to create element/condition entities from geometries.

Given a list of pairs of the type submodelpart name and entity (element/condition) name, this modeler creates the corresponding entities from the submodelpart geometries.

Author
Ruben Zorrilla

Member Typedef Documentation

◆ ConditionsContainerType

Conditions container type.

◆ ElementsContainerType

Elements container type.

◆ SizeType

Size type definition.

Constructor & Destructor Documentation

◆ CreateEntitiesFromGeometriesModeler() [1/2]

Kratos::CreateEntitiesFromGeometriesModeler::CreateEntitiesFromGeometriesModeler ( )
inline

Default constructor.

◆ CreateEntitiesFromGeometriesModeler() [2/2]

Kratos::CreateEntitiesFromGeometriesModeler::CreateEntitiesFromGeometriesModeler ( Model rModel,
Parameters  Settings 
)
inline

Constructor with Model.

◆ ~CreateEntitiesFromGeometriesModeler()

Kratos::CreateEntitiesFromGeometriesModeler::~CreateEntitiesFromGeometriesModeler ( )
default

Destructor.

Member Function Documentation

◆ Create()

Modeler::Pointer Kratos::CreateEntitiesFromGeometriesModeler::Create ( Model rModel,
const Parameters  Settings 
) const
inlineoverridevirtual

Creates the CreateEntitiesFromGeometriesModeler Pointer.

Reimplemented from Kratos::Modeler.

◆ GetDefaultParameters()

const Parameters Kratos::CreateEntitiesFromGeometriesModeler::GetDefaultParameters ( ) const
inlineoverridevirtual

This method provides the defaults parameters to avoid conflicts between the different constructors.

Reimplemented from Kratos::Modeler.

◆ Info()

std::string Kratos::CreateEntitiesFromGeometriesModeler::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::Modeler.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::CreateEntitiesFromGeometriesModeler::KRATOS_CLASS_POINTER_DEFINITION ( CreateEntitiesFromGeometriesModeler  )

Pointer definition of Modeler.

◆ PrintData()

void Kratos::CreateEntitiesFromGeometriesModeler::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::Modeler.

◆ PrintInfo()

void Kratos::CreateEntitiesFromGeometriesModeler::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::Modeler.

◆ SetupModelPart()

void Kratos::CreateEntitiesFromGeometriesModeler::SetupModelPart ( )
overridevirtual

Convert the geometry model or import analysis suitable models.

Reimplemented from Kratos::Modeler.


The documentation for this class was generated from the following files: