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

This modeler combines several model parts in serial, reading its respective *.mdpa files (maybe others in the future) More...

#include <serial_model_part_combinator_modeler.h>

Inheritance diagram for Kratos::SerialModelPartCombinatorModeler:
Collaboration diagram for Kratos::SerialModelPartCombinatorModeler:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (SerialModelPartCombinatorModeler)
 Pointer definition of SerialModelPartCombinatorModeler. More...
 
Life Cycle
 SerialModelPartCombinatorModeler ()
 Default constructor. More...
 
 SerialModelPartCombinatorModeler (Model &rModel, Parameters ModelerParameters=Parameters())
 Constructor using a Model and Parameters. More...
 
virtual ~SerialModelPartCombinatorModeler ()=default
 Destructor. More...
 
Operations
Modeler::Pointer Create (Model &rModel, const Parameters ModelParameters) const override
 Creates the Modeler Pointer and returns a pointer to a new SerialModelPartCombinatorModeler, created using the given input. More...
 
void SetupModelPart () override
 Convert the geometry into an analysis suitable ModePart. 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 const Parameters GetDefaultParameters () const
 This method provides the defaults parameters to avoid conflicts between the different constructors. 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...
 

Serialization

class Serializer
 

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

This modeler combines several model parts in serial, reading its respective *.mdpa files (maybe others in the future)

Uses ModelPartCombinationUtilities to combine different ModelParts into one single ModelPart, with the corresponding sub ModelParts

Author
Vicente Maataix Ferrandiz

Constructor & Destructor Documentation

◆ SerialModelPartCombinatorModeler() [1/2]

Kratos::SerialModelPartCombinatorModeler::SerialModelPartCombinatorModeler ( )
inline

Default constructor.

◆ SerialModelPartCombinatorModeler() [2/2]

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

Constructor using a Model and Parameters.

Parameters
rModelReference of the Model
ModelerParametersParameters of the discretization

◆ ~SerialModelPartCombinatorModeler()

virtual Kratos::SerialModelPartCombinatorModeler::~SerialModelPartCombinatorModeler ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Create()

Modeler::Pointer Kratos::SerialModelPartCombinatorModeler::Create ( Model rModel,
const Parameters  ModelParameters 
) const
overridevirtual

Creates the Modeler Pointer and returns a pointer to a new SerialModelPartCombinatorModeler, created using the given input.

Parameters
rModelReference of the Model
ModelerParametersParameters of the discretization
Returns
a Pointer to the new Modeler

Reimplemented from Kratos::Modeler.

◆ Info()

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

Turn back information as a string.

Reimplemented from Kratos::Modeler.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::SerialModelPartCombinatorModeler::KRATOS_CLASS_POINTER_DEFINITION ( SerialModelPartCombinatorModeler  )

Pointer definition of SerialModelPartCombinatorModeler.

◆ PrintData()

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

Print object's data.

Reimplemented from Kratos::Modeler.

◆ PrintInfo()

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

Print information about this object.

Reimplemented from Kratos::Modeler.

◆ SetupModelPart()

void Kratos::SerialModelPartCombinatorModeler::SetupModelPart ( )
overridevirtual

Convert the geometry into an analysis suitable ModePart.

Reimplemented from Kratos::Modeler.

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

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