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

Short class definition. More...

#include <structured_mesh_refinement_modeler.h>

Inheritance diagram for Kratos::StructuredMeshRefinementModeler:
Collaboration diagram for Kratos::StructuredMeshRefinementModeler:

Public Member Functions

Life Cycle
 StructuredMeshRefinementModeler ()
 Default constructor. More...
 
virtual ~StructuredMeshRefinementModeler ()
 Destructor. More...
 
Operations
void GenerateMesh (ModelPart &rThisModelPart, Element const &rReferenceElement)
 
template<class ComponentType >
void GenerateNodes (ComponentType &rThisComponent, NodesVectorType &VolumeNodesVector, NodesVectorType &SurfaceNodesVector, vector< int > &number_of_divisions)
 
template<class ComponentType >
void GenerateNode (ComponentType &rThisComponent, NodesVectorType &VolumeNodesVector, NodesVectorType &SurfaceNodesVector, Element::GeometryType::CoordinatesArrayType &rLocalCoordinates)
 
void GenerateElements (ModelPart &rThisModelPart, Element &rThisElement, NodesVectorType &VolumeNodesVector, NodesVectorType &SurfaceNodesVector, vector< int > &number_of_divisions, SizeType StartElementId)
 
void GenerateConditions (ModelPart &rThisModelPart, Condition &rThisCondition, NodesVectorType &VolumeNodesVector, NodesVectorType &SurfaceNodesVector, vector< int > &number_of_divisions, SizeType StartConditionId)
 
void GenerateNodes (ModelPart &ThisModelPart, SizeType NumberOfSegments)
 
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...
 
- 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 Modeler::Pointer Create (Model &rModel, const Parameters ModelParameters) const
 Creates the Modeler Pointer. 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 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...
 
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

typedef Modeler BaseType
 
typedef Node NodeType
 
typedef PointerVector< NodeTypeNodesVectorType
 
typedef std::size_t SizeType
 
 KRATOS_CLASS_POINTER_DEFINITION (StructuredMeshRefinementModeler)
 Pointer definition of StructuredMeshRefinementModeler. 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

Short class definition.

Detail class definition.

Member Typedef Documentation

◆ BaseType

◆ NodesVectorType

◆ NodeType

◆ SizeType

Constructor & Destructor Documentation

◆ StructuredMeshRefinementModeler()

Kratos::StructuredMeshRefinementModeler::StructuredMeshRefinementModeler ( )
inline

Default constructor.

◆ ~StructuredMeshRefinementModeler()

virtual Kratos::StructuredMeshRefinementModeler::~StructuredMeshRefinementModeler ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ GenerateConditions()

void Kratos::StructuredMeshRefinementModeler::GenerateConditions ( ModelPart rThisModelPart,
Condition rThisCondition,
NodesVectorType VolumeNodesVector,
NodesVectorType SurfaceNodesVector,
vector< int > &  number_of_divisions,
SizeType  StartConditionId 
)
inline

◆ GenerateElements()

void Kratos::StructuredMeshRefinementModeler::GenerateElements ( ModelPart rThisModelPart,
Element rThisElement,
NodesVectorType VolumeNodesVector,
NodesVectorType SurfaceNodesVector,
vector< int > &  number_of_divisions,
SizeType  StartElementId 
)
inline

◆ GenerateMesh()

void Kratos::StructuredMeshRefinementModeler::GenerateMesh ( ModelPart rThisModelPart,
Element const &  rReferenceElement 
)
inline

◆ GenerateNode()

template<class ComponentType >
void Kratos::StructuredMeshRefinementModeler::GenerateNode ( ComponentType &  rThisComponent,
NodesVectorType VolumeNodesVector,
NodesVectorType SurfaceNodesVector,
Element::GeometryType::CoordinatesArrayType rLocalCoordinates 
)
inline

◆ GenerateNodes() [1/2]

template<class ComponentType >
void Kratos::StructuredMeshRefinementModeler::GenerateNodes ( ComponentType &  rThisComponent,
NodesVectorType VolumeNodesVector,
NodesVectorType SurfaceNodesVector,
vector< int > &  number_of_divisions 
)
inline

◆ GenerateNodes() [2/2]

void Kratos::StructuredMeshRefinementModeler::GenerateNodes ( ModelPart ThisModelPart,
SizeType  NumberOfSegments 
)
inline

◆ Info()

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

Turn back information as a string.

Reimplemented from Kratos::Modeler.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::StructuredMeshRefinementModeler::KRATOS_CLASS_POINTER_DEFINITION ( StructuredMeshRefinementModeler  )

Pointer definition of StructuredMeshRefinementModeler.

◆ PrintData()

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

Print object's data.

Reimplemented from Kratos::Modeler.

◆ PrintInfo()

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

Print information about this object.

Reimplemented from Kratos::Modeler.


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