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

#include <gid_gauss_point_container.h>

Collaboration diagram for Kratos::GidGaussPointsContainer:

Public Member Functions

 GidGaussPointsContainer (const char *gp_title, KratosGeometryFamily geometryFamily, GiD_ElementType gid_element_type, int number_of_integration_points, std::vector< int > index_container)
 Constructor. More...
 
virtual ~GidGaussPointsContainer ()
 Destructor. More...
 
virtual bool AddElement (const ModelPart::ElementConstantIterator pElemIt)
 
virtual bool AddCondition (const ModelPart::ConditionConstantIterator pCondIt)
 
virtual void PrintFlagsResults (GiD_FILE ResultFile, const Kratos::Flags &rFlag, const std::string &rFlagName, const ModelPart &rModelPart, const double SolutionTag)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< bool > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< int > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< double > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex=0)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< array_1d< double, 3 > > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex=0)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< array_1d< double, 6 > > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex=0)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< Vector > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex=0)
 
virtual void PrintResults (GiD_FILE ResultFile, const Variable< Matrix > &rVariable, const ModelPart &rModelPart, const double SolutionTag, const unsigned int ValueIndex=0)
 
void Reset ()
 
void WriteGaussPoints (GiD_FILE MeshFile)
 

Protected Attributes

const char * mGPTitle
 member variables More...
 
KratosGeometryFamily mKratosElementFamily
 
GiD_ElementType mGidElementFamily
 
unsigned int mSize
 
std::vector< intmIndexContainer
 
ModelPart::ElementsContainerType mMeshElements
 
ModelPart::ConditionsContainerType mMeshConditions
 

Detailed Description

Auxiliary class to store gauss point containers and perform result printing on gauss points

Constructor & Destructor Documentation

◆ GidGaussPointsContainer()

Kratos::GidGaussPointsContainer::GidGaussPointsContainer ( const char *  gp_title,
KratosGeometryFamily  geometryFamily,
GiD_ElementType  gid_element_type,
int  number_of_integration_points,
std::vector< int index_container 
)
inline

Constructor.

◆ ~GidGaussPointsContainer()

virtual Kratos::GidGaussPointsContainer::~GidGaussPointsContainer ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ AddCondition()

virtual bool Kratos::GidGaussPointsContainer::AddCondition ( const ModelPart::ConditionConstantIterator  pCondIt)
inlinevirtual

◆ AddElement()

virtual bool Kratos::GidGaussPointsContainer::AddElement ( const ModelPart::ElementConstantIterator  pElemIt)
inlinevirtual

◆ PrintFlagsResults()

virtual void Kratos::GidGaussPointsContainer::PrintFlagsResults ( GiD_FILE  ResultFile,
const Kratos::Flags rFlag,
const std::string &  rFlagName,
const ModelPart rModelPart,
const double  SolutionTag 
)
inlinevirtual

◆ PrintResults() [1/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< array_1d< double, 3 > > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex = 0 
)
inlinevirtual

◆ PrintResults() [2/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< array_1d< double, 6 > > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex = 0 
)
inlinevirtual

◆ PrintResults() [3/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< bool > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex 
)
inlinevirtual

◆ PrintResults() [4/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< double > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex = 0 
)
inlinevirtual

◆ PrintResults() [5/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< int > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex 
)
inlinevirtual

◆ PrintResults() [6/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< Matrix > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex = 0 
)
inlinevirtual

◆ PrintResults() [7/7]

virtual void Kratos::GidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
const Variable< Vector > &  rVariable,
const ModelPart rModelPart,
const double  SolutionTag,
const unsigned int  ValueIndex = 0 
)
inlinevirtual

◆ Reset()

void Kratos::GidGaussPointsContainer::Reset ( )
inline

◆ WriteGaussPoints()

void Kratos::GidGaussPointsContainer::WriteGaussPoints ( GiD_FILE  MeshFile)
inline

Member Data Documentation

◆ mGidElementFamily

GiD_ElementType Kratos::GidGaussPointsContainer::mGidElementFamily
protected

◆ mGPTitle

const char* Kratos::GidGaussPointsContainer::mGPTitle
protected

member variables

◆ mIndexContainer

std::vector<int> Kratos::GidGaussPointsContainer::mIndexContainer
protected

◆ mKratosElementFamily

KratosGeometryFamily Kratos::GidGaussPointsContainer::mKratosElementFamily
protected

◆ mMeshConditions

ModelPart::ConditionsContainerType Kratos::GidGaussPointsContainer::mMeshConditions
protected

◆ mMeshElements

ModelPart::ElementsContainerType Kratos::GidGaussPointsContainer::mMeshElements
protected

◆ mSize

unsigned int Kratos::GidGaussPointsContainer::mSize
protected

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