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.
Public Member Functions | Protected Attributes | List of all members
Kratos::GidMeshContainer Class Reference

#include <gid_mesh_container.h>

Collaboration diagram for Kratos::GidMeshContainer:

Public Member Functions

 GidMeshContainer (GeometryData::KratosGeometryType geometryType, GiD_ElementType elementType, const char *mesh_title)
 Constructor. More...
 
bool AddElement (const ModelPart::ElementConstantIterator pElemIt)
 
bool AddCondition (const ModelPart::ConditionConstantIterator pCondIt)
 
void FinalizeMeshCreation ()
 
void WriteMesh (GiD_FILE MeshFile, bool deformed)
 
void Reset ()
 
ModelPart::NodesContainerType GetMeshNodes ()
 

Protected Attributes

GeometryData::KratosGeometryType mGeometryType
 member variables More...
 
GiD_ElementType mGidElementType
 
ModelPart::NodesContainerType mMeshNodes
 
ModelPart::ElementsContainerType mMeshElements
 
ModelPart::ConditionsContainerType mMeshConditions
 
const char * mMeshTitle
 

Detailed Description

Auxiliary class to store meshes of different element types and to write these meshes to an output file

Constructor & Destructor Documentation

◆ GidMeshContainer()

Kratos::GidMeshContainer::GidMeshContainer ( GeometryData::KratosGeometryType  geometryType,
GiD_ElementType  elementType,
const char *  mesh_title 
)
inline

Constructor.

Member Function Documentation

◆ AddCondition()

bool Kratos::GidMeshContainer::AddCondition ( const ModelPart::ConditionConstantIterator  pCondIt)
inline

◆ AddElement()

bool Kratos::GidMeshContainer::AddElement ( const ModelPart::ElementConstantIterator  pElemIt)
inline

◆ FinalizeMeshCreation()

void Kratos::GidMeshContainer::FinalizeMeshCreation ( )
inline

◆ GetMeshNodes()

ModelPart::NodesContainerType Kratos::GidMeshContainer::GetMeshNodes ( )
inline

◆ Reset()

void Kratos::GidMeshContainer::Reset ( )
inline

◆ WriteMesh()

void Kratos::GidMeshContainer::WriteMesh ( GiD_FILE  MeshFile,
bool  deformed 
)
inline

Member Data Documentation

◆ mGeometryType

GeometryData::KratosGeometryType Kratos::GidMeshContainer::mGeometryType
protected

member variables

◆ mGidElementType

GiD_ElementType Kratos::GidMeshContainer::mGidElementType
protected

◆ mMeshConditions

ModelPart::ConditionsContainerType Kratos::GidMeshContainer::mMeshConditions
protected

◆ mMeshElements

ModelPart::ElementsContainerType Kratos::GidMeshContainer::mMeshElements
protected

◆ mMeshNodes

ModelPart::NodesContainerType Kratos::GidMeshContainer::mMeshNodes
protected

◆ mMeshTitle

const char* Kratos::GidMeshContainer::mMeshTitle
protected

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