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

Short class definition. More...

#include <laplacian_smoothing.hpp>

Collaboration diagram for Kratos::LaplacianSmoothing:

Public Member Functions

Life Cycle
 LaplacianSmoothing (ModelPart &rModelPart)
 Default constructor. More...
 
virtual ~LaplacianSmoothing ()
 Destructor. More...
 
Operations
void ApplyMeshSmoothing (ModelPart &rModelPart, std::vector< int > &PreservedElements, const int *pElementsList, const int &NumberOfPoints)
 
void ProjectVariablesToNewPositions (ModelPart &rModelPart)
 
void SetBoundarySmoothing (ModelPart &rModelPart, std::vector< int > &PreservedElements, const int *pElementsList, const int &NumberOfPoints)
 
virtual void SetEchoLevel (int Level)
 
int GetEchoLevel ()
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef ModelPart::PropertiesType PropertiesType
 
typedef ModelPart::MeshType MeshType
 
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::NodesContainerType NodesContainerType
 
typedef ModelPart::MeshType::GeometryType::PointsArrayType PointsArrayType
 
 KRATOS_CLASS_POINTER_DEFINITION (LaplacianSmoothing)
 Pointer definition of data transfer. More...
 

Detailed Description

Short class definition.

Applies a recollocation of the nodes improving the mesh shape variables are interpolated to the new positions

Member Typedef Documentation

◆ ElementsContainerType

◆ MeshType

◆ NodesContainerType

◆ PointsArrayType

typedef ModelPart::MeshType::GeometryType::PointsArrayType Kratos::LaplacianSmoothing::PointsArrayType

◆ PropertiesType

Constructor & Destructor Documentation

◆ LaplacianSmoothing()

Kratos::LaplacianSmoothing::LaplacianSmoothing ( ModelPart rModelPart)
inline

Default constructor.

◆ ~LaplacianSmoothing()

virtual Kratos::LaplacianSmoothing::~LaplacianSmoothing ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ ApplyMeshSmoothing()

void Kratos::LaplacianSmoothing::ApplyMeshSmoothing ( ModelPart rModelPart,
std::vector< int > &  PreservedElements,
const int pElementsList,
const int NumberOfPoints 
)
inline

◆ GetEchoLevel()

int Kratos::LaplacianSmoothing::GetEchoLevel ( )
inline

◆ Info()

virtual std::string Kratos::LaplacianSmoothing::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::LaplacianSmoothing::KRATOS_CLASS_POINTER_DEFINITION ( LaplacianSmoothing  )

Pointer definition of data transfer.

◆ PrintData()

virtual void Kratos::LaplacianSmoothing::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::LaplacianSmoothing::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ ProjectVariablesToNewPositions()

void Kratos::LaplacianSmoothing::ProjectVariablesToNewPositions ( ModelPart rModelPart)
inline

◆ SetBoundarySmoothing()

void Kratos::LaplacianSmoothing::SetBoundarySmoothing ( ModelPart rModelPart,
std::vector< int > &  PreservedElements,
const int pElementsList,
const int NumberOfPoints 
)
inline

◆ SetEchoLevel()

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

level of echo for the mesh smoothing


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