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.
|
Modeler to interact with ModelParts. More...
#include <modeler.h>
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... | |
Modeler to interact with ModelParts.
typedef std::size_t Kratos::Modeler::IndexType |
typedef std::size_t Kratos::Modeler::SizeType |
|
inline |
Default constructor.
|
inline |
Constructor with Model.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Creates the Modeler Pointer.
Reimplemented in Kratos::CreateEntitiesFromGeometriesModeler, Kratos::SerialModelPartCombinatorModeler, Kratos::CopyPropertiesModeler, Kratos::CombineModelPartModeler, Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::HRomVisualizationMeshModeler, Kratos::MappingGeometriesModeler, Kratos::RefinementModeler, Kratos::NurbsGeometryModeler, and Kratos::IgaModeler.
|
inlinevirtual |
Reimplemented in Kratos::DuplicateMeshModeler.
|
inlinevirtual |
Reimplemented in Kratos::ConnectivityPreserveModeler.
|
inlinevirtual |
Reimplemented in Kratos::MappingGeometriesModeler, and Kratos::CartesianMeshGeneratorModeler.
|
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.
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::SerialModelPartCombinatorModeler, Kratos::EdgeSwapping2DModeler, Kratos::DuplicateMeshModeler, Kratos::CreateEntitiesFromGeometriesModeler, Kratos::CopyPropertiesModeler, Kratos::CombineModelPartModeler, Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::HRomVisualizationMeshModeler, Kratos::MappingGeometriesModeler, Kratos::RefinementModeler, Kratos::IgaModeler, Kratos::StructuredMeshRefinementModeler, and Kratos::CartesianMeshGeneratorModeler.
|
inlinevirtual |
Prepare or update the geometry model_part.
Reimplemented in Kratos::MeshMovingModeler, and Kratos::RefinementModeler.
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::SerialModelPartCombinatorModeler, Kratos::EdgeSwapping2DModeler, Kratos::DuplicateMeshModeler, Kratos::CreateEntitiesFromGeometriesModeler, Kratos::CombineModelPartModeler, Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::HRomVisualizationMeshModeler, Kratos::MappingGeometriesModeler, Kratos::RefinementModeler, Kratos::IgaModeler, Kratos::StructuredMeshRefinementModeler, and Kratos::CartesianMeshGeneratorModeler.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::SerialModelPartCombinatorModeler, Kratos::EdgeSwapping2DModeler, Kratos::DuplicateMeshModeler, Kratos::CreateEntitiesFromGeometriesModeler, Kratos::CombineModelPartModeler, Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::HRomVisualizationMeshModeler, Kratos::MappingGeometriesModeler, Kratos::RefinementModeler, Kratos::IgaModeler, Kratos::StructuredMeshRefinementModeler, and Kratos::CartesianMeshGeneratorModeler.
|
inlinevirtual |
Import or generate geometry models from external input.
Reimplemented in Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::MappingGeometriesModeler, and Kratos::NurbsGeometryModeler.
|
inlinevirtual |
Convert the geometry model or import analysis suitable models.
Reimplemented in Kratos::SerialModelPartCombinatorModeler, Kratos::CreateEntitiesFromGeometriesModeler, Kratos::CopyPropertiesModeler, Kratos::CombineModelPartModeler, Kratos::CadIoModeler, Kratos::MeshMovingModeler, Kratos::HRomVisualizationMeshModeler, and Kratos::IgaModeler.
|
protected |
|
protected |