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

Short class definition. More...

#include <cartesian_mesh_generator_modeler.h>

Inheritance diagram for Kratos::CartesianMeshGeneratorModeler:
Collaboration diagram for Kratos::CartesianMeshGeneratorModeler:

Public Member Functions

Life Cycle
 CartesianMeshGeneratorModeler (ModelPart &rSourceModelPart, double ElementSize)
 constructor. More...
 
virtual ~CartesianMeshGeneratorModeler ()
 Destructor. More...
 
Operations
void GenerateMesh (ModelPart &rThisModelPart, Element const &rReferenceElement)
 
void CalculateNormals ()
 
unsigned int FindNearestNodeIndex (PointType &rThisPoint, array_1d< double, 3 > &rNormal)
 
void CalculateIsInside (ModelPart &rThisModelPart)
 
void CalculateBoundaryIntersections (ModelPart &rThisModelPart)
 
void CalculateBoundingBox (ModelPart &rThisModelPart, Point &rMinPoint, Point &rMaxPoint)
 
void CalculateDivisionNumbers ()
 
virtual void GenerateNodes (ModelPart &ThisModelPart)
 
unsigned int ElementIndex (unsigned int i, unsigned int j, unsigned int k)
 
unsigned int NodeIndex (unsigned int i, unsigned int j, unsigned int k)
 
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)
 
 KRATOS_CLASS_POINTER_DEFINITION (Modeler)
 Pointer definition of Modeler. More...
 

Type Definitions

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

◆ GeometryType

◆ NodesVectorType

◆ NodeType

◆ PointType

◆ SizeType

Constructor & Destructor Documentation

◆ CartesianMeshGeneratorModeler()

Kratos::CartesianMeshGeneratorModeler::CartesianMeshGeneratorModeler ( ModelPart rSourceModelPart,
double  ElementSize 
)
inline

constructor.

◆ ~CartesianMeshGeneratorModeler()

virtual Kratos::CartesianMeshGeneratorModeler::~CartesianMeshGeneratorModeler ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CalculateBoundaryIntersections()

void Kratos::CartesianMeshGeneratorModeler::CalculateBoundaryIntersections ( ModelPart rThisModelPart)
inline

◆ CalculateBoundingBox()

void Kratos::CartesianMeshGeneratorModeler::CalculateBoundingBox ( ModelPart rThisModelPart,
Point rMinPoint,
Point rMaxPoint 
)
inline

◆ CalculateDivisionNumbers()

void Kratos::CartesianMeshGeneratorModeler::CalculateDivisionNumbers ( )
inline

◆ CalculateIsInside()

void Kratos::CartesianMeshGeneratorModeler::CalculateIsInside ( ModelPart rThisModelPart)
inline

◆ CalculateNormals()

void Kratos::CartesianMeshGeneratorModeler::CalculateNormals ( )
inline

◆ ElementIndex()

unsigned int Kratos::CartesianMeshGeneratorModeler::ElementIndex ( unsigned int  i,
unsigned int  j,
unsigned int  k 
)
inline

◆ FindNearestNodeIndex()

unsigned int Kratos::CartesianMeshGeneratorModeler::FindNearestNodeIndex ( PointType rThisPoint,
array_1d< double, 3 > &  rNormal 
)
inline

◆ GenerateMesh()

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

◆ GenerateNodes()

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

Reimplemented from Kratos::Modeler.

◆ Info()

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

Turn back information as a string.

Reimplemented from Kratos::Modeler.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::CartesianMeshGeneratorModeler::KRATOS_CLASS_POINTER_DEFINITION ( CartesianMeshGeneratorModeler  )

Pointer definition of CartesianMeshGeneratorModeler.

◆ NodeIndex()

unsigned int Kratos::CartesianMeshGeneratorModeler::NodeIndex ( unsigned int  i,
unsigned int  j,
unsigned int  k 
)
inline

◆ PrintData()

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

Print object's data.

Reimplemented from Kratos::Modeler.

◆ PrintInfo()

virtual void Kratos::CartesianMeshGeneratorModeler::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: