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

#include <iso_printer.h>

Collaboration diagram for Kratos::IsosurfacePrinterApplication:

Public Types

typedef ModelPart::NodesContainerType NodesArrayType
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 
typedef ModelPart::ConditionsContainerType ConditionsArrayType
 
typedef DenseVector< MatrixMatrix_Order_Tensor
 
typedef DenseVector< VectorVector_Order_Tensor
 
typedef DenseVector< Vector_Order_TensorNode_Vector_Order_Tensor
 
typedef Node PointType
 
typedef Node ::Pointer PointPointerType
 
typedef std::vector< PointType::Pointer > PointVector
 
typedef PointVector::iterator PointIterator
 

Public Member Functions

 IsosurfacePrinterApplication (ModelPart &model_part)
 
 ~IsosurfacePrinterApplication ()
 
void AddSkinConditions ()
 ADDSKINCONDITIONS: THIS FUNCTION ADDS TO THE NEW MODEL PART THE DATA OF THE CONDITIONS BELONGING TO THE MODEL PART. More...
 
void AddScalarVarIsosurface (Variable< double > &variable, double isovalue)
 
void AddScalarVarIsosurfaceAndLower (Variable< double > &variable, double isovalue)
 
void AddScalarVarIsosurfaceAndHigher (Variable< double > &variable, double isovalue)
 
NodesArrayType CreateNodesArray ()
 
void ClearData ()
 

Protected Attributes

DenseVector< boolm_used_nodes
 
ModelPartmr_model_part
 

Detailed Description

This Function is designed to make an array of nodes that define the elements which are cut by an isosurface this way we can later print only the results in these nodes.

Member Typedef Documentation

◆ ConditionsArrayType

◆ ElementsArrayType

◆ Matrix_Order_Tensor

◆ Node_Vector_Order_Tensor

◆ NodesArrayType

◆ PointIterator

◆ PointPointerType

◆ PointType

◆ PointVector

typedef std::vector<PointType::Pointer> Kratos::IsosurfacePrinterApplication::PointVector

◆ Vector_Order_Tensor

Constructor & Destructor Documentation

◆ IsosurfacePrinterApplication()

Kratos::IsosurfacePrinterApplication::IsosurfacePrinterApplication ( ModelPart model_part)
inline

constructor:

Parameters
ModelPart&the model part

◆ ~IsosurfacePrinterApplication()

Kratos::IsosurfacePrinterApplication::~IsosurfacePrinterApplication ( )
inline

Member Function Documentation

◆ AddScalarVarIsosurface()

void Kratos::IsosurfacePrinterApplication::AddScalarVarIsosurface ( Variable< double > &  variable,
double  isovalue 
)
inline

◆ AddScalarVarIsosurfaceAndHigher()

void Kratos::IsosurfacePrinterApplication::AddScalarVarIsosurfaceAndHigher ( Variable< double > &  variable,
double  isovalue 
)
inline

◆ AddScalarVarIsosurfaceAndLower()

void Kratos::IsosurfacePrinterApplication::AddScalarVarIsosurfaceAndLower ( Variable< double > &  variable,
double  isovalue 
)
inline

◆ AddSkinConditions()

void Kratos::IsosurfacePrinterApplication::AddSkinConditions ( )
inline

ADDSKINCONDITIONS: THIS FUNCTION ADDS TO THE NEW MODEL PART THE DATA OF THE CONDITIONS BELONGING TO THE MODEL PART.

this function adds the skin condtion. WARNING: They have to be triangles and it CAN'T be empty, otherwise a segmentation fault will appear


◆ ClearData()

void Kratos::IsosurfacePrinterApplication::ClearData ( )
inline

◆ CreateNodesArray()

NodesArrayType Kratos::IsosurfacePrinterApplication::CreateNodesArray ( )
inline


Member Data Documentation

◆ m_used_nodes

DenseVector<bool> Kratos::IsosurfacePrinterApplication::m_used_nodes
protected

◆ mr_model_part

ModelPart& Kratos::IsosurfacePrinterApplication::mr_model_part
protected

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