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

#include <pfem_gid_io.h>

Collaboration diagram for Kratos::PfemGidGaussPointsContainer:

Public Member Functions

 PfemGidGaussPointsContainer (char *gp_title, KratosGeometryFamily geometryFamily, GiD_ElementType gid_element_type, int number_of_integration_points, std::vector< int > index_container)
 Constructor. More...
 
bool AddElement (const ModelPart::ElementsContainerType::iterator pElemIt)
 
bool AddCondition (const ModelPart::ConditionsContainerType::iterator pCondIt)
 
void PrintResults (Variable< double > rVariable, ModelPart &r_model_part, double SolutionTag, int value_index=0)
 
void PrintResults (Variable< Vector > rVariable, ModelPart &r_model_part, double SolutionTag, int value_index=0)
 
void PrintResults (Variable< Matrix > rVariable, ModelPart &r_model_part, double SolutionTag, int value_index=0)
 
void Reset ()
 
 PfemGidGaussPointsContainer (const char *gp_title, KratosGeometryFamily geometryFamily, GiD_ElementType gid_element_type, unsigned int number_of_integration_points, std::vector< int > index_container)
 Constructor. More...
 
bool AddElement (const ModelPart::ElementsContainerType::iterator pElemIt)
 
bool AddCondition (const ModelPart::ConditionsContainerType::iterator pCondIt)
 
void PrintResults (GiD_FILE ResultFile, Variable< double > rVariable, ModelPart &r_model_part, double SolutionTag, unsigned int value_index=0)
 
void PrintResults (GiD_FILE ResultFile, Variable< Vector > rVariable, ModelPart &r_model_part, double SolutionTag, unsigned int value_index=0)
 
void PrintResults (GiD_FILE ResultFile, Variable< Matrix > rVariable, ModelPart &r_model_part, double SolutionTag, unsigned int value_index=0)
 
void PrintResults (GiD_FILE ResultFile, Variable< array_1d< double, 3 > > rVariable, ModelPart &r_model_part, double SolutionTag, int value_index=0)
 
void WriteGaussPoints (GiD_FILE ResultFile)
 
void Reset ()
 

Protected Member Functions

void WriteGaussPoints ()
 

Protected Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ PfemGidGaussPointsContainer() [1/2]

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

Constructor.

◆ PfemGidGaussPointsContainer() [2/2]

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

Constructor.

Member Function Documentation

◆ AddCondition() [1/2]

bool Kratos::PfemGidGaussPointsContainer::AddCondition ( const ModelPart::ConditionsContainerType::iterator  pCondIt)
inline

◆ AddCondition() [2/2]

bool Kratos::PfemGidGaussPointsContainer::AddCondition ( const ModelPart::ConditionsContainerType::iterator  pCondIt)
inline

◆ AddElement() [1/2]

bool Kratos::PfemGidGaussPointsContainer::AddElement ( const ModelPart::ElementsContainerType::iterator  pElemIt)
inline

◆ AddElement() [2/2]

bool Kratos::PfemGidGaussPointsContainer::AddElement ( const ModelPart::ElementsContainerType::iterator  pElemIt)
inline

◆ PrintResults() [1/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
Variable< array_1d< double, 3 > >  rVariable,
ModelPart r_model_part,
double  SolutionTag,
int  value_index = 0 
)
inline

◆ PrintResults() [2/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
Variable< double rVariable,
ModelPart r_model_part,
double  SolutionTag,
unsigned int  value_index = 0 
)
inline

◆ PrintResults() [3/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
Variable< Matrix rVariable,
ModelPart r_model_part,
double  SolutionTag,
unsigned int  value_index = 0 
)
inline

◆ PrintResults() [4/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( GiD_FILE  ResultFile,
Variable< Vector rVariable,
ModelPart r_model_part,
double  SolutionTag,
unsigned int  value_index = 0 
)
inline

◆ PrintResults() [5/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( Variable< double rVariable,
ModelPart r_model_part,
double  SolutionTag,
int  value_index = 0 
)
inline

◆ PrintResults() [6/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( Variable< Matrix rVariable,
ModelPart r_model_part,
double  SolutionTag,
int  value_index = 0 
)
inline

◆ PrintResults() [7/7]

void Kratos::PfemGidGaussPointsContainer::PrintResults ( Variable< Vector rVariable,
ModelPart r_model_part,
double  SolutionTag,
int  value_index = 0 
)
inline

◆ Reset() [1/2]

void Kratos::PfemGidGaussPointsContainer::Reset ( )
inline

◆ Reset() [2/2]

void Kratos::PfemGidGaussPointsContainer::Reset ( )
inline

◆ WriteGaussPoints() [1/2]

void Kratos::PfemGidGaussPointsContainer::WriteGaussPoints ( )
inlineprotected

◆ WriteGaussPoints() [2/2]

void Kratos::PfemGidGaussPointsContainer::WriteGaussPoints ( GiD_FILE  ResultFile)
inline

Member Data Documentation

◆ mGidElementFamily

GiD_ElementType Kratos::PfemGidGaussPointsContainer::mGidElementFamily
protected

◆ mGPTitle [1/2]

char* Kratos::PfemGidGaussPointsContainer::mGPTitle
protected

◆ mGPTitle [2/2]

const char* Kratos::PfemGidGaussPointsContainer::mGPTitle
protected

member variables

◆ mIndexContainer

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

◆ mKratosElementFamily

KratosGeometryFamily Kratos::PfemGidGaussPointsContainer::mKratosElementFamily
protected

member variables

◆ mMeshConditions

ModelPart::ConditionsContainerType Kratos::PfemGidGaussPointsContainer::mMeshConditions
protected

◆ mMeshElements

ModelPart::ElementsContainerType Kratos::PfemGidGaussPointsContainer::mMeshElements
protected

◆ mSize [1/2]

int Kratos::PfemGidGaussPointsContainer::mSize
protected

◆ mSize [2/2]

unsigned int Kratos::PfemGidGaussPointsContainer::mSize
protected

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