66 Sensitivity(iPoint,iDim) = val;
73 return Sensitivity(iPoint,iDim);
82 DualTime_Derivative(iPoint,iVar) = der;
89 DualTime_Derivative_n(iPoint,iVar) = der;
97 return DualTime_Derivative(iPoint,iVar);
104 return DualTime_Derivative_n(iPoint,iVar);
111 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
112 Solution_Direct(iPoint,iVar) = val_solution_direct[iVar];
119 return Solution_Direct[iPoint];
Declaration and inlines of the parent class for defining problem variables, function definitions in f...
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Main class for defining the variables of the adjoint solver.
Definition CDiscAdjVariable.hpp:38
void AllocateAdjointSolutionExtra(unsigned long nVarExtra)
Allocate extra adjoint variables.
Definition CDiscAdjVariable.cpp:53
su2double GetDual_Time_Derivative(unsigned long iPoint, unsigned long iVar) const
Return the dual time contributions to the adjoint variable. Contains sum of contributions from 2 time...
Definition CDiscAdjVariable.hpp:96
su2double GetDual_Time_Derivative_n(unsigned long iPoint, unsigned long iVar) const
Return the dual time contributions to the adjoint variable for upcoming timestep.
Definition CDiscAdjVariable.hpp:103
void SetSolution_Direct(unsigned long iPoint, const su2double *val_solution_direct) final
Set/store the primal solution for all variables of one point.
Definition CDiscAdjVariable.hpp:110
void SetDual_Time_Derivative_n(unsigned long iPoint, unsigned long iVar, su2double der)
Set/store the dual time contributions to the adjoint variable for upcoming timestep.
Definition CDiscAdjVariable.hpp:88
const MatrixType & GetSensitivity() const final
Definition CDiscAdjVariable.hpp:75
void Set_External_To_DualTimeDer() final
Set Dual-time derivative contributions to the external.
Definition CDiscAdjVariable.cpp:48
void SetSensitivity(unsigned long iPoint, unsigned long iDim, su2double val) final
Set the sensitivity at the node.
Definition CDiscAdjVariable.hpp:65
su2double GetSensitivity(unsigned long iPoint, unsigned long iDim) const final
Get the Sensitivity at the node.
Definition CDiscAdjVariable.hpp:72
void SetDual_Time_Derivative(unsigned long iPoint, unsigned long iVar, su2double der)
Set/store the dual time contributions to the adjoint variable. Contains sum of contributions from 2 t...
Definition CDiscAdjVariable.hpp:81
su2double * GetSolution_Direct(unsigned long iPoint) final
Returns the primal solution for all variables of one point.
Definition CDiscAdjVariable.hpp:118
Main class for defining the variables.
Definition CVariable.hpp:50
unsigned long nVar
Number of variables of the problem.
Definition CVariable.hpp:108
passivedouble su2double
Definition code_config.hpp:181