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.
|
Basic element for the ajdoint diffusion problem. More...
#include <adjoint_diffusion_element.h>
Public Member Functions | |
Life Cycle | |
AdjointDiffusionElement (IndexType NewId, typename GeometryType::Pointer pGeometry) | |
AdjointDiffusionElement (IndexType NewId, typename GeometryType::Pointer pGeometry, Properties::Pointer pProperties) | |
~AdjointDiffusionElement () override | |
Destructor. More... | |
Operations | |
Element::Pointer | Create (IndexType NewId, NodesArrayType const &ThisNodes, Properties::Pointer pProperties) const override |
Element::Pointer | Create (IndexType NewId, typename GeometryType::Pointer pGeom, Properties::Pointer pProperties) const override |
void | CalculateLocalSystem (MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override |
void | CalculateRightHandSide (VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override |
void | GetValuesVector (Vector &rValues, int Step) const override |
void | EquationIdVector (EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override |
void | GetDofList (DofsVectorType &rElementalDofList, const ProcessInfo &rCurrentProcessInfo) const override |
void | CalculateSensitivityMatrix (const Variable< array_1d< double, 3 >> &rDesignVariable, Matrix &rOutput, const ProcessInfo &rCurrentProcessInfo) override |
Inquiry | |
int | Check (const ProcessInfo &rCurrentProcessInfo) const override |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
Type Definitions | |
using | IndexType = typename PrimalElement::IndexType |
using | GeometryType = typename PrimalElement::GeometryType |
using | NodesArrayType = typename PrimalElement::NodesArrayType |
using | MatrixType = typename PrimalElement::MatrixType |
using | VectorType = typename PrimalElement::VectorType |
using | EquationIdVectorType = typename PrimalElement::EquationIdVectorType |
using | DofsVectorType = typename PrimalElement::DofsVectorType |
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION (AdjointDiffusionElement) | |
Counted pointer of AdjointDiffusionElement. More... | |
Serialization | |
class | Serializer |
Basic element for the ajdoint diffusion problem.
The element supports arbitrary variables in the primal problem by defining CONVECTION_DIFFUSION_SETTINGS in the ProcessInfo. Note that the adjoint variable is hard-coded to ADJOINT_HEAT_TRANSFER for now.
using Kratos::AdjointDiffusionElement< PrimalElement >::DofsVectorType = typename PrimalElement::DofsVectorType |
using Kratos::AdjointDiffusionElement< PrimalElement >::EquationIdVectorType = typename PrimalElement::EquationIdVectorType |
using Kratos::AdjointDiffusionElement< PrimalElement >::GeometryType = typename PrimalElement::GeometryType |
using Kratos::AdjointDiffusionElement< PrimalElement >::IndexType = typename PrimalElement::IndexType |
using Kratos::AdjointDiffusionElement< PrimalElement >::MatrixType = typename PrimalElement::MatrixType |
using Kratos::AdjointDiffusionElement< PrimalElement >::NodesArrayType = typename PrimalElement::NodesArrayType |
using Kratos::AdjointDiffusionElement< PrimalElement >::VectorType = typename PrimalElement::VectorType |
Kratos::AdjointDiffusionElement< PrimalElement >::AdjointDiffusionElement | ( | IndexType | NewId, |
typename GeometryType::Pointer | pGeometry | ||
) |
Kratos::AdjointDiffusionElement< PrimalElement >::AdjointDiffusionElement | ( | IndexType | NewId, |
typename GeometryType::Pointer | pGeometry, | ||
Properties::Pointer | pProperties | ||
) |
|
override |
Destructor.
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
Turn back information as a string.
Kratos::AdjointDiffusionElement< PrimalElement >::KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION | ( | AdjointDiffusionElement< PrimalElement > | ) |
Counted pointer of AdjointDiffusionElement.
|
override |
Print information about this object.
|
friend |