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::Modeler Class Reference

Modeler to interact with ModelParts. More...

#include <modeler.h>

Inheritance diagram for Kratos::Modeler:
Collaboration diagram for Kratos::Modeler:

Public Member Functions

Life Cycle
 Modeler (Parameters ModelerParameters=Parameters())
 Default constructor. More...
 
 Modeler (Model &rModel, Parameters ModelerParameters=Parameters())
 Constructor with Model. More...
 
virtual ~Modeler ()=default
 Destructor. More...
 
virtual Modeler::Pointer Create (Model &rModel, const Parameters ModelParameters) const
 Creates the Modeler Pointer. More...
 
Modeler Stages at Initialize
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 SetupModelPart ()
 Convert the geometry model or import analysis suitable models. More...
 
virtual const Parameters GetDefaultParameters () const
 This method provides the defaults parameters to avoid conflicts between the different constructors. More...
 
Operators
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)
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Protected Attributes

Protected members
Parameters mParameters
 
SizeType mEchoLevel
 

Type Definitions

typedef std::size_t SizeType
 
typedef std::size_t IndexType
 
 KRATOS_CLASS_POINTER_DEFINITION (Modeler)
 Pointer definition of Modeler. More...
 

Detailed Description

Modeler to interact with ModelParts.

Member Typedef Documentation

◆ IndexType

typedef std::size_t Kratos::Modeler::IndexType

◆ SizeType

typedef std::size_t Kratos::Modeler::SizeType

Constructor & Destructor Documentation

◆ Modeler() [1/2]

Kratos::Modeler::Modeler ( Parameters  ModelerParameters = Parameters())
inline

Default constructor.

◆ Modeler() [2/2]

Kratos::Modeler::Modeler ( Model rModel,
Parameters  ModelerParameters = Parameters() 
)
inline

Constructor with Model.

◆ ~Modeler()

virtual Kratos::Modeler::~Modeler ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Create()

virtual Modeler::Pointer Kratos::Modeler::Create ( Model rModel,
const Parameters  ModelParameters 
) const
inlinevirtual

◆ GenerateMesh()

virtual void Kratos::Modeler::GenerateMesh ( ModelPart ThisModelPart,
Element const &  rReferenceElement,
Condition const &  rReferenceBoundaryCondition 
)
inlinevirtual

Reimplemented in Kratos::DuplicateMeshModeler.

◆ GenerateModelPart()

virtual void Kratos::Modeler::GenerateModelPart ( ModelPart rOriginModelPart,
ModelPart rDestinationModelPart,
Element const &  rReferenceElement,
Condition const &  rReferenceBoundaryCondition 
)
inlinevirtual

◆ GenerateNodes()

virtual void Kratos::Modeler::GenerateNodes ( ModelPart ThisModelPart)
inlinevirtual

◆ GetDefaultParameters()

virtual const Parameters Kratos::Modeler::GetDefaultParameters ( ) const
inlinevirtual

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

Reimplemented in Kratos::CreateEntitiesFromGeometriesModeler, Kratos::CopyPropertiesModeler, Kratos::CombineModelPartModeler, and Kratos::HRomVisualizationMeshModeler.

◆ Info()

virtual std::string Kratos::Modeler::Info ( ) const
inlinevirtual

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::Modeler::KRATOS_CLASS_POINTER_DEFINITION ( Modeler  )

Pointer definition of Modeler.

◆ PrepareGeometryModel()

virtual void Kratos::Modeler::PrepareGeometryModel ( )
inlinevirtual

Prepare or update the geometry model_part.

Reimplemented in Kratos::MeshMovingModeler, and Kratos::RefinementModeler.

◆ PrintData()

virtual void Kratos::Modeler::PrintData ( std::ostream &  rOStream) const
inlinevirtual

◆ PrintInfo()

virtual void Kratos::Modeler::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

◆ SetupGeometryModel()

virtual void Kratos::Modeler::SetupGeometryModel ( )
inlinevirtual

Import or generate geometry models from external input.

Reimplemented in Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::MappingGeometriesModeler, and Kratos::NurbsGeometryModeler.

◆ SetupModelPart()

virtual void Kratos::Modeler::SetupModelPart ( )
inlinevirtual

Member Data Documentation

◆ mEchoLevel

SizeType Kratos::Modeler::mEchoLevel
protected

◆ mParameters

Parameters Kratos::Modeler::mParameters
protected

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