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

Class for direction damping of the shape update. More...

#include <direction_damping_utilities.h>

Collaboration diagram for Kratos::DirectionDampingUtilities:

Public Member Functions

Life Cycle
 DirectionDampingUtilities (ModelPart &modelPartToDamp, Parameters DampingSettings)
 Default constructor. More...
 
virtual ~DirectionDampingUtilities ()
 Destructor. More...
 
Operations
void CreateListOfNodesOfModelPart ()
 
void CreateSearchTreeWithAllNodesOfModelPart ()
 
void InitalizeDampingFactorsToHaveNoInfluence ()
 
void SetDampingFactors ()
 
FilterFunction::Pointer CreateDampingFunction (std::string damping_type) const
 
void ThrowWarningIfNodeNeighborsExceedLimit (const ModelPart::NodeType &given_node, const unsigned int number_of_neighbors) const
 
void DampNodalVariable (const Variable< array_3d > &rNodalVariable)
 
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 array_1d< double, 3 > array_3d
 
typedef ModelPart::NodeType NodeType
 
typedef ModelPart::NodeType::Pointer NodeTypePointer
 
typedef std::vector< NodeTypePointerNodeVector
 
typedef std::vector< NodeTypePointer >::iterator NodeVectorIterator
 
typedef std::vector< doubleDoubleVector
 
typedef std::vector< double >::iterator DoubleVectorIterator
 
typedef Bucket< 3, NodeType, NodeVector, NodeTypePointer, NodeVectorIterator, DoubleVectorIteratorBucketType
 
typedef Tree< KDTreePartition< BucketType > > KDTree
 
 KRATOS_CLASS_POINTER_DEFINITION (DirectionDampingUtilities)
 Pointer definition of DirectionDampingUtilities. More...
 

Detailed Description

Class for direction damping of the shape update.

Class for damping a specified direction from the shape update (and according to chain rule of differentiation also from sensitivities.) Can be used to constrain certain nodes of the design surface to slide on a plane.

Member Typedef Documentation

◆ array_3d

◆ BucketType

◆ DoubleVector

◆ DoubleVectorIterator

◆ KDTree

◆ NodeType

◆ NodeTypePointer

typedef ModelPart::NodeType::Pointer Kratos::DirectionDampingUtilities::NodeTypePointer

◆ NodeVector

◆ NodeVectorIterator

Constructor & Destructor Documentation

◆ DirectionDampingUtilities()

Kratos::DirectionDampingUtilities::DirectionDampingUtilities ( ModelPart modelPartToDamp,
Parameters  DampingSettings 
)

Default constructor.

◆ ~DirectionDampingUtilities()

virtual Kratos::DirectionDampingUtilities::~DirectionDampingUtilities ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CreateDampingFunction()

FilterFunction::Pointer Kratos::DirectionDampingUtilities::CreateDampingFunction ( std::string  damping_type) const

◆ CreateListOfNodesOfModelPart()

void Kratos::DirectionDampingUtilities::CreateListOfNodesOfModelPart ( )

◆ CreateSearchTreeWithAllNodesOfModelPart()

void Kratos::DirectionDampingUtilities::CreateSearchTreeWithAllNodesOfModelPart ( )

◆ DampNodalVariable()

void Kratos::DirectionDampingUtilities::DampNodalVariable ( const Variable< array_3d > &  rNodalVariable)

◆ Info()

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

Turn back information as a string.

◆ InitalizeDampingFactorsToHaveNoInfluence()

void Kratos::DirectionDampingUtilities::InitalizeDampingFactorsToHaveNoInfluence ( )

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::DirectionDampingUtilities::KRATOS_CLASS_POINTER_DEFINITION ( DirectionDampingUtilities  )

Pointer definition of DirectionDampingUtilities.

◆ PrintData()

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

Print object's data.

◆ PrintInfo()

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

Print information about this object.

◆ SetDampingFactors()

void Kratos::DirectionDampingUtilities::SetDampingFactors ( )

◆ ThrowWarningIfNodeNeighborsExceedLimit()

void Kratos::DirectionDampingUtilities::ThrowWarningIfNodeNeighborsExceedLimit ( const ModelPart::NodeType given_node,
const unsigned int  number_of_neighbors 
) const

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