31#include "../../../Common/include/containers/CVertexMap.hpp"
60 unsigned long nvar,
CConfig *config);
80 FlowTraction_Sens(iPoint,iDim) = val;
90 return FlowTraction_Sens(iPoint,iDim);
100 SourceTerm_DispAdjoint(iPoint,iDim) = val;
104 SourceTerm_VelAdjoint(iPoint,iDim) = val;
114 return SourceTerm_DispAdjoint(iPoint,iDim);
118 return SourceTerm_VelAdjoint(iPoint,iDim);
131 inline void Set_isVertex(
unsigned long iPoint,
bool isVertex)
override {
Main class for defining the variables of the adjoint solver.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Main class for defining the variables on the FEA boundaries for adjoint applications.
Definition CDiscAdjFEABoundVariable.hpp:40
void SetSourceTerm_DispAdjoint(unsigned long iPoint, unsigned long iDim, su2double val) override
Set the source term applied into the displacement adjoint coming from external solvers.
Definition CDiscAdjFEABoundVariable.hpp:98
void Set_isVertex(unsigned long iPoint, bool isVertex) override
Set whether a node is on the boundary.
Definition CDiscAdjFEABoundVariable.hpp:131
su2double GetFlowTractionSensitivity(unsigned long iPoint, unsigned long iDim) const override
Get the FSI force sensitivity at the node.
Definition CDiscAdjFEABoundVariable.hpp:88
su2double GetSourceTerm_VelAdjoint(unsigned long iPoint, unsigned long iDim) const override
Definition CDiscAdjFEABoundVariable.hpp:116
su2double GetSourceTerm_DispAdjoint(unsigned long iPoint, unsigned long iDim) const override
Get the source term applied into the displacement adjoint coming from external solvers.
Definition CDiscAdjFEABoundVariable.hpp:112
void SetSourceTerm_VelAdjoint(unsigned long iPoint, unsigned long iDim, su2double val) override
Definition CDiscAdjFEABoundVariable.hpp:102
~CDiscAdjFEABoundVariable() override=default
Destructor of the class.
void AllocateBoundaryVariables(CConfig *config)
Allocate member variables for points marked as vertex (via "Set_isVertex").
Definition CDiscAdjFEABoundVariable.cpp:37
void SetFlowTractionSensitivity(unsigned long iPoint, unsigned long iDim, su2double val) override
Set the FSI force sensitivity at the node.
Definition CDiscAdjFEABoundVariable.hpp:78
bool Get_isVertex(unsigned long iPoint) const override
Get whether a node is on the boundary.
Definition CDiscAdjFEABoundVariable.hpp:124
Main class for defining the variables of the adjoint solver.
Definition CDiscAdjVariable.hpp:38
A lookup type map, maps indices in a large range to indices in a smaller one.
Definition CVertexMap.hpp:53
bool GetIsVertex(unsigned long iPoint) const
Get wheter a point is marked as vertex.
Definition CVertexMap.hpp:97
bool SetIsVertex(unsigned long iPoint, bool isVertex)
Set the vertex status of a point.
Definition CVertexMap.hpp:85
bool GetVertexIndex(unsigned long &iVertex) const
Convert a point index to vertex index.
Definition CVertexMap.hpp:121
passivedouble su2double
Definition code_config.hpp:181