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

Short class definition. More...

#include <mesh_error_calculation_utilities.hpp>

Collaboration diagram for Kratos::MeshErrorCalculationUtilities:

Public Types

Type Definitions
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::NodesContainerType NodesContainerType
 
typedef ModelPart::MeshType::GeometryType::PointsArrayType PointsArrayType
 
typedef GlobalPointersVector< NodeNodeWeakPtrVectorType
 
typedef GlobalPointersVector< ElementElementWeakPtrVectorType
 
typedef GlobalPointersVector< ConditionConditionWeakPtrVectorType
 

Public Member Functions

Life Cycle
 MeshErrorCalculationUtilities ()
 Default constructor. More...
 
 ~MeshErrorCalculationUtilities ()
 Destructor. More...
 
Operations
void NodalErrorCalculation (ModelPart &rModelPart, std::vector< double > &rNodalError, std::vector< int > &rIds, const Variable< double > &rVariable)
 
void ElementalErrorCalculation (ModelPart &rModelPart, std::vector< double > &rElementalError, std::vector< int > &rIds, const Variable< double > &rVariable)
 
virtual void SetEchoLevel (int Level)
 
int GetEchoLevel ()
 

Detailed Description

Short class definition.

Computes mesh error for a given variable. Setting the error to elements or nodes for 2D and 3D

Member Typedef Documentation

◆ ConditionWeakPtrVectorType

◆ ElementsContainerType

◆ ElementWeakPtrVectorType

◆ NodesContainerType

◆ NodeWeakPtrVectorType

◆ PointsArrayType

typedef ModelPart::MeshType::GeometryType::PointsArrayType Kratos::MeshErrorCalculationUtilities::PointsArrayType

Constructor & Destructor Documentation

◆ MeshErrorCalculationUtilities()

Kratos::MeshErrorCalculationUtilities::MeshErrorCalculationUtilities ( )
inline

Default constructor.

◆ ~MeshErrorCalculationUtilities()

Kratos::MeshErrorCalculationUtilities::~MeshErrorCalculationUtilities ( )
inline

Destructor.

Member Function Documentation

◆ ElementalErrorCalculation()

void Kratos::MeshErrorCalculationUtilities::ElementalErrorCalculation ( ModelPart rModelPart,
std::vector< double > &  rElementalError,
std::vector< int > &  rIds,
const Variable< double > &  rVariable 
)
inline

◆ GetEchoLevel()

int Kratos::MeshErrorCalculationUtilities::GetEchoLevel ( )
inline

◆ NodalErrorCalculation()

void Kratos::MeshErrorCalculationUtilities::NodalErrorCalculation ( ModelPart rModelPart,
std::vector< double > &  rNodalError,
std::vector< int > &  rIds,
const Variable< double > &  rVariable 
)
inline

◆ SetEchoLevel()

virtual void Kratos::MeshErrorCalculationUtilities::SetEchoLevel ( int  Level)
inlinevirtual

level of echo for the error calculation


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