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.
|
Class for direction damping of the shape update. More...
#include <direction_damping_utilities.h>
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< NodeTypePointer > | NodeVector |
typedef std::vector< NodeTypePointer >::iterator | NodeVectorIterator |
typedef std::vector< double > | DoubleVector |
typedef std::vector< double >::iterator | DoubleVectorIterator |
typedef Bucket< 3, NodeType, NodeVector, NodeTypePointer, NodeVectorIterator, DoubleVectorIterator > | BucketType |
typedef Tree< KDTreePartition< BucketType > > | KDTree |
KRATOS_CLASS_POINTER_DEFINITION (DirectionDampingUtilities) | |
Pointer definition of DirectionDampingUtilities. More... | |
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.
typedef Bucket< 3, NodeType, NodeVector, NodeTypePointer, NodeVectorIterator, DoubleVectorIterator > Kratos::DirectionDampingUtilities::BucketType |
typedef std::vector<double> Kratos::DirectionDampingUtilities::DoubleVector |
typedef std::vector<double>::iterator Kratos::DirectionDampingUtilities::DoubleVectorIterator |
typedef ModelPart::NodeType::Pointer Kratos::DirectionDampingUtilities::NodeTypePointer |
typedef std::vector<NodeTypePointer> Kratos::DirectionDampingUtilities::NodeVector |
typedef std::vector<NodeTypePointer>::iterator Kratos::DirectionDampingUtilities::NodeVectorIterator |
Kratos::DirectionDampingUtilities::DirectionDampingUtilities | ( | ModelPart & | modelPartToDamp, |
Parameters | DampingSettings | ||
) |
Default constructor.
|
inlinevirtual |
Destructor.
FilterFunction::Pointer Kratos::DirectionDampingUtilities::CreateDampingFunction | ( | std::string | damping_type | ) | const |
void Kratos::DirectionDampingUtilities::CreateListOfNodesOfModelPart | ( | ) |
void Kratos::DirectionDampingUtilities::CreateSearchTreeWithAllNodesOfModelPart | ( | ) |
void Kratos::DirectionDampingUtilities::DampNodalVariable | ( | const Variable< array_3d > & | rNodalVariable | ) |
|
inlinevirtual |
Turn back information as a string.
void Kratos::DirectionDampingUtilities::InitalizeDampingFactorsToHaveNoInfluence | ( | ) |
Kratos::DirectionDampingUtilities::KRATOS_CLASS_POINTER_DEFINITION | ( | DirectionDampingUtilities | ) |
Pointer definition of DirectionDampingUtilities.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
void Kratos::DirectionDampingUtilities::SetDampingFactors | ( | ) |
void Kratos::DirectionDampingUtilities::ThrowWarningIfNodeNeighborsExceedLimit | ( | const ModelPart::NodeType & | given_node, |
const unsigned int | number_of_neighbors | ||
) | const |