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

#include <velocity_bossak_sensitivity_builder_scheme.h>

Inheritance diagram for Kratos::VelocityBossakSensitivityBuilderScheme:
Collaboration diagram for Kratos::VelocityBossakSensitivityBuilderScheme:

Public Member Functions

Life Cycle
 VelocityBossakSensitivityBuilderScheme (const double NewAlphaBossak, const IndexType Dimension, const IndexType BlockSize)
 Constructor. More...
 
 ~VelocityBossakSensitivityBuilderScheme ()=default
 Destructor. More...
 
Operations
void Clear () override
 
void InitializeSolutionStep (ModelPart &rModelPart, ModelPart &rSensitivityModelPart, AdjointResponseFunction &rResponseFunction) override
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
- Public Member Functions inherited from Kratos::SimpleSteadySensitivityBuilderScheme
 SimpleSteadySensitivityBuilderScheme (const IndexType Dimension, const IndexType BlockSize)
 Constructor. More...
 
 ~SimpleSteadySensitivityBuilderScheme ()=default
 Destructor. More...
 
void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given element. More...
 
void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ElementType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given element. More...
 
void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given condition. More...
 
void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ConditionType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given condition. More...
 
void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given element. More...
 
void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ElementType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given element. More...
 
void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given condition. More...
 
void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ConditionType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo) override
 Calculates sensitivity from a given condition. More...
 
void CalculateResidualSensitivityMatrix (ElementType &rElement, Vector &rAdjointValues, Matrix &rOutput, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo)
 
void CalculateResidualSensitivityMatrix (ConditionType &rCondition, Vector &rAdjointValues, Matrix &rOutput, GlobalPointersVector< NodeType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo)
 
 KRATOS_CLASS_POINTER_DEFINITION (SimpleSteadySensitivityBuilderScheme)
 
- Public Member Functions inherited from Kratos::SensitivityBuilderScheme
 SensitivityBuilderScheme ()
 Constructor. More...
 
virtual ~SensitivityBuilderScheme ()=default
 Destructor. More...
 
virtual int Check (const ModelPart &rModelPart, const ModelPart &rSensitivityModelPart) const
 
virtual void Initialize (ModelPart &rModelPart, ModelPart &rSensitivityModelPart, AdjointResponseFunction &rResponseFunction)
 
virtual void FinalizeSolutionStep (ModelPart &rModelPart, ModelPart &rSensitivityModelPart, AdjointResponseFunction &rResponseFunction)
 
virtual void Finalize (ModelPart &rModelPart, ModelPart &rSensitivityModelPart, AdjointResponseFunction &rResponseFunction)
 
virtual void Update (ModelPart &rModelPart, ModelPart &rSensitivityModelPart, AdjointResponseFunction &rResponseFunction)
 
virtual void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ConditionType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo)
 Calculates sensitivity from a given element. More...
 
virtual void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ElementType > &rGPSensitivityVector, const Variable< double > &rVariable, const ProcessInfo &rCurrentProcessInfo)
 Calculates sensitivity from a given condition. More...
 
virtual void CalculateSensitivity (ElementType &rCurrentElement, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ConditionType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo)
 Calculates sensitivity from a given element. More...
 
virtual void CalculateSensitivity (ConditionType &rCurrentCondition, AdjointResponseFunction &rResponseFunction, Vector &rSensitivity, GlobalPointersVector< ElementType > &rGPSensitivityVector, const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rCurrentProcessInfo)
 Calculates sensitivity from a given condition. 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...
 
 KRATOS_CLASS_POINTER_DEFINITION (SensitivityBuilderScheme)
 

Type Definitions

using BaseType = SimpleSteadySensitivityBuilderScheme
 
using NodeType = typename BaseType::NodeType
 
using ConditionType = typename BaseType::ConditionType
 
using ElementType = typename BaseType::ElementType
 
using GeometryType = Geometry< NodeType >
 
using IndexType = std::size_t
 
 KRATOS_CLASS_POINTER_DEFINITION (VelocityBossakSensitivityBuilderScheme)
 

Additional Inherited Members

- Public Types inherited from Kratos::SimpleSteadySensitivityBuilderScheme
using BaseType = SensitivityBuilderScheme
 
using NodeType = BaseType::NodeType
 
using ConditionType = BaseType::ConditionType
 
using ElementType = BaseType::ElementType
 
using IndexType = std::size_t
 
- Public Types inherited from Kratos::SensitivityBuilderScheme
using NodeType = ModelPart::NodeType
 
using ConditionType = ModelPart::ConditionType
 
using ElementType = ModelPart::ElementType
 
Protected Operations
- Protected Attributes inherited from Kratos::SensitivityBuilderScheme
std::vector< MatrixmSensitivityMatrices
 
std::vector< VectormAdjointVectors
 
std::vector< VectormPartialSensitivity
 
std::unordered_map< int, GlobalPointer< ModelPart::NodeType > > mGlobalPointerNodalMap
 
const int mRank
 

Member Typedef Documentation

◆ BaseType

◆ ConditionType

◆ ElementType

◆ GeometryType

◆ IndexType

◆ NodeType

Constructor & Destructor Documentation

◆ VelocityBossakSensitivityBuilderScheme()

Kratos::VelocityBossakSensitivityBuilderScheme::VelocityBossakSensitivityBuilderScheme ( const double  NewAlphaBossak,
const IndexType  Dimension,
const IndexType  BlockSize 
)
inline

Constructor.

◆ ~VelocityBossakSensitivityBuilderScheme()

Kratos::VelocityBossakSensitivityBuilderScheme::~VelocityBossakSensitivityBuilderScheme ( )
default

Destructor.

Member Function Documentation

◆ Clear()

void Kratos::VelocityBossakSensitivityBuilderScheme::Clear ( )
inlineoverridevirtual

◆ Info()

std::string Kratos::VelocityBossakSensitivityBuilderScheme::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::SimpleSteadySensitivityBuilderScheme.

◆ InitializeSolutionStep()

void Kratos::VelocityBossakSensitivityBuilderScheme::InitializeSolutionStep ( ModelPart rModelPart,
ModelPart rSensitivityModelPart,
AdjointResponseFunction rResponseFunction 
)
inlineoverridevirtual

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::VelocityBossakSensitivityBuilderScheme::KRATOS_CLASS_POINTER_DEFINITION ( VelocityBossakSensitivityBuilderScheme  )

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