Documentation 6b54b78464
Loading...
Searching...
No Matches
CVariable Class Reference

Main class for defining the variables. More...

#include <CVariable.hpp>

Inheritance diagram for CVariable:
[legend]

Public Member Functions

 CVariable (const CVariable &)=delete
 
 CVariable (CVariable &&)=delete
 
CVariable & operator= (const CVariable &)=delete
 
CVariable & operator= (CVariable &&)=delete
 
 CVariable (unsigned long npoint, unsigned long nvar, const CConfig *config)
 
 CVariable (unsigned long npoint, unsigned long ndim, unsigned long nvar, const CConfig *config, bool adjoint=false)
 
virtual ~CVariable ()=default
 Destructor of the class.
 
unsigned long GetnAuxVar () const
 Get the number of auxiliary variables.
 
void SetSolution (unsigned long iPoint, const su2double *solution)
 Set the value of the solution, all variables.
 
void SetSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Set the value of the solution, one variable.
 
void Add_DeltaSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Add the value of the solution vector to the previous solution (incremental approach).
 
void SetNon_Physical (unsigned long iPoint, bool val_value)
 Set the value of the non-physical point.
 
bool GetNon_Physical (unsigned long iPoint)
 Get the value of the non-physical boolean at a point.
 
su2double GetSolution (unsigned long iPoint, unsigned long iVar) const
 Get the solution.
 
su2double GetSolution_Old (unsigned long iPoint, unsigned long iVar) const
 Get the old solution of the problem (Runge-Kutta method)
 
void SetSolution_Old (unsigned long iPoint, const su2double *solution_old)
 Set the value of the old solution.
 
void SetSolution_Old (unsigned long iPoint, unsigned long iVar, su2double solution_old)
 
void Set_OldSolution ()
 Set old variables to the value of the current variables.
 
void Set_Solution ()
 Set variables to the value of the old variables.
 
void Set_Solution_time_n ()
 Set the variable solution at time n.
 
void Set_Solution_time_n1 ()
 Set the variable solution at time n-1.
 
void Set_Solution_time_n (unsigned long iPoint, const su2double *val_sol)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (unsigned long iPoint, const su2double *val_sol)
 Set the variable solution at time n-1.
 
void Set_Solution_time_n (unsigned long iPoint, unsigned long iVar, su2double val_sol)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (unsigned long iPoint, unsigned long iVar, su2double val_sol)
 Set the variable solution at time n-1.
 
virtual void SetVelSolutionVector (unsigned long iPoint, const su2double *val_vector)
 Virtual Member. Specify a vector to set the velocity components of the solution. Multiplied by density for compressible cases.
 
void AddSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Add a value to the solution.
 
void AddSolution (unsigned long iPoint, const su2double *solution)
 Add a value to the solution.
 
virtual su2double GetSolution_New (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual su2double GetRoe_Dissipation (unsigned long iPoint) const
 A virtual member.
 
virtual void SetRoe_Dissipation (unsigned long iPoint, su2double val_dissipation)
 A virtual member.
 
virtual void SetRoe_Dissipation_FD (unsigned long iPoint, su2double val_wall_dist)
 A virtual member.
 
virtual void SetRoe_Dissipation_NTS (unsigned long iPoint, su2double val_delta, su2double val_const_DES)
 A virtual member.
 
virtual su2double GetDES_LengthScale (unsigned long iPoint) const
 A virtual member.
 
virtual void SetDES_LengthScale (unsigned long iPoint, su2double val_des_lengthscale)
 A virtual member.
 
virtual su2double GetLES_Mode (unsigned long iPoint) const
 A virtual member.
 
virtual void SetLES_Mode (unsigned long iPoint, su2double val_les_mode)
 A virtual member.
 
virtual su2double GetLangevinSourceTerms (unsigned long iPoint, unsigned short iDim) const
 A virtual member.
 
virtual void SetLangevinSourceTerms (unsigned long iPoint, unsigned short iDim, su2double val_stochSource)
 A virtual member.
 
virtual void SetBesselIntegral (unsigned long iPoint, su2double val_integral)
 A virtual member.
 
virtual su2double GetBesselIntegral (unsigned long iPoint) const
 A virtual member.
 
virtual void SetSolution_New ()
 A virtual member.
 
void SetExternalZero ()
 Set external contributions to zero.
 
virtual void Set_External_To_DualTimeDer ()
 Set Dual-time derivative contributions to the external.
 
virtual void AddSolution_New (unsigned long iPoint, unsigned long iVar, su2double solution)
 A virtual member.
 
void Add_External (unsigned long iPoint, const su2double *val_sol)
 Add a value to the External vector.
 
void Set_ExternalExtra_To_SolutionExtra ()
 Store the adjoint solution of the extra adjoint into the external container.
 
void Add_ExternalExtra_To_SolutionExtra ()
 Add the external contribution to the solution for the extra adjoint solutions.
 
VectorType & GetSolutionExtra ()
 Return the extra adjoint solution.
 
const VectorType & GetSolutionExtra () const
 
void AddClippedSolution (unsigned long iPoint, unsigned long iVar, su2double solution, su2double lowerlimit, su2double upperlimit, su2double Sol2Conservative=1.0, su2double Sol2Conservative_old=1.0)
 Update the variables using a conservative format.
 
const MatrixType & GetSolution () const
 Get the entire solution of the problem.
 
MatrixType & GetSolution ()
 
su2double * GetSolution (unsigned long iPoint)
 Get the solution of the problem.
 
const MatrixType & GetUserDefinedSource () const
 Get the entire User Define Source of the problem.
 
MatrixType & GetUserDefinedSource ()
 
su2double * GetSolution_Old (unsigned long iPoint)
 Get the old solution of the problem (Runge-Kutta method)
 
const su2double * Get_External (unsigned long iPoint) const
 Get the external contributions of the problem.
 
const MatrixType & Get_External () const
 
su2double * GetSolution_time_n (unsigned long iPoint)
 Get the solution at time n.
 
MatrixType & GetSolution_time_n ()
 
su2double * GetSolution_time_n1 (unsigned long iPoint)
 Get the solution at time n-1.
 
MatrixType & GetSolution_time_n1 ()
 
void SetResidual_Old (unsigned long iPoint, const su2double *val_residual_old)
 Set the value of the old residual.
 
void AddResidual_Sum (unsigned long iPoint, const su2double *val_residual)
 Add a value to the summed residual vector.
 
void SetResidualSumZero (unsigned long iPoint)
 Set summed residual vector to zero value.
 
su2double * GetResidual_Sum (unsigned long iPoint)
 Get the value of the summed residual.
 
su2double * GetResidual_Old (unsigned long iPoint)
 Get the value of the old residual.
 
void GetResidual_Sum (unsigned long iPoint, su2double *val_residual) const
 Get the value of the summed residual.
 
void SetUnderRelaxation (unsigned long iPoint, su2double val_under_relaxation)
 Set the value of the under-relaxation parameter for the current control volume (CV).
 
su2double GetUnderRelaxation (unsigned long iPoint) const
 Get the value of the under-relaxation parameter for the current control volume (CV).
 
void SetLocalCFL (unsigned long iPoint, su2double val_cfl)
 Set the value of the local CFL number for the current control volume (CV).
 
su2double GetLocalCFL (unsigned long iPoint) const
 Get the value of the local CFL number for the current control volume (CV).
 
const MatrixType & GetAuxVar (void) const
 Get the entire Aux matrix of the problem.
 
su2double GetAuxVar (unsigned long iPoint, unsigned long iVar=0) const
 Get the Aux var value at Point i, variable j.
 
void SetAuxVar (unsigned long iPoint, unsigned long iVar, const su2double auxvar)
 Set auxiliary variables.
 
void SetAuxVarGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim, su2double value)
 Set value of auxillary gradients.
 
CVectorOfMatrix & GetAuxVarGradient (void)
 Get the gradient of the auxilary variables.
 
const CVectorOfMatrix & GetAuxVarGradient (void) const
 
su2double GetAuxVarGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 Get the value of the auxilliary gradient.
 
CMatrixView< su2double > GetAuxVarGradient (unsigned long iPoint)
 Get the value of the auxilliary gradient.
 
void AddRes_TruncError (unsigned long iPoint, const su2double *val_truncation_error)
 Add a value to the truncation error.
 
void SubtractRes_TruncError (unsigned long iPoint, const su2double *val_truncation_error)
 Subtract a value to the truncation error.
 
void SetRes_TruncErrorZero (unsigned long iPoint)
 Set the truncation error to zero.
 
void SetVal_ResTruncError_Zero (unsigned long iPoint, unsigned long iVar)
 Set the truncation error to zero.
 
virtual void SetVel_ResTruncError_Zero (unsigned long iPoint)
 Set the momentum part of the truncation error to zero.
 
void SetEnergy_ResTruncError_Zero (unsigned long iPoint)
 Set the velocity of the truncation error to zero.
 
su2double * GetResTruncError (unsigned long iPoint)
 Get the truncation error.
 
void GetResTruncError (unsigned long iPoint, su2double *val_trunc_error) const
 Get the truncation error.
 
void SetResTruncError (unsigned long iPoint, su2double *val_trunc_error)
 Set the truncation error.
 
void SetGradient (unsigned long iPoint, su2double **gradient)
 Set the gradient of the solution.
 
CVectorOfMatrix & GetGradient (void)
 Get the gradient of the entire solution.
 
const CVectorOfMatrix & GetGradient (void) const
 
CMatrixView< su2double > GetGradient (unsigned long iPoint)
 Get the value of the solution gradient.
 
su2double GetGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 Get the value of the solution gradient.
 
void AddRmatrix (unsigned long iPoint, unsigned long iDim, unsigned long jDim, su2double value)
 Add value to the Rmatrix for least squares gradient calculations.
 
su2double GetRmatrix (unsigned long iPoint, unsigned long iDim, unsigned long jDim) const
 Get the value of the Rmatrix entry for least squares gradient calculations.
 
C3DDoubleMatrix & GetRmatrix (void)
 Get the value Rmatrix for the entire domain.
 
MatrixType & GetLimiter (void)
 Get the slope limiter.
 
const MatrixType & GetLimiter (void) const
 
su2double * GetLimiter (unsigned long iPoint)
 Get the value of the slope limiter.
 
su2double GetLimiter (unsigned long iPoint, unsigned long iVar) const
 Get the value of the slope limiter.
 
MatrixType & GetSolution_Max ()
 Get the min solution.
 
const MatrixType & GetSolution_Max () const
 
MatrixType & GetSolution_Min ()
 Get the min solution.
 
const MatrixType & GetSolution_Min () const
 
void SetDelta_Time (unsigned long iPoint, su2double val_delta_time)
 Set the value of the time step.
 
su2double GetDelta_Time (unsigned long iPoint) const
 Get the value of the time step.
 
void SetMax_Lambda_Inv (unsigned long iPoint, su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the inviscid terms of the PDE.
 
void SetMax_Lambda_Visc (unsigned long iPoint, su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the viscous terms of the PDE.
 
void AddMax_Lambda_Inv (unsigned long iPoint, su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the inviscid terms of the PDE.
 
void AddMax_Lambda_Visc (unsigned long iPoint, su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the viscous terms of the PDE.
 
su2double GetMax_Lambda_Inv (unsigned long iPoint) const
 Get the value of the maximum eigenvalue for the inviscid terms of the PDE.
 
su2double GetMax_Lambda_Visc (unsigned long iPoint) const
 Get the value of the maximum eigenvalue for the viscous terms of the PDE.
 
void SetLambda (unsigned long iPoint, su2double val_lambda)
 Set the value of the spectral radius.
 
void AddLambda (unsigned long iPoint, su2double val_lambda)
 Add the value of the spectral radius.
 
su2double GetLambda (unsigned long iPoint) const
 Get the value of the spectral radius.
 
const VectorType & GetLambda () const
 
void SetSensor (unsigned long iPoint, su2double val_sensor)
 Set pressure sensor.
 
su2double GetSensor (unsigned long iPoint) const
 Get the pressure sensor.
 
const VectorType & GetSensor () const
 
void AddUnd_Lapl (unsigned long iPoint, unsigned long iVar, su2double val_und_lapl)
 Increment the value of the undivided laplacian of the solution.
 
void SetUnd_Lapl (unsigned long iPoint, unsigned long iVar, su2double val_und_lapl)
 Set a value to the undivided laplacian.
 
su2double * GetUndivided_Laplacian (unsigned long iPoint)
 Get the undivided laplacian of the solution.
 
su2double GetUndivided_Laplacian (unsigned long iPoint, unsigned long iVar) const
 Get the undivided laplacian of the solution.
 
const MatrixType & GetUndivided_Laplacian () const
 
virtual su2double GetDensity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetDensity (unsigned long iPoint, unsigned long val_iSpecies) const
 A virtual member.
 
virtual su2double GetMassFraction (unsigned long iPoint, unsigned long val_Species) const
 A virtual member.
 
virtual su2double * GetEnthalpys (unsigned long iPoint)
 Get the species enthalpy.
 
virtual su2double GetEnergy (unsigned long iPoint) const
 A virtual member.
 
virtual su2double * GetForceProj_Vector (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetObjFuncSource (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetEddyViscosity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetEnthalpy (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetPressure (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetProjVel (unsigned long iPoint, const su2double *val_vector) const
 A virtual member.
 
virtual su2double GetSoundSpeed (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetBetaInc2 (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetTemperature (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetTemperature_ve (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetRhoCv_tr (unsigned long iPoint) const
 A virtual member – Get the mixture specific heat at constant volume (trans.-rot.).
 
virtual su2double GetRhoCv_ve (unsigned long iPoint) const
 A virtual member – Get the mixture specific heat at constant volume (vib.-el.).
 
virtual su2double GetVelocity (unsigned long iPoint, unsigned long iDim) const
 A virtual member.
 
virtual CMatrixView< const su2double > GetVelocityGradient (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetVelocity2 (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetLaminarViscosity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double * GetDiffusionCoeff (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetThermalConductivity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetDiffusivity (unsigned long iPoint, unsigned short val_ivar) const
 A virtual member.
 
virtual su2double GetSpecificHeatCp (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetSpecificHeatCv (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetThermalConductivity_ve (unsigned long iPoint) const
 A virtual member.
 
virtual void SetGammaSep (unsigned long iPoint, su2double gamma_sep)
 A virtual member.
 
virtual void SetGammaEff (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetVorticity (unsigned long iPoint)
 A virtual member.
 
virtual const su2double * GetVorticity (unsigned long iPoint) const
 
virtual su2double GetStrainMag (unsigned long iPoint) const
 A virtual member.
 
virtual void SetForceProj_Vector (unsigned long iPoint, const su2double *val_ForceProj_Vector)
 A virtual member.
 
virtual void SetObjFuncSource (unsigned long iPoint, const su2double *val_SetObjFuncSource)
 A virtual member.
 
virtual su2double GetGammaBC (unsigned long iPoint) const
 A virtual member.
 
virtual void SetGammaBC (unsigned long iPoint, su2double val_gamma)
 A virtual member.
 
virtual void SetEddyViscosity (unsigned long iPoint, su2double eddy_visc)
 A virtual member.
 
virtual void SetEnthalpy (unsigned long iPoint)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CNEMOGas *fluidmodel)
 A virtual member.
 
virtual void SetSecondaryVar (unsigned long iPoint, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double SharpEdge_Distance, bool check, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double eddy_visc, su2double turb_ke, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double Density_Inf, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double Density_Inf, su2double Viscosity_Inf, su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual const MatrixType & GetPrimitive () const
 Get the primitive variables for all points.
 
virtual su2double GetPrimitive (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, unsigned long iVar, su2double val_prim)
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, const su2double *val_prim)
 A virtual member.
 
virtual su2double * GetPrimitive (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetSecondary (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetSecondary (unsigned long iPoint, unsigned long iVar, su2double val_secondary)
 A virtual member.
 
virtual void SetSecondary (unsigned long iPoint, const su2double *val_secondary)
 A virtual member.
 
virtual void SetdPdrho_e (unsigned long iPoint, su2double dPdrho_e)
 A virtual member.
 
virtual void SetdPde_rho (unsigned long iPoint, su2double dPde_rho)
 A virtual member.
 
virtual void SetdTdrho_e (unsigned long iPoint, su2double dTdrho_e)
 A virtual member.
 
virtual void SetdTde_rho (unsigned long iPoint, su2double dTde_rho)
 A virtual member.
 
virtual void Setdmudrho_T (unsigned long iPoint, su2double dmudrho_T)
 A virtual member.
 
virtual void SetdmudT_rho (unsigned long iPoint, su2double dmudT_rho)
 A virtual member.
 
virtual void Setdktdrho_T (unsigned long iPoint, su2double dktdrho_T)
 A virtual member.
 
virtual void SetdktdT_rho (unsigned long iPoint, su2double dktdT_rho)
 A virtual member.
 
virtual su2double * GetSecondary (unsigned long iPoint)
 A virtual member.
 
virtual bool SetDensity (unsigned long iPoint, su2double val_density)
 A virtual member.
 
virtual bool SetDensity (unsigned long iPoint)
 A virtual member.
 
virtual void SetPressure (unsigned long iPoint)
 A virtual member.
 
virtual void SetVelocity (unsigned long iPoint)
 A virtual member.
 
virtual void SetBetaInc2 (unsigned long iPoint, su2double val_betainc2)
 A virtual member.
 
virtual void SetPhi_Old (unsigned long iPoint, const su2double *val_phi)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, su2double Gamma)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, su2double Gamma, su2double turb_ke)
 A virtual member.
 
virtual su2double * GetdPdU (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetdTdU (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetdTvedU (unsigned long iPoint)
 A virtual member.
 
virtual bool SetSoundSpeed (unsigned long iPoint, su2double soundspeed2)
 A virtual member.
 
virtual bool SetTemperature (unsigned long iPoint, su2double Gas_Constant)
 A virtual member.
 
virtual bool SetTemperature_ve (unsigned long iPoint, su2double val_Tve)
 Sets the vibrational electronic temperature of the flow.
 
virtual bool SetTemperature (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetThermalCoeff (unsigned long iPoint, CConfig *config)
 Set the thermal coefficient.
 
virtual void SetStress_FEM (unsigned long iPoint, unsigned long iVar, su2double val_stress)
 A virtual member.
 
virtual void AddStress_FEM (unsigned long iPoint, unsigned long iVar, su2double val_stress)
 A virtual member.
 
virtual const su2double * GetStress_FEM (unsigned long iPoint) const
 A virtual member.
 
virtual void SetVonMises_Stress (unsigned long iPoint, su2double val_stress)
 A virtual member.
 
virtual su2double GetVonMises_Stress (unsigned long iPoint) const
 A virtual member.
 
virtual void Add_SurfaceLoad_Res (unsigned long iPoint, const su2double *val_surfForce)
 A virtual member.
 
virtual su2double Get_SurfaceLoad_Res (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void Clear_SurfaceLoad_Res ()
 A virtual member.
 
virtual void Set_SurfaceLoad_Res_n ()
 A virtual member.
 
virtual su2double Get_SurfaceLoad_Res_n (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void Add_BodyForces_Res (unsigned long iPoint, const su2double *val_bodyForce)
 A virtual member.
 
virtual su2double Get_BodyForces_Res (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void Clear_BodyForces_Res (unsigned long iPoint)
 A virtual member.
 
virtual void Set_FlowTraction (unsigned long iPoint, const su2double *val_flowTraction)
 A virtual member.
 
virtual void Add_FlowTraction (unsigned long iPoint, const su2double *val_flowTraction)
 A virtual member.
 
virtual su2double Get_FlowTraction (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void Set_FlowTraction_n ()
 A virtual member.
 
virtual su2double Get_FlowTraction_n (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void Set_isVertex (unsigned long iPoint, bool isVertex)
 A virtual member.
 
virtual bool Get_isVertex (unsigned long iPoint) const
 A virtual member.
 
virtual void SetVelocity2 (unsigned long iPoint)
 A virtual member.
 
virtual void SetVelocity_Old (unsigned long iPoint, const su2double *val_velocity)
 A virtual member.
 
virtual void SetLaminarViscosity (unsigned long iPoint, su2double laminarViscosity)
 A virtual member.
 
virtual void SetLaminarViscosity (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetThermalConductivity (unsigned long iPoint, su2double thermalConductivity)
 A virtual member.
 
virtual void SetThermalConductivity (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetSpecificHeatCp (unsigned long iPoint, su2double Cp)
 A virtual member.
 
virtual void SetSpecificHeatCv (unsigned long iPoint, su2double Cv)
 A virtual member.
 
virtual void SetVelSolutionDVector (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetGradient_Primitive (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 A virtual member.
 
virtual CVectorOfMatrix & GetGradient_Primitive ()
 Get the primitive variable gradients for all points.
 
virtual const CVectorOfMatrix & GetGradient_Primitive () const
 
virtual MatrixType & GetLimiter_Primitive ()
 Get the primitive variables limiter.
 
virtual const MatrixType & GetLimiter_Primitive () const
 
virtual su2double GetLimiter_Primitive (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual CMatrixView< su2double > GetGradient_Primitive (unsigned long iPoint, unsigned long iVar=0)
 A virtual member.
 
virtual su2double * GetLimiter_Primitive (unsigned long iPoint)
 A virtual member.
 
virtual CMatrixView< su2double > GetGradient_Reconstruction (unsigned long iPoint)
 Get the value of the primitive gradient for MUSCL reconstruction.
 
virtual CVectorOfMatrix & GetGradient_Reconstruction ()
 Get the reconstruction gradient for primitive variable at all points.
 
virtual const CVectorOfMatrix & GetGradient_Reconstruction () const
 
virtual void SetBlendingFunc (unsigned long iPoint, su2double val_viscosity, su2double val_dist, su2double val_density, TURB_TRANS_MODEL trans_model)
 Set the blending function for the blending of k-w and k-eps.
 
virtual su2double GetF1blending (unsigned long iPoint) const
 Get the first blending function of the SST model.
 
virtual su2double GetF2blending (unsigned long iPoint) const
 Get the second blending function of the SST model.
 
virtual su2double GetCrossDiff (unsigned long iPoint) const
 Get the value of the cross diffusion of tke and omega.
 
virtual su2double GetmuT (unsigned long iPoint) const
 Get the value of the eddy viscosity.
 
virtual su2double GetIntermittency (unsigned long iPoint) const
 Get the value of the intermittency.
 
virtual void SetIntermittency (unsigned long iPoint, su2double val_Intermittency)
 Set the intermittency.
 
virtual su2double GetIntermittencySep (unsigned long iPoint) const
 Get the value of the separation intermittency.
 
virtual void SetIntermittencySep (unsigned long iPoint, su2double val_Intermittency_sep)
 Set the separation intermittency (gamma_sep).
 
virtual su2double GetIntermittencyEff (unsigned long iPoint) const
 Get the value of the effective intermittency.
 
virtual void SetIntermittencyEff (unsigned long iPoint, su2double val_Intermittency_eff)
 Set the effective intermittency (gamma_eff).
 
virtual void SetmuT (unsigned long iPoint, su2double val_muT)
 Set the value of the eddy viscosity.
 
virtual void SetTurbIndex (unsigned long iPoint, su2double val_turb_index)
 Set the value of the turbulence index.
 
virtual su2double GetTurbIndex (unsigned long iPoint) const
 Get the value of the turbulence index.
 
virtual void SetHarmonicBalance_Source (unsigned long iPoint, unsigned long iVar, su2double val_source)
 A virtual member.
 
virtual su2double GetHarmonicBalance_Source (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetEddyViscSens (unsigned long iPoint, const su2double *val_EddyViscSens, unsigned long numTotalVar)
 Set the Eddy Viscosity Sensitivity of the problem.
 
virtual su2double * GetEddyViscSens (unsigned long iPoint)
 Get the Eddy Viscosity Sensitivity of the problem.
 
virtual void SetSolution_Direct (unsigned long iPoint, const su2double *solution_direct)
 A virtual member. Set the direct solution for the adjoint solver.
 
virtual su2double * GetSolution_Direct (unsigned long iPoint)
 A virtual member. Get the direct solution for the adjoint solver.
 
virtual void SetGeometry_Direct (unsigned long iPoint, const su2double *val_coordinate_direct)
 A virtual member. Set the restart geometry (coordinate of the converged solution)
 
virtual su2double * GetGeometry_Direct (unsigned long iPoint)
 A virtual member. Get the restart geometry (coordinate of the converged solution).
 
virtual su2double GetGeometry_Direct (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the restart geometry (coordinate of the converged solution).
 
virtual su2double GetSolution_Geometry (unsigned long iPoint, unsigned long iVar) const
 A virtual member. Get the geometry solution.
 
virtual void SetSolution_Geometry (unsigned long iPoint, const su2double *solution_geometry)
 A virtual member. Set the value of the mesh solution (adjoint).
 
virtual void SetSolution_Geometry (unsigned long iPoint, unsigned long iVar, su2double solution_geometry)
 A virtual member. Set the value of the mesh solution (adjoint).
 
virtual void Set_OldSolution_Geometry ()
 A virtual member. Set the value of the old geometry solution (adjoint).
 
virtual su2double Get_OldSolution_Geometry (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the old geometry solution (adjoint).
 
virtual su2double Get_BGSSolution (unsigned long iPoint, unsigned long iVar) const
 Get BGS solution to compute the BGS residual (difference between BGS and BGS_k).
 
virtual void Set_BGSSolution_k ()
 Set the value of the solution in the previous BGS subiteration.
 
virtual void Restore_BGSSolution_k ()
 Restore the previous BGS subiteration to solution.
 
virtual void Set_BGSSolution_k (unsigned long iPoint, unsigned long iVar, su2double val_var)
 Set the value of the solution in the previous BGS subiteration.
 
virtual su2double Get_BGSSolution_k (unsigned long iPoint, unsigned long iVar) const
 Get the value of the solution in the previous BGS subiteration.
 
virtual void SetSolution_Vel (unsigned long iPoint, const su2double *solution)
 Set the value of the velocity (Structural Analysis).
 
virtual void SetSolution_Vel (unsigned long iPoint, unsigned long iVar, su2double solution_vel)
 
virtual void SetSolution_Vel_time_n (unsigned long iPoint, const su2double *solution_vel_time_n)
 Set the value of the velocity (Structural Analysis) at time n.
 
virtual void SetSolution_Vel_time_n (unsigned long iPoint, unsigned long iVar, su2double solution_vel_time_n)
 
su2double GetSolution_time_n (unsigned long iPoint, unsigned long iVar) const
 Get the solution at time n.
 
su2double GetSolution_time_n1 (unsigned long iPoint, unsigned long iVar) const
 Get the solution at time n-1.
 
virtual su2double GetSolution_Vel (unsigned long iPoint, unsigned long iVar) const
 Get the velocity (Structural Analysis).
 
virtual su2double * GetSolution_Vel (unsigned long iPoint)
 Get the velocity (Structural Analysis).
 
virtual su2double GetSolution_Vel_time_n (unsigned long iPoint, unsigned long iVar) const
 Get the velocity of the nodes (Structural Analysis) at time n.
 
virtual su2double * GetSolution_Vel_time_n (unsigned long iPoint)
 Get the velocity of the nodes (Structural Analysis) at time n.
 
virtual void SetSolution_Accel (unsigned long iPoint, const su2double *solution_accel)
 Set the value of the acceleration (Structural Analysis).
 
virtual void SetSolution_Accel (unsigned long iPoint, unsigned long iVar, su2double solution_accel)
 
virtual void SetSolution_Accel_time_n (unsigned long iPoint, const su2double *solution_accel_time_n)
 Set the value of the acceleration (Structural Analysis) at time n.
 
virtual void SetSolution_Accel_time_n (unsigned long iPoint, unsigned long iVar, su2double solution_accel_time_n)
 
virtual su2double GetSolution_Accel (unsigned long iPoint, unsigned long iVar) const
 Get the acceleration (Structural Analysis).
 
virtual su2double * GetSolution_Accel (unsigned long iPoint)
 Get the solution of the problem.
 
virtual su2double GetSolution_Accel_time_n (unsigned long iPoint, unsigned long iVar) const
 Get the acceleration of the nodes (Structural Analysis) at time n.
 
virtual su2double * GetSolution_Accel_time_n (unsigned long iPoint)
 Get the solution at time n.
 
virtual void SetSolution_Vel_Pred (unsigned long iPoint, const su2double *val_solution_pred)
 A virtual member. Set the value of the velocity solution predictor.
 
virtual void SetSolution_Pred (unsigned long iPoint, const su2double *solution_pred)
 A virtual member. Set the value of the old solution.
 
virtual const su2double * GetSolution_Vel_Pred (unsigned long iPoint) const
 A virtual member. Get the velocity solution predictor.
 
virtual const su2double * GetSolution_Pred (unsigned long iPoint) const
 A virtual member. Get the solution at time n.
 
virtual void SetSolution_Pred_Old (unsigned long iPoint, const su2double *solution_pred_Old)
 A virtual member. Set the value of the old solution.
 
virtual const su2double * GetSolution_Pred_Old (unsigned long iPoint) const
 A virtual member. Get the solution at time n.
 
virtual void SetReference_Geometry (unsigned long iPoint, unsigned long iVar, su2double ref_geometry)
 A virtual member.
 
virtual const su2double * GetReference_Geometry (unsigned long iPoint) const
 A virtual member.
 
virtual void SetPrestretch (unsigned long iPoint, unsigned long iVar, su2double val_prestretch)
 A virtual member.
 
virtual const su2double * GetPrestretch (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetPrestretch (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual su2double GetMesh_Coord (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the undeformed coordinates.
 
virtual const su2double * GetMesh_Coord (unsigned long iPoint) const
 A virtual member. Get the undeformed coordinates.
 
virtual const MatrixType * GetMesh_Coord () const
 A virtual member. Get the undeformed coordinates for the entire domain.
 
virtual void SetMesh_Coord (unsigned long iPoint, unsigned long iDim, su2double val_coord)
 A virtual member. Set the value of the undeformed coordinates.
 
virtual su2double GetWallDistance (unsigned long iPoint) const
 A virtual member. Get the value of the wall distance in reference coordinates.
 
virtual void SetWallDistance (unsigned long iPoint, su2double val_dist)
 A virtual member. Set the value of the wall distance in reference coordinates.
 
virtual void Register_MeshCoord ()
 A virtual member. Register the reference coordinates of the mesh.
 
virtual void GetAdjoint_MeshCoord (unsigned long iPoint, su2double *adj_mesh)
 A virtual member. Recover the value of the adjoint of the mesh coordinates.
 
virtual su2double GetBound_Disp (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the displacement imposed at the boundary.
 
virtual su2double GetBound_Vel (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the velocity imposed at the boundary.
 
virtual void SetBound_Disp (unsigned long iPoint, const su2double *val_BoundDisp)
 A virtual member. Set the boundary displacement.
 
virtual void SetBound_Vel (unsigned long iPoint, const su2double *val_BoundVel)
 A virtual member. Set the boundary velocity.
 
virtual void SetBound_Disp (unsigned long iPoint, unsigned long iDim, const su2double val_BoundDisp)
 A virtual member. Set the boundary displacement.
 
virtual void SetBound_Vel (unsigned long iPoint, unsigned long iDim, const su2double val_BoundVel)
 A virtual member. Set the boundary velocity.
 
virtual const su2double * GetBoundDisp_Direct (unsigned long iPoint) const
 A virtual member. Get the value of the displacement imposed at the boundary.
 
virtual void SetBoundDisp_Direct (unsigned long iPoint, const su2double *val_BoundDisp)
 A virtual member. Set the solution for the boundary displacements.
 
virtual void SetBoundDisp_Sens (unsigned long iPoint, const su2double *val_sens)
 Set the value of the sensitivity with respect to the undeformed coordinates.
 
virtual su2double GetBoundDisp_Sens (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the sensitivity with respect to the undeformed coordinates.
 
virtual void Register_BoundDisp ()
 A virtual member. Register the boundary displacements of the mesh.
 
virtual void GetAdjoint_BoundDisp (unsigned long iPoint, su2double *adj_disp) const
 A virtual member. Recover the value of the adjoint of the boundary displacements.
 
virtual void RegisterFlowTraction (bool reset)
 A virtual member.
 
virtual su2double ExtractFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim) const
 A virtual member.
 
void RegisterSolution (bool input)
 Register the variables in the solution array as input/output variable.
 
void RegisterSolution_time_n ()
 Register the variables in the solution_time_n array as input/output variable.
 
void RegisterSolution_time_n1 ()
 Register the variables in the solution_time_n1 array as input/output variable.
 
void RegisterUserDefinedSource ()
 Register the variables in the user defined source array as input/output variable.
 
void SetAdjointSolution (unsigned long iPoint, const su2double *adj_sol)
 Set the adjoint values of the solution.
 
void GetAdjointSolution (unsigned long iPoint, su2double *adj_sol) const
 Get the adjoint values of the solution.
 
void GetAdjointSolution_time_n (unsigned long iPoint, su2double *adj_sol) const
 
void GetAdjointSolution_time_n1 (unsigned long iPoint, su2double *adj_sol) const
 
virtual void SetSensitivity (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the sensitivity at the node.
 
virtual su2double GetSensitivity (unsigned long iPoint, unsigned long iDim) const
 Get the Sensitivity at the node.
 
virtual const MatrixType & GetSensitivity () const
 
virtual void SetTau_Wall (unsigned long iPoint, su2double tau_wall)
 
virtual su2double GetTau_Wall (unsigned long iPoint) const
 
virtual void SetVortex_Tilting (unsigned long iPoint, CMatrixView< const su2double > PrimGrad_Flow, const su2double *Vorticity, su2double LaminarViscosity)
 
virtual su2double GetVortex_Tilting (unsigned long iPoint) const
 
virtual void SetStreamwise_Periodic_RecoveredPressure (unsigned long iPoint, su2double val_pressure)
 A virtual member: Set the recovered pressure for streamwise periodic flow.
 
virtual su2double GetStreamwise_Periodic_RecoveredPressure (unsigned long iPoint) const
 A virtual member: Get the recovered pressure for streamwise periodic flow.
 
virtual void SetStreamwise_Periodic_RecoveredTemperature (unsigned long iPoint, su2double val_temperature)
 A virtual member: Set the recovered temperature for streamwise periodic flow.
 
virtual su2double GetStreamwise_Periodic_RecoveredTemperature (unsigned long iPoint) const
 A virtual member: Get the recovered temperature for streamwise periodic flow.
 
virtual const su2double * GetRadiative_SourceTerm (unsigned long iPoint) const
 Virtual member: Set the Radiative source term at the node.
 
virtual void SetRadiative_SourceTerm (unsigned long iPoint, unsigned long iVar, su2double val_RadSourceTerm)
 Virtual member: Set the Radiative source term at the node.
 
virtual bool GetVol_HeatSource (unsigned long iPoint) const
 Get whether a volumetric heat source is to be introduced in point iPoint.
 
virtual void SetFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the FSI force sensitivity at the node.
 
virtual su2double GetFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim) const
 Get the FSI force sensitivity at the node.
 
virtual void SetSourceTerm_DispAdjoint (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the source term applied into the displacement adjoint coming from external solvers.
 
virtual void SetSourceTerm_VelAdjoint (unsigned long iPoint, unsigned long iDim, su2double val)
 
virtual su2double GetSourceTerm_DispAdjoint (unsigned long iPoint, unsigned long iDim) const
 Get the source term applied into the displacement adjoint coming from external solvers.
 
virtual su2double GetSourceTerm_VelAdjoint (unsigned long iPoint, unsigned long iDim) const
 
virtual void SetEntropy (unsigned long iPoint, su2double entropy)
 Set fluid entropy.
 
virtual su2double GetEntropy (unsigned long iPoint) const
 Get fluid entropy.
 
virtual void SetDataExtrapolation (unsigned long iPoint, unsigned short extrapolation)
 Set dataset extrapolation instance.
 
virtual unsigned short GetDataExtrapolation (unsigned long iPoint) const
 Get dataset extrapolation instance.
 
virtual void SetNewtonSolverIterations (unsigned long iPoint, unsigned long nIter)
 Set the number of iterations required by a Newton solver used by the fluid model.
 
virtual unsigned long GetNewtonSolverIterations (unsigned long iPoint) const
 Get the number of iterations required by a Newton solver used by the fluid model.
 
virtual void SetLookupScalar (unsigned long iPoint, su2double val_lookup_scalar, unsigned short val_ivar)
 LUT premixed flamelet: virtual functions for the speciesflameletvariable LUT.
 
virtual void SetScalarSource (unsigned long iPoint, unsigned short val_ivar, su2double val_source)
 
virtual void SetTableMisses (unsigned long iPoint, unsigned short misses)
 
virtual unsigned short GetTableMisses (unsigned long iPoint) const
 
virtual const su2double * GetScalarSources (unsigned long iPoint) const
 
virtual const su2double * GetScalarLookups (unsigned long iPoint) const
 
virtual su2double GetMomCoeff (unsigned long iPoint)
 
virtual void SetMomCoeff (unsigned long iPoint, su2double val_Mom_Coeff)
 
virtual bool GetStrongBC (unsigned long iPoint) const
 Get whether a strong boundary condition was applied to the point, which for the pressure-based solver means its momentum row was deleted and carries no A_p.
 
virtual su2double GetMomentumCorrection (unsigned long iPoint, unsigned short iDim)
 
virtual void SetMomentumCorrection (unsigned long iPoint, unsigned short iDim, su2double val_mom)
 
virtual su2double GetHbyACorrection (unsigned long iPoint, unsigned short iDim)
 
virtual void SetHbyACorrection (unsigned long iPoint, unsigned short iDim, su2double val_HbyAcorrection)
 

Protected Types

using VectorType = C2DContainer< unsigned long, su2double, StorageType::ColumnMajor, 64, DynamicSize, 1 >
 
using MatrixType = C2DContainer< unsigned long, su2double, StorageType::RowMajor, 64, DynamicSize, DynamicSize >
 

Protected Member Functions

 CVariable ()=default
 
void RegisterContainer (bool input, su2activematrix &variable, su2matrix< AD::Identifier > *ad_index=nullptr)
 
void RegisterContainer (bool input, su2activematrix &variable, su2matrix< AD::Identifier > &ad_index)
 
void RegisterContainer (bool input, su2activevector &variable, su2vector< AD::Identifier > *ad_index=nullptr)
 

Static Protected Member Functions

static void AssertOverride ()
 

Protected Attributes

MatrixType Solution
 Solution of the problem.
 
MatrixType Solution_Old
 Old solution of the problem R-K.
 
MatrixType UserDefinedSource
 User Defined Source of the problem.
 
MatrixType External
 External (outer) contribution in discrete adjoint multizone problems.
 
su2vector< bool > Non_Physical
 Non-physical points in the solution (force first order).
 
su2vector< unsigned short > Non_Physical_Counter
 Number of consecutive iterations that a point has been treated first-order. After a specified number of successful reconstructions, the point can be returned to second-order.
 
VectorType UnderRelaxation
 Value of the under-relaxation parameter local to the control volume.
 
VectorType LocalCFL
 Value of the CFL number local to the control volume.
 
MatrixType Solution_time_n
 Solution of the problem at time n for dual-time stepping technique.
 
MatrixType Solution_time_n1
 Solution of the problem at time n-1 for dual-time stepping technique.
 
VectorType Delta_Time
 Time step.
 
CVectorOfMatrix Gradient
 Gradient of the solution of the problem.
 
C3DDoubleMatrix Rmatrix
 Geometry-based matrix for weighted least squares gradient calculations.
 
MatrixType Limiter
 Limiter of the solution of the problem.
 
MatrixType Solution_Max
 Max solution for limiter computation.
 
MatrixType Solution_Min
 Min solution for limiter computation.
 
MatrixType AuxVar
 Auxiliary variable for gradient computation.
 
CVectorOfMatrix Grad_AuxVar
 Gradient of the auxiliary variables of the problem.
 
VectorType Max_Lambda_Inv
 Maximun inviscid eingenvalue.
 
VectorType Max_Lambda_Visc
 Maximun viscous eingenvalue.
 
VectorType Lambda
 Value of the eingenvalue.
 
VectorType Sensor
 Pressure sensor for high order central scheme and Roe dissipation.
 
MatrixType Undivided_Laplacian
 Undivided laplacian of the solution.
 
MatrixType Res_TruncError
 Truncation error for multigrid cycle.
 
MatrixType Residual_Old
 Auxiliary structure for residual smoothing.
 
MatrixType Residual_Sum
 Auxiliary structure for residual smoothing.
 
MatrixType Solution_BGS_k
 Old solution container for BGS iterations.
 
su2matrix< AD::Identifier > AD_InputIndex
 Indices of Solution variables in the adjoint vector before solver iteration.
 
su2matrix< AD::Identifier > AD_OutputIndex
 Indices of Solution variables in the adjoint vector after solver iteration.
 
VectorType SolutionExtra
 Stores adjoint solution for extra solution variables. Currently only streamwise periodic pressure-drop for massflow prescribed flows.
 
VectorType ExternalExtra
 External storage for the adjoint value (i.e. for the OF mainly.
 
VectorType SolutionExtra_BGS_k
 Intermediate storage, enables cross term extraction as that is also pushed to Solution.
 
unsigned long nPoint = 0
 Number of points in the domain.
 
unsigned long nDim = 0
 Number of dimension of the problem.
 
unsigned long nVar = 0
 Number of variables of the problem.
 
unsigned long nPrimVar = 0
 Number of primitive variables.
 
unsigned long nPrimVarGrad = 0
 Number of primitives for which a gradient is computed.
 
unsigned long nSecondaryVar = 0
 Number of secondary variables.
 
unsigned long nAuxVar = 0
 Number of auxiliary variables.
 

Static Protected Attributes

static const VectorType EmptyVector {}
 

Detailed Description

Main class for defining the variables.

Author
F. Palacios

Member Typedef Documentation

◆ MatrixType

◆ VectorType

Constructor & Destructor Documentation

◆ CVariable() [1/5]

CVariable::CVariable ( )
protecteddefault

◆ CVariable() [2/5]

CVariable::CVariable ( const CVariable &  )
delete

◆ CVariable() [3/5]

CVariable::CVariable ( CVariable &&  )
delete

◆ CVariable() [4/5]

CVariable::CVariable ( unsigned long  npoint,
unsigned long  nvar,
const CConfig *  config 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]npoint- Number of points/nodes/vertices in the domain.
[in]nvar- Number of variables of the problem.
[in]config- Definition of the particular problem.

◆ CVariable() [5/5]

CVariable::CVariable ( unsigned long  npoint,
unsigned long  ndim,
unsigned long  nvar,
const CConfig *  config,
bool  adjoint = false 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]npoint- Number of points/nodes/vertices in the domain.
[in]ndim- Number of dimensions of the problem.
[in]nvar- Number of variables of the problem.
[in]config- Definition of the particular problem.
[in]adjoint- True if derived class is an adjoint variable.

◆ ~CVariable()

virtual CVariable::~CVariable ( )
virtualdefault

Destructor of the class.

Member Function Documentation

◆ Add_BodyForces_Res()

virtual void CVariable::Add_BodyForces_Res ( unsigned long  iPoint,
const su2double *  val_bodyForce 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ Add_DeltaSolution()

void CVariable::Add_DeltaSolution ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution 
)
inline

Add the value of the solution vector to the previous solution (incremental approach).

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]solution- Value of the solution for the index iVar.

◆ Add_External()

void CVariable::Add_External ( unsigned long  iPoint,
const su2double *  val_sol 
)
inline

Add a value to the External vector.

Parameters
[in]iPoint- Point index.
[in]val_sol- vector that has to be added component-wise

◆ Add_ExternalExtra_To_SolutionExtra()

void CVariable::Add_ExternalExtra_To_SolutionExtra ( )
inline

Add the external contribution to the solution for the extra adjoint solutions.

◆ Add_FlowTraction()

virtual void CVariable::Add_FlowTraction ( unsigned long  iPoint,
const su2double *  val_flowTraction 
)
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Add_SurfaceLoad_Res()

virtual void CVariable::Add_SurfaceLoad_Res ( unsigned long  iPoint,
const su2double *  val_surfForce 
)
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ AddClippedSolution()

void CVariable::AddClippedSolution ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution,
su2double  lowerlimit,
su2double  upperlimit,
su2double  Sol2Conservative = 1.0,
su2double  Sol2Conservative_old = 1.0 
)
inline

Update the variables using a conservative format.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]solution- Value of the solution change.
[in]lowerlimit- Lower value for Solution clipping.
[in]upperlimit- Upper value for Solution clipping.
[in]Sol2Conservative- Factor multiplied to Solution to get transported variable.
[in]Sol2Conservative_old- Factor multiplied to Solution to get transported variable, of the previous Iteration.

◆ AddLambda()

void CVariable::AddLambda ( unsigned long  iPoint,
su2double  val_lambda 
)
inline

Add the value of the spectral radius.

Parameters
[in]iPoint- Point index.
[in]val_lambda- Value of the spectral radius.

◆ AddMax_Lambda_Inv()

void CVariable::AddMax_Lambda_Inv ( unsigned long  iPoint,
su2double  val_max_lambda 
)
inline

Add a value to the maximum eigenvalue for the inviscid terms of the PDE.

Parameters
[in]iPoint- Point index.
[in]val_max_lambda- Value of the maximum eigenvalue for the inviscid terms of the PDE.

◆ AddMax_Lambda_Visc()

void CVariable::AddMax_Lambda_Visc ( unsigned long  iPoint,
su2double  val_max_lambda 
)
inline

Add a value to the maximum eigenvalue for the viscous terms of the PDE.

Parameters
[in]iPoint- Point index.
[in]val_max_lambda- Value of the maximum eigenvalue for the viscous terms of the PDE.

◆ AddRes_TruncError()

void CVariable::AddRes_TruncError ( unsigned long  iPoint,
const su2double *  val_truncation_error 
)
inline

Add a value to the truncation error.

Parameters
[in]iPoint- Point index.
[in]val_truncation_error- Value that we want to add to the truncation error.

◆ AddResidual_Sum()

void CVariable::AddResidual_Sum ( unsigned long  iPoint,
const su2double *  val_residual 
)
inline

Add a value to the summed residual vector.

Parameters
[in]iPoint- Point index.
[in]val_residual- Pointer to the residual vector.

◆ AddRmatrix()

void CVariable::AddRmatrix ( unsigned long  iPoint,
unsigned long  iDim,
unsigned long  jDim,
su2double  value 
)
inline

Add value to the Rmatrix for least squares gradient calculations.

Parameters
[in]iPoint- Point index.
[in]iDim- Index of the dimension.
[in]jDim- Index of the dimension.
[in]value- Value of the Rmatrix entry.

◆ AddSolution() [1/2]

void CVariable::AddSolution ( unsigned long  iPoint,
const su2double *  solution 
)
inline

Add a value to the solution.

Parameters
[in]iPoint- Point index.
[in]solution- Value that we want to add to the solution.

◆ AddSolution() [2/2]

void CVariable::AddSolution ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution 
)
inline

Add a value to the solution.

Parameters
[in]iPoint- Point index.
[in]iVar- Number of the variable.
[in]solution- Value that we want to add to the solution.

◆ AddSolution_New()

virtual void CVariable::AddSolution_New ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]iVar- Number of the variable.
[in]solution- Value that we want to add to the solution.

Reimplemented in CFlowVariable.

◆ AddStress_FEM()

virtual void CVariable::AddStress_FEM ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_stress 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ AddUnd_Lapl()

void CVariable::AddUnd_Lapl ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_und_lapl 
)
inline

Increment the value of the undivided laplacian of the solution.

Parameters
[in]iPoint- Point index.
[in]iVar- Variable of the undivided laplacian.
[in]val_und_lapl- Value of the undivided solution.

◆ AssertOverride()

static void CVariable::AssertOverride ( )
inlinestaticprotected

◆ Clear_BodyForces_Res()

virtual void CVariable::Clear_BodyForces_Res ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ Clear_SurfaceLoad_Res()

virtual void CVariable::Clear_SurfaceLoad_Res ( )
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ ExtractFlowTractionSensitivity()

virtual su2double CVariable::ExtractFlowTractionSensitivity ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Get_BGSSolution()

virtual su2double CVariable::Get_BGSSolution ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get BGS solution to compute the BGS residual (difference between BGS and BGS_k).

Note
This is virtual because for some classes the result of a BGS iteration is not "Solution". If this method is overriden, the BGSSolution_k ones proabably have to be too.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ Get_BGSSolution_k()

virtual su2double CVariable::Get_BGSSolution_k ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get the value of the solution in the previous BGS subiteration.

Parameters
[out]val_solution- solution in the previous BGS subiteration.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ Get_BodyForces_Res()

virtual su2double CVariable::Get_BodyForces_Res ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ Get_External() [1/2]

const MatrixType & CVariable::Get_External ( ) const
inline

◆ Get_External() [2/2]

const su2double * CVariable::Get_External ( unsigned long  iPoint) const
inline

Get the external contributions of the problem.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the External row for iPoint.

◆ Get_FlowTraction()

virtual su2double CVariable::Get_FlowTraction ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Get_FlowTraction_n()

virtual su2double CVariable::Get_FlowTraction_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Get_isVertex()

virtual bool CVariable::Get_isVertex ( unsigned long  iPoint) const
inlinevirtual

◆ Get_OldSolution_Geometry()

virtual su2double CVariable::Get_OldSolution_Geometry ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the value of the old geometry solution (adjoint).

Parameters
[out]solution- old adjoint solution for coordinate iDim

◆ Get_SurfaceLoad_Res()

virtual su2double CVariable::Get_SurfaceLoad_Res ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Get_SurfaceLoad_Res_n()

virtual su2double CVariable::Get_SurfaceLoad_Res_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ GetAdjoint_BoundDisp()

virtual void CVariable::GetAdjoint_BoundDisp ( unsigned long  iPoint,
su2double *  adj_disp 
) const
inlinevirtual

A virtual member. Recover the value of the adjoint of the boundary displacements.

Reimplemented in CMeshBoundVariable.

◆ GetAdjoint_MeshCoord()

virtual void CVariable::GetAdjoint_MeshCoord ( unsigned long  iPoint,
su2double *  adj_mesh 
)
inlinevirtual

A virtual member. Recover the value of the adjoint of the mesh coordinates.

Reimplemented in CMeshVariable.

◆ GetAdjointSolution()

void CVariable::GetAdjointSolution ( unsigned long  iPoint,
su2double *  adj_sol 
) const
inline

Get the adjoint values of the solution.

Parameters
[in]adj_sol- The adjoint values of the solution.

◆ GetAdjointSolution_time_n()

void CVariable::GetAdjointSolution_time_n ( unsigned long  iPoint,
su2double *  adj_sol 
) const
inline

◆ GetAdjointSolution_time_n1()

void CVariable::GetAdjointSolution_time_n1 ( unsigned long  iPoint,
su2double *  adj_sol 
) const
inline

◆ GetAuxVar() [1/2]

su2double CVariable::GetAuxVar ( unsigned long  iPoint,
unsigned long  iVar = 0 
) const
inline

Get the Aux var value at Point i, variable j.

◆ GetAuxVar() [2/2]

const MatrixType & CVariable::GetAuxVar ( void  ) const
inline

Get the entire Aux matrix of the problem.

Returns
Reference to the aux var matrix.

◆ GetAuxVarGradient() [1/4]

CMatrixView< su2double > CVariable::GetAuxVarGradient ( unsigned long  iPoint)
inline

Get the value of the auxilliary gradient.

Parameters
[in]iPoint- Point index.
Returns
Value of the solution gradient.

◆ GetAuxVarGradient() [2/4]

su2double CVariable::GetAuxVarGradient ( unsigned long  iPoint,
unsigned long  iVar,
unsigned long  iDim 
) const
inline

Get the value of the auxilliary gradient.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]iDim- Index of the dimension.
Returns
Value of the solution gradient.

◆ GetAuxVarGradient() [3/4]

CVectorOfMatrix & CVariable::GetAuxVarGradient ( void  )
inline

Get the gradient of the auxilary variables.

Returns
Reference to gradient.

◆ GetAuxVarGradient() [4/4]

const CVectorOfMatrix & CVariable::GetAuxVarGradient ( void  ) const
inline

◆ GetBesselIntegral()

virtual su2double CVariable::GetBesselIntegral ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Reimplemented in CTurbSAVariable.

◆ GetBetaInc2()

virtual su2double CVariable::GetBetaInc2 ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the beta for the incompressible flow.

Reimplemented in CIncEulerVariable.

◆ GetBound_Disp()

virtual su2double CVariable::GetBound_Disp ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the value of the displacement imposed at the boundary.

Returns
Value of the boundary displacement.

Reimplemented in CMeshBoundVariable.

◆ GetBound_Vel()

virtual su2double CVariable::GetBound_Vel ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the value of the velocity imposed at the boundary.

Returns
Value of the boundary velocity.

Reimplemented in CMeshBoundVariable.

◆ GetBoundDisp_Direct()

virtual const su2double * CVariable::GetBoundDisp_Direct ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the value of the displacement imposed at the boundary.

Returns
Value of the boundary displacement.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ GetBoundDisp_Sens()

virtual su2double CVariable::GetBoundDisp_Sens ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the value of the sensitivity with respect to the undeformed coordinates.

Parameters
[in]iDim- Index of Mesh_Coord_Sens[nDim]
Returns
Value of the original Mesh_Coord_Sens iDim.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ GetCrossDiff()

virtual su2double CVariable::GetCrossDiff ( unsigned long  iPoint) const
inlinevirtual

Get the value of the cross diffusion of tke and omega.

Reimplemented in CTurbSSTVariable.

◆ GetDataExtrapolation()

virtual unsigned short CVariable::GetDataExtrapolation ( unsigned long  iPoint) const
inlinevirtual

Get dataset extrapolation instance.

Parameters
[in]iPoint- Node index
Returns
extrapolation - Extrapolation instance (0 = within dataset, 1 = outside dataset)

Reimplemented in CEulerVariable.

◆ GetDelta_Time()

su2double CVariable::GetDelta_Time ( unsigned long  iPoint) const
inline

Get the value of the time step.

Parameters
[in]iPoint- Point index.
Returns
Value of the time step.

◆ GetDensity() [1/2]

virtual su2double CVariable::GetDensity ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the flow density.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetDensity() [2/2]

virtual su2double CVariable::GetDensity ( unsigned long  iPoint,
unsigned long  val_iSpecies 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the flow density.

Reimplemented in CNEMOEulerVariable.

◆ GetDES_LengthScale()

virtual su2double CVariable::GetDES_LengthScale ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CIncNSVariable, CNSVariable, and CTurbSAVariable.

◆ GetDiffusionCoeff()

virtual su2double * CVariable::GetDiffusionCoeff ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the species diffusion coefficient.

Reimplemented in CNEMONSVariable.

◆ GetDiffusivity()

virtual su2double CVariable::GetDiffusivity ( unsigned long  iPoint,
unsigned short  val_ivar 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the mass diffusivity.

Reimplemented in CScalarVariable, and CSpeciesVariable.

◆ GetdPdU()

virtual su2double * CVariable::GetdPdU ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CNEMOEulerVariable.

◆ GetdTdU()

virtual su2double * CVariable::GetdTdU ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CNEMOEulerVariable.

◆ GetdTvedU()

virtual su2double * CVariable::GetdTvedU ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CNEMOEulerVariable.

◆ GetEddyViscosity()

virtual su2double CVariable::GetEddyViscosity ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the eddy viscosity.

Reimplemented in CIncNSVariable, CNEMONSVariable, and CNSVariable.

◆ GetEddyViscSens()

virtual su2double * CVariable::GetEddyViscSens ( unsigned long  iPoint)
inlinevirtual

Get the Eddy Viscosity Sensitivity of the problem.

Returns
Pointer to the Eddy Viscosity Sensitivity.

Reimplemented in CAdjTurbVariable.

◆ GetEnergy()

virtual su2double CVariable::GetEnergy ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the flow energy.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ GetEnthalpy()

virtual su2double CVariable::GetEnthalpy ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the flow enthalpy.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetEnthalpys()

virtual su2double * CVariable::GetEnthalpys ( unsigned long  iPoint)
inlinevirtual

Get the species enthalpy.

Returns
Value of the species enthalpy.

Reimplemented in CNEMONSVariable.

◆ GetEntropy()

virtual su2double CVariable::GetEntropy ( unsigned long  iPoint) const
inlinevirtual

Get fluid entropy.

Parameters
[in]iPoint- Node index
Returns
Entropy - Fluid entropy value

Reimplemented in CEulerVariable.

◆ GetF1blending()

virtual su2double CVariable::GetF1blending ( unsigned long  iPoint) const
inlinevirtual

Get the first blending function of the SST model.

Reimplemented in CTurbVariable, and CTurbSSTVariable.

◆ GetF2blending()

virtual su2double CVariable::GetF2blending ( unsigned long  iPoint) const
inlinevirtual

Get the second blending function of the SST model.

Reimplemented in CTurbSSTVariable.

◆ GetFlowTractionSensitivity()

virtual su2double CVariable::GetFlowTractionSensitivity ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

Get the FSI force sensitivity at the node.

Parameters
[in]iDim- spacial component
Returns
value of the Sensitivity

Reimplemented in CDiscAdjFEABoundVariable.

◆ GetForceProj_Vector()

virtual su2double * CVariable::GetForceProj_Vector ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the force projection vector.

Reimplemented in CAdjEulerVariable.

◆ GetGammaBC()

virtual su2double CVariable::GetGammaBC ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the gamma_BC of B-C transition model.

◆ GetGeometry_Direct() [1/2]

virtual su2double * CVariable::GetGeometry_Direct ( unsigned long  iPoint)
inlinevirtual

A virtual member. Get the restart geometry (coordinate of the converged solution).

Returns
Pointer to the restart coordinate vector.

◆ GetGeometry_Direct() [2/2]

virtual su2double CVariable::GetGeometry_Direct ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the restart geometry (coordinate of the converged solution).

Returns
Coordinate of the direct solver restart for .

◆ GetGradient() [1/4]

CMatrixView< su2double > CVariable::GetGradient ( unsigned long  iPoint)
inline

Get the value of the solution gradient.

Parameters
[in]iPoint- Point index.
Returns
Value of the gradient solution.

◆ GetGradient() [2/4]

su2double CVariable::GetGradient ( unsigned long  iPoint,
unsigned long  iVar,
unsigned long  iDim 
) const
inline

Get the value of the solution gradient.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]iDim- Index of the dimension.
Returns
Value of the solution gradient.

◆ GetGradient() [3/4]

CVectorOfMatrix & CVariable::GetGradient ( void  )
inline

Get the gradient of the entire solution.

Returns
Reference to gradient.

◆ GetGradient() [4/4]

const CVectorOfMatrix & CVariable::GetGradient ( void  ) const
inline

◆ GetGradient_Primitive() [1/4]

virtual CVectorOfMatrix & CVariable::GetGradient_Primitive ( )
inlinevirtual

Get the primitive variable gradients for all points.

Returns
Reference to primitive variable gradient.

Reimplemented in CFlowVariable.

◆ GetGradient_Primitive() [2/4]

virtual const CVectorOfMatrix & CVariable::GetGradient_Primitive ( ) const
inlinevirtual

Reimplemented in CFlowVariable.

◆ GetGradient_Primitive() [3/4]

virtual su2double CVariable::GetGradient_Primitive ( unsigned long  iPoint,
unsigned long  iVar,
unsigned long  iDim 
) const
inlinevirtual

A virtual member.

Parameters
[in]iVar- Index of the variable.
[in]iDim- Index of the dimension.
Returns
Value of the primitive variables gradient.

Reimplemented in CFlowVariable.

◆ GetGradient_Primitive() [4/4]

virtual CMatrixView< su2double > CVariable::GetGradient_Primitive ( unsigned long  iPoint,
unsigned long  iVar = 0 
)
inlinevirtual

A virtual member.

Returns
Value of the primitive variables gradient.

Reimplemented in CFlowVariable.

◆ GetGradient_Reconstruction() [1/3]

virtual CVectorOfMatrix & CVariable::GetGradient_Reconstruction ( )
inlinevirtual

Get the reconstruction gradient for primitive variable at all points.

Returns
Reference to variable reconstruction gradient.

Reimplemented in CAdjEulerVariable, CFlowVariable, and CScalarVariable.

◆ GetGradient_Reconstruction() [2/3]

virtual const CVectorOfMatrix & CVariable::GetGradient_Reconstruction ( ) const
inlinevirtual

◆ GetGradient_Reconstruction() [3/3]

virtual CMatrixView< su2double > CVariable::GetGradient_Reconstruction ( unsigned long  iPoint)
inlinevirtual

Get the value of the primitive gradient for MUSCL reconstruction.

Returns
Value of the primitive gradient for MUSCL reconstruction.

Reimplemented in CAdjEulerVariable, CFlowVariable, and CScalarVariable.

◆ GetHarmonicBalance_Source()

virtual su2double CVariable::GetHarmonicBalance_Source ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CAdjEulerVariable, CFlowVariable, and CScalarVariable.

◆ GetHbyACorrection()

virtual su2double CVariable::GetHbyACorrection ( unsigned long  iPoint,
unsigned short  iDim 
)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ GetIntermittency()

virtual su2double CVariable::GetIntermittency ( unsigned long  iPoint) const
inlinevirtual

Get the value of the intermittency.

Returns
the value of the intermittency.

Reimplemented in CTurbVariable.

◆ GetIntermittencyEff()

virtual su2double CVariable::GetIntermittencyEff ( unsigned long  iPoint) const
inlinevirtual

Get the value of the effective intermittency.

Returns
the value of the effective intermittency.

Reimplemented in CTransLMVariable.

◆ GetIntermittencySep()

virtual su2double CVariable::GetIntermittencySep ( unsigned long  iPoint) const
inlinevirtual

Get the value of the separation intermittency.

Returns
the value of the separation intermittency.

Reimplemented in CTransLMVariable.

◆ GetLambda() [1/2]

const VectorType & CVariable::GetLambda ( ) const
inline

◆ GetLambda() [2/2]

su2double CVariable::GetLambda ( unsigned long  iPoint) const
inline

Get the value of the spectral radius.

Parameters
[in]iPoint- Point index.
Returns
Value of the spectral radius.

◆ GetLaminarViscosity()

virtual su2double CVariable::GetLaminarViscosity ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
The laminar viscosity of the flow.

Reimplemented in CIncNSVariable, CNEMONSVariable, and CNSVariable.

◆ GetLangevinSourceTerms()

virtual su2double CVariable::GetLangevinSourceTerms ( unsigned long  iPoint,
unsigned short  iDim 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]iDim- Dimension index.

Reimplemented in CTurbSAVariable.

◆ GetLES_Mode()

virtual su2double CVariable::GetLES_Mode ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CIncNSVariable, CNSVariable, and CTurbSAVariable.

◆ GetLimiter() [1/4]

su2double * CVariable::GetLimiter ( unsigned long  iPoint)
inline

Get the value of the slope limiter.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the limiters vector.

◆ GetLimiter() [2/4]

su2double CVariable::GetLimiter ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the value of the slope limiter.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
Returns
Value of the limiter vector for the variable iVar.

◆ GetLimiter() [3/4]

MatrixType & CVariable::GetLimiter ( void  )
inline

Get the slope limiter.

Returns
Reference to the limiters vector.

◆ GetLimiter() [4/4]

const MatrixType & CVariable::GetLimiter ( void  ) const
inline

◆ GetLimiter_Primitive() [1/4]

virtual MatrixType & CVariable::GetLimiter_Primitive ( )
inlinevirtual

Get the primitive variables limiter.

Returns
Primitive variables limiter for the entire domain.

Reimplemented in CFlowVariable.

◆ GetLimiter_Primitive() [2/4]

virtual const MatrixType & CVariable::GetLimiter_Primitive ( ) const
inlinevirtual

Reimplemented in CFlowVariable.

◆ GetLimiter_Primitive() [3/4]

virtual su2double * CVariable::GetLimiter_Primitive ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Returns
Value of the primitive variables gradient.

Reimplemented in CFlowVariable.

◆ GetLimiter_Primitive() [4/4]

virtual su2double CVariable::GetLimiter_Primitive ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Parameters
[in]iVar- Index of the variable.
Returns
Value of the primitive variables gradient.

Reimplemented in CFlowVariable.

◆ GetLocalCFL()

su2double CVariable::GetLocalCFL ( unsigned long  iPoint) const
inline

Get the value of the local CFL number for the current control volume (CV).

Parameters
[in]iPoint- Point index.
Returns
Value of the local CFL number for this CV.

◆ GetMassFraction()

virtual su2double CVariable::GetMassFraction ( unsigned long  iPoint,
unsigned long  val_Species 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_Species- Index of species s.
Returns
Value of the mass fraction of species s.

Reimplemented in CNEMOEulerVariable.

◆ GetMax_Lambda_Inv()

su2double CVariable::GetMax_Lambda_Inv ( unsigned long  iPoint) const
inline

Get the value of the maximum eigenvalue for the inviscid terms of the PDE.

Parameters
[in]iPoint- Point index.
Returns
the value of the maximum eigenvalue for the inviscid terms of the PDE.

◆ GetMax_Lambda_Visc()

su2double CVariable::GetMax_Lambda_Visc ( unsigned long  iPoint) const
inline

Get the value of the maximum eigenvalue for the viscous terms of the PDE.

Parameters
[in]iPoint- Point index.
Returns
the value of the maximum eigenvalue for the viscous terms of the PDE.

◆ GetMesh_Coord() [1/3]

virtual const MatrixType * CVariable::GetMesh_Coord ( ) const
inlinevirtual

A virtual member. Get the undeformed coordinates for the entire domain.

Reimplemented in CMeshVariable.

◆ GetMesh_Coord() [2/3]

virtual const su2double * CVariable::GetMesh_Coord ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the undeformed coordinates.

Returns
Pointer to the reference coordinates.

Reimplemented in CMeshVariable.

◆ GetMesh_Coord() [3/3]

virtual su2double CVariable::GetMesh_Coord ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member. Get the value of the undeformed coordinates.

Parameters
[in]iDim- Index of Mesh_Coord[nDim]
Returns
Value of the original coordinate iDim.

Reimplemented in CMeshVariable.

◆ GetMomCoeff()

virtual su2double CVariable::GetMomCoeff ( unsigned long  iPoint)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ GetMomentumCorrection()

virtual su2double CVariable::GetMomentumCorrection ( unsigned long  iPoint,
unsigned short  iDim 
)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ GetmuT()

virtual su2double CVariable::GetmuT ( unsigned long  iPoint) const
inlinevirtual

Get the value of the eddy viscosity.

Returns
the value of the eddy viscosity.

Reimplemented in CTurbVariable.

◆ GetnAuxVar()

unsigned long CVariable::GetnAuxVar ( ) const
inline

Get the number of auxiliary variables.

◆ GetNewtonSolverIterations()

virtual unsigned long CVariable::GetNewtonSolverIterations ( unsigned long  iPoint) const
inlinevirtual

Get the number of iterations required by a Newton solver used by the fluid model.

Parameters
[in]iPoint- Node index
Returns
Number of iterations evaluated by the Newton solver

Reimplemented in CEulerVariable.

◆ GetNon_Physical()

bool CVariable::GetNon_Physical ( unsigned long  iPoint)
inline

Get the value of the non-physical boolean at a point.

Parameters
[in]iPoint- Point index.
Returns
Value of the Non-physical point.

◆ GetObjFuncSource()

virtual su2double * CVariable::GetObjFuncSource ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the objective function source.

Reimplemented in CAdjEulerVariable.

◆ GetPressure()

virtual su2double CVariable::GetPressure ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the flow pressure.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetPrestretch() [1/2]

virtual const su2double * CVariable::GetPrestretch ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ GetPrestretch() [2/2]

virtual su2double CVariable::GetPrestretch ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ GetPrimitive() [1/3]

virtual const MatrixType & CVariable::GetPrimitive ( ) const
inlinevirtual

Get the primitive variables for all points.

Returns
Reference to primitives.

Reimplemented in CFlowVariable.

◆ GetPrimitive() [2/3]

virtual su2double * CVariable::GetPrimitive ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CFlowVariable.

◆ GetPrimitive() [3/3]

virtual su2double CVariable::GetPrimitive ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CFlowVariable.

◆ GetProjVel()

virtual su2double CVariable::GetProjVel ( unsigned long  iPoint,
const su2double *  val_vector 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_vector- Direction of projection.
Returns
Value of the projected velocity.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetRadiative_SourceTerm()

virtual const su2double * CVariable::GetRadiative_SourceTerm ( unsigned long  iPoint) const
inlinevirtual

Virtual member: Set the Radiative source term at the node.

Returns
value of the radiative source term

Reimplemented in CRadVariable.

◆ GetReference_Geometry()

virtual const su2double * CVariable::GetReference_Geometry ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ GetResidual_Old()

su2double * CVariable::GetResidual_Old ( unsigned long  iPoint)
inline

Get the value of the old residual.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the old residual.

◆ GetResidual_Sum() [1/2]

su2double * CVariable::GetResidual_Sum ( unsigned long  iPoint)
inline

Get the value of the summed residual.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the summed residual.

◆ GetResidual_Sum() [2/2]

void CVariable::GetResidual_Sum ( unsigned long  iPoint,
su2double *  val_residual 
) const
inline

Get the value of the summed residual.

Parameters
[in]iPoint- Point index.
[in]val_residual- Pointer to the summed residual.

◆ GetResTruncError() [1/2]

su2double * CVariable::GetResTruncError ( unsigned long  iPoint)
inline

Get the truncation error.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the truncation error.

◆ GetResTruncError() [2/2]

void CVariable::GetResTruncError ( unsigned long  iPoint,
su2double *  val_trunc_error 
) const
inline

Get the truncation error.

Parameters
[in]iPoint- Point index.
[in]val_trunc_error- Pointer to the truncation error.

◆ GetRhoCv_tr()

virtual su2double CVariable::GetRhoCv_tr ( unsigned long  iPoint) const
inlinevirtual

A virtual member – Get the mixture specific heat at constant volume (trans.-rot.).

Parameters
[in]iPoint- Point index.
Returns
$\rho C^{t-r}_{v} $

Reimplemented in CNEMOEulerVariable.

◆ GetRhoCv_ve()

virtual su2double CVariable::GetRhoCv_ve ( unsigned long  iPoint) const
inlinevirtual

A virtual member – Get the mixture specific heat at constant volume (vib.-el.).

Parameters
[in]iPoint- Point index.
Returns
$\rho C^{v-e}_{v} $

Reimplemented in CNEMOEulerVariable.

◆ GetRmatrix() [1/2]

su2double CVariable::GetRmatrix ( unsigned long  iPoint,
unsigned long  iDim,
unsigned long  jDim 
) const
inline

Get the value of the Rmatrix entry for least squares gradient calculations.

Parameters
[in]iPoint- Point index.
[in]iDim- Index of the dimension.
[in]jDim- Index of the dimension.
Returns
Value of the Rmatrix entry.

◆ GetRmatrix() [2/2]

C3DDoubleMatrix & CVariable::GetRmatrix ( void  )
inline

Get the value Rmatrix for the entire domain.

Returns
Reference to the Rmatrix.

◆ GetRoe_Dissipation()

virtual su2double CVariable::GetRoe_Dissipation ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CNSVariable.

◆ GetScalarLookups()

virtual const su2double * CVariable::GetScalarLookups ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CSpeciesFlameletVariable.

◆ GetScalarSources()

virtual const su2double * CVariable::GetScalarSources ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CSpeciesFlameletVariable.

◆ GetSecondary() [1/2]

virtual su2double * CVariable::GetSecondary ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ GetSecondary() [2/2]

virtual su2double CVariable::GetSecondary ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ GetSensitivity() [1/2]

virtual const MatrixType & CVariable::GetSensitivity ( ) const
inlinevirtual

Reimplemented in CDiscAdjVariable.

◆ GetSensitivity() [2/2]

virtual su2double CVariable::GetSensitivity ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

Get the Sensitivity at the node.

Parameters
[in]iDim- spacial component
Returns
value of the Sensitivity

Reimplemented in CDiscAdjVariable, and CSobolevSmoothingVariable.

◆ GetSensor() [1/2]

const VectorType & CVariable::GetSensor ( ) const
inline

◆ GetSensor() [2/2]

su2double CVariable::GetSensor ( unsigned long  iPoint) const
inline

Get the pressure sensor.

Parameters
[in]iPoint- Point index.
Returns
Value of the pressure sensor.

◆ GetSolution() [1/4]

MatrixType & CVariable::GetSolution ( )
inline

◆ GetSolution() [2/4]

const MatrixType & CVariable::GetSolution ( ) const
inline

Get the entire solution of the problem.

Returns
Reference to the solution matrix.

◆ GetSolution() [3/4]

su2double * CVariable::GetSolution ( unsigned long  iPoint)
inline

Get the solution of the problem.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the solution vector.

◆ GetSolution() [4/4]

su2double CVariable::GetSolution ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the solution.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

◆ GetSolution_Accel() [1/2]

virtual su2double * CVariable::GetSolution_Accel ( unsigned long  iPoint)
inlinevirtual

Get the solution of the problem.

Returns
Pointer to the solution vector.

Reimplemented in CFEAVariable.

◆ GetSolution_Accel() [2/2]

virtual su2double CVariable::GetSolution_Accel ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get the acceleration (Structural Analysis).

Parameters
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

Reimplemented in CFEAVariable.

◆ GetSolution_Accel_time_n() [1/2]

virtual su2double * CVariable::GetSolution_Accel_time_n ( unsigned long  iPoint)
inlinevirtual

Get the solution at time n.

Returns
Pointer to the solution (at time n) vector.

Reimplemented in CFEAVariable.

◆ GetSolution_Accel_time_n() [2/2]

virtual su2double CVariable::GetSolution_Accel_time_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get the acceleration of the nodes (Structural Analysis) at time n.

Parameters
[in]iVar- Index of the variable.
Returns
Pointer to the old solution vector.

Reimplemented in CFEAVariable.

◆ GetSolution_Direct()

virtual su2double * CVariable::GetSolution_Direct ( unsigned long  iPoint)
inlinevirtual

A virtual member. Get the direct solution for the adjoint solver.

Returns
Pointer to the direct solution vector.

Reimplemented in CDiscAdjVariable.

◆ GetSolution_Geometry()

virtual su2double CVariable::GetSolution_Geometry ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member. Get the geometry solution.

Parameters
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

◆ GetSolution_Max() [1/2]

MatrixType & CVariable::GetSolution_Max ( )
inline

Get the min solution.

Returns
Value of the min solution for the domain.

◆ GetSolution_Max() [2/2]

const MatrixType & CVariable::GetSolution_Max ( ) const
inline

◆ GetSolution_Min() [1/2]

MatrixType & CVariable::GetSolution_Min ( )
inline

Get the min solution.

Returns
Value of the min solution for the domain.

◆ GetSolution_Min() [2/2]

const MatrixType & CVariable::GetSolution_Min ( ) const
inline

◆ GetSolution_New()

virtual su2double CVariable::GetSolution_New ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
Returns
Pointer to the old solution vector.

Reimplemented in CFlowVariable.

◆ GetSolution_Old() [1/2]

su2double * CVariable::GetSolution_Old ( unsigned long  iPoint)
inline

Get the old solution of the problem (Runge-Kutta method)

Parameters
[in]iPoint- Point index.
Returns
Pointer to the old solution vector.

◆ GetSolution_Old() [2/2]

su2double CVariable::GetSolution_Old ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the old solution of the problem (Runge-Kutta method)

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
Returns
Pointer to the old solution vector.

◆ GetSolution_Pred()

virtual const su2double * CVariable::GetSolution_Pred ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the solution at time n.

Returns
Pointer to the solution (at time n) vector.

Reimplemented in CFEAVariable.

◆ GetSolution_Pred_Old()

virtual const su2double * CVariable::GetSolution_Pred_Old ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the solution at time n.

Returns
Pointer to the solution (at time n) vector.

Reimplemented in CFEAVariable.

◆ GetSolution_time_n() [1/3]

MatrixType & CVariable::GetSolution_time_n ( )
inline

◆ GetSolution_time_n() [2/3]

su2double * CVariable::GetSolution_time_n ( unsigned long  iPoint)
inline

Get the solution at time n.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the solution (at time n) vector.

◆ GetSolution_time_n() [3/3]

su2double CVariable::GetSolution_time_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the solution at time n.

Parameters
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

◆ GetSolution_time_n1() [1/3]

MatrixType & CVariable::GetSolution_time_n1 ( )
inline

◆ GetSolution_time_n1() [2/3]

su2double * CVariable::GetSolution_time_n1 ( unsigned long  iPoint)
inline

Get the solution at time n-1.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the solution (at time n-1) vector.

◆ GetSolution_time_n1() [3/3]

su2double CVariable::GetSolution_time_n1 ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the solution at time n-1.

Parameters
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

◆ GetSolution_Vel() [1/2]

virtual su2double * CVariable::GetSolution_Vel ( unsigned long  iPoint)
inlinevirtual

Get the velocity (Structural Analysis).

Returns
Pointer to the velocity vector at a point.

Reimplemented in CFEAVariable.

◆ GetSolution_Vel() [2/2]

virtual su2double CVariable::GetSolution_Vel ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get the velocity (Structural Analysis).

Parameters
[in]iVar- Index of the variable.
Returns
Value of the solution for the index iVar.

Reimplemented in CFEAVariable.

◆ GetSolution_Vel_Pred()

virtual const su2double * CVariable::GetSolution_Vel_Pred ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the velocity solution predictor.

Returns
Pointer to the velocity solution vector.

Reimplemented in CFEAVariable.

◆ GetSolution_Vel_time_n() [1/2]

virtual su2double * CVariable::GetSolution_Vel_time_n ( unsigned long  iPoint)
inlinevirtual

Get the velocity of the nodes (Structural Analysis) at time n.

Returns
Pointer to the velocity vector at a point.

Reimplemented in CFEAVariable.

◆ GetSolution_Vel_time_n() [2/2]

virtual su2double CVariable::GetSolution_Vel_time_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlinevirtual

Get the velocity of the nodes (Structural Analysis) at time n.

Parameters
[in]iVar- Index of the variable.
Returns
Pointer to the old solution vector.

Reimplemented in CFEAVariable.

◆ GetSolutionExtra() [1/2]

VectorType & CVariable::GetSolutionExtra ( )
inline

Return the extra adjoint solution.

Returns
Reference to extra adjoint solution.

◆ GetSolutionExtra() [2/2]

const VectorType & CVariable::GetSolutionExtra ( ) const
inline

◆ GetSoundSpeed()

virtual su2double CVariable::GetSoundSpeed ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the sound speed.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ GetSourceTerm_DispAdjoint()

virtual su2double CVariable::GetSourceTerm_DispAdjoint ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

Get the source term applied into the displacement adjoint coming from external solvers.

Parameters
[in]iDim- spacial component
Returns
value of the source term

Reimplemented in CDiscAdjFEABoundVariable.

◆ GetSourceTerm_VelAdjoint()

virtual su2double CVariable::GetSourceTerm_VelAdjoint ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

Reimplemented in CDiscAdjFEABoundVariable.

◆ GetSpecificHeatCp()

virtual su2double CVariable::GetSpecificHeatCp ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the specific heat at constant P

Reimplemented in CIncEulerVariable, and CNSVariable.

◆ GetSpecificHeatCv()

virtual su2double CVariable::GetSpecificHeatCv ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the specific heat at constant V

Reimplemented in CIncEulerVariable.

◆ GetStrainMag()

virtual su2double CVariable::GetStrainMag ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of strain rate magnitude.

Reimplemented in CFlowVariable.

◆ GetStreamwise_Periodic_RecoveredPressure()

virtual su2double CVariable::GetStreamwise_Periodic_RecoveredPressure ( unsigned long  iPoint) const
inlinevirtual

A virtual member: Get the recovered pressure for streamwise periodic flow.

Parameters
[in]iPoint- Point index.
Returns
Recovered/Physical pressure for streamwise periodic flow.

Reimplemented in CIncEulerVariable.

◆ GetStreamwise_Periodic_RecoveredTemperature()

virtual su2double CVariable::GetStreamwise_Periodic_RecoveredTemperature ( unsigned long  iPoint) const
inlinevirtual

A virtual member: Get the recovered temperature for streamwise periodic flow.

Parameters
[in]iPoint- Point index.
Returns
Recovered/Physical temperature for streamwise periodic flow.

Reimplemented in CIncEulerVariable.

◆ GetStress_FEM()

virtual const su2double * CVariable::GetStress_FEM ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ GetStrongBC()

virtual bool CVariable::GetStrongBC ( unsigned long  iPoint) const
inlinevirtual

Get whether a strong boundary condition was applied to the point, which for the pressure-based solver means its momentum row was deleted and carries no A_p.

Reimplemented in CIncEulerVariable.

◆ GetTableMisses()

virtual unsigned short CVariable::GetTableMisses ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CSpeciesFlameletVariable.

◆ GetTau_Wall()

virtual su2double CVariable::GetTau_Wall ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CIncNSVariable, and CNSVariable.

◆ GetTemperature()

virtual su2double CVariable::GetTemperature ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Returns
Value of the temperature.

Reimplemented in CEulerVariable, CHeatVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetTemperature_ve()

virtual su2double CVariable::GetTemperature_ve ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the vibrational-electronic temperature.

Reimplemented in CNEMOEulerVariable.

◆ GetThermalConductivity()

virtual su2double CVariable::GetThermalConductivity ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the thermal conductivity (translational/rotational)

Reimplemented in CIncNSVariable, CNEMONSVariable, and CNSVariable.

◆ GetThermalConductivity_ve()

virtual su2double CVariable::GetThermalConductivity_ve ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the thermal conductivity (vibrational)

Reimplemented in CNEMONSVariable.

◆ GetTurbIndex()

virtual su2double CVariable::GetTurbIndex ( unsigned long  iPoint) const
inlinevirtual

Get the value of the turbulence index.

Returns
val_turb_index - turbulence index

Reimplemented in CTurbVariable.

◆ GetUnderRelaxation()

su2double CVariable::GetUnderRelaxation ( unsigned long  iPoint) const
inline

Get the value of the under-relaxation parameter for the current control volume (CV).

Parameters
[in]iPoint- Point index.
Returns
Value of the under-relaxation parameter for this CV.

◆ GetUndivided_Laplacian() [1/3]

const MatrixType & CVariable::GetUndivided_Laplacian ( ) const
inline

◆ GetUndivided_Laplacian() [2/3]

su2double * CVariable::GetUndivided_Laplacian ( unsigned long  iPoint)
inline

Get the undivided laplacian of the solution.

Parameters
[in]iPoint- Point index.
Returns
Pointer to the undivided laplacian vector.

◆ GetUndivided_Laplacian() [3/3]

su2double CVariable::GetUndivided_Laplacian ( unsigned long  iPoint,
unsigned long  iVar 
) const
inline

Get the undivided laplacian of the solution.

Parameters
[in]iPoint- Point index.
[in]iVar- Variable of the undivided laplacian.
Returns
Value of the undivided laplacian vector.

◆ GetUserDefinedSource() [1/2]

MatrixType & CVariable::GetUserDefinedSource ( )
inline

◆ GetUserDefinedSource() [2/2]

const MatrixType & CVariable::GetUserDefinedSource ( ) const
inline

Get the entire User Define Source of the problem.

Returns
Reference to the solution matrix.

◆ GetVelocity()

virtual su2double CVariable::GetVelocity ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]iDim- Index of the dimension.
Returns
Value of the velocity for the dimension iDim.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetVelocity2()

virtual su2double CVariable::GetVelocity2 ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Norm 2 of the velocity vector.

Reimplemented in CFlowVariable.

◆ GetVelocityGradient()

virtual CMatrixView< const su2double > CVariable::GetVelocityGradient ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the velocity gradient.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ GetVol_HeatSource()

virtual bool CVariable::GetVol_HeatSource ( unsigned long  iPoint) const
inlinevirtual

Get whether a volumetric heat source is to be introduced in point iPoint.

Returns
Bool, determines if this point introduces volumetric heat

Reimplemented in CRadVariable.

◆ GetVonMises_Stress()

virtual su2double CVariable::GetVonMises_Stress ( unsigned long  iPoint) const
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ GetVortex_Tilting()

virtual su2double CVariable::GetVortex_Tilting ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CTurbSAVariable.

◆ GetVorticity() [1/2]

virtual su2double * CVariable::GetVorticity ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Value of the vorticity.

Reimplemented in CFlowVariable.

◆ GetVorticity() [2/2]

virtual const su2double * CVariable::GetVorticity ( unsigned long  iPoint) const
inlinevirtual

Reimplemented in CFlowVariable.

◆ GetWallDistance()

virtual su2double CVariable::GetWallDistance ( unsigned long  iPoint) const
inlinevirtual

A virtual member. Get the value of the wall distance in reference coordinates.

Parameters
[in]iDim- Index of Mesh_Coord[nDim]
Returns
Value of the wall distance in reference coordinates.

Reimplemented in CMeshVariable.

◆ operator=() [1/2]

CVariable & CVariable::operator= ( const CVariable &  )
delete

◆ operator=() [2/2]

CVariable & CVariable::operator= ( CVariable &&  )
delete

◆ Register_BoundDisp()

virtual void CVariable::Register_BoundDisp ( )
inlinevirtual

A virtual member. Register the boundary displacements of the mesh.

Reimplemented in CMeshBoundVariable.

◆ Register_MeshCoord()

virtual void CVariable::Register_MeshCoord ( )
inlinevirtual

A virtual member. Register the reference coordinates of the mesh.

Reimplemented in CMeshVariable.

◆ RegisterContainer() [1/3]

void CVariable::RegisterContainer ( bool  input,
su2activematrix &  variable,
su2matrix< AD::Identifier > &  ad_index 
)
inlineprotected

◆ RegisterContainer() [2/3]

void CVariable::RegisterContainer ( bool  input,
su2activematrix &  variable,
su2matrix< AD::Identifier > *  ad_index = nullptr 
)
inlineprotected

◆ RegisterContainer() [3/3]

void CVariable::RegisterContainer ( bool  input,
su2activevector &  variable,
su2vector< AD::Identifier > *  ad_index = nullptr 
)
inlineprotected

◆ RegisterFlowTraction()

virtual void CVariable::RegisterFlowTraction ( bool  reset)
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ RegisterSolution()

void CVariable::RegisterSolution ( bool  input)

Register the variables in the solution array as input/output variable.

Parameters
[in]input- input or output variables.

◆ RegisterSolution_time_n()

void CVariable::RegisterSolution_time_n ( )

Register the variables in the solution_time_n array as input/output variable.

◆ RegisterSolution_time_n1()

void CVariable::RegisterSolution_time_n1 ( )

Register the variables in the solution_time_n1 array as input/output variable.

◆ RegisterUserDefinedSource()

void CVariable::RegisterUserDefinedSource ( )

Register the variables in the user defined source array as input/output variable.

◆ Restore_BGSSolution_k()

void CVariable::Restore_BGSSolution_k ( )
virtual

Restore the previous BGS subiteration to solution.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ Set_BGSSolution_k() [1/2]

void CVariable::Set_BGSSolution_k ( )
virtual

Set the value of the solution in the previous BGS subiteration.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ Set_BGSSolution_k() [2/2]

virtual void CVariable::Set_BGSSolution_k ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_var 
)
inlinevirtual

Set the value of the solution in the previous BGS subiteration.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ Set_External_To_DualTimeDer()

virtual void CVariable::Set_External_To_DualTimeDer ( )
inlinevirtual

Set Dual-time derivative contributions to the external.

Reimplemented in CDiscAdjVariable.

◆ Set_ExternalExtra_To_SolutionExtra()

void CVariable::Set_ExternalExtra_To_SolutionExtra ( )
inline

Store the adjoint solution of the extra adjoint into the external container.

◆ Set_FlowTraction()

virtual void CVariable::Set_FlowTraction ( unsigned long  iPoint,
const su2double *  val_flowTraction 
)
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Set_FlowTraction_n()

virtual void CVariable::Set_FlowTraction_n ( )
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ Set_isVertex()

virtual void CVariable::Set_isVertex ( unsigned long  iPoint,
bool  isVertex 
)
inlinevirtual

◆ Set_OldSolution()

void CVariable::Set_OldSolution ( )

Set old variables to the value of the current variables.

◆ Set_OldSolution_Geometry()

virtual void CVariable::Set_OldSolution_Geometry ( )
inlinevirtual

A virtual member. Set the value of the old geometry solution (adjoint).

◆ Set_Solution()

void CVariable::Set_Solution ( )

Set variables to the value of the old variables.

◆ Set_Solution_time_n() [1/3]

void CVariable::Set_Solution_time_n ( )

Set the variable solution at time n.

◆ Set_Solution_time_n() [2/3]

void CVariable::Set_Solution_time_n ( unsigned long  iPoint,
const su2double *  val_sol 
)
inline

Set the variable solution at time n.

Parameters
[in]iPoint- Point index.

◆ Set_Solution_time_n() [3/3]

void CVariable::Set_Solution_time_n ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_sol 
)
inline

Set the variable solution at time n.

Parameters
[in]iPoint- Point index.

◆ Set_Solution_time_n1() [1/3]

void CVariable::Set_Solution_time_n1 ( )

Set the variable solution at time n-1.

◆ Set_Solution_time_n1() [2/3]

void CVariable::Set_Solution_time_n1 ( unsigned long  iPoint,
const su2double *  val_sol 
)
inline

Set the variable solution at time n-1.

Parameters
[in]iPoint- Point index.

◆ Set_Solution_time_n1() [3/3]

void CVariable::Set_Solution_time_n1 ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_sol 
)
inline

Set the variable solution at time n-1.

Parameters
[in]iPoint- Point index.

◆ Set_SurfaceLoad_Res_n()

virtual void CVariable::Set_SurfaceLoad_Res_n ( )
inlinevirtual

A virtual member.

Reimplemented in CFEABoundVariable.

◆ SetAdjointSolution()

void CVariable::SetAdjointSolution ( unsigned long  iPoint,
const su2double *  adj_sol 
)
inline

Set the adjoint values of the solution.

Parameters
[in]adj_sol- The adjoint values of the solution.

◆ SetAuxVar()

void CVariable::SetAuxVar ( unsigned long  iPoint,
unsigned long  iVar,
const su2double  auxvar 
)
inline

Set auxiliary variables.

Parameters
[in]iPoint- Point index.
[in]iVar- Varriable indexs
[in]val_auxvar- Value of the auxiliar variable.

◆ SetAuxVarGradient()

void CVariable::SetAuxVarGradient ( unsigned long  iPoint,
unsigned long  iVar,
unsigned long  iDim,
su2double  value 
)
inline

Set value of auxillary gradients.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]iDim- Index of the dimension.
[in]value- Value of the gradient.

◆ SetBesselIntegral()

virtual void CVariable::SetBesselIntegral ( unsigned long  iPoint,
su2double  val_integral 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_integral- Value of the integral.

Reimplemented in CTurbSAVariable.

◆ SetBetaInc2()

virtual void CVariable::SetBetaInc2 ( unsigned long  iPoint,
su2double  val_betainc2 
)
inlinevirtual

A virtual member.

Reimplemented in CIncEulerVariable.

◆ SetBlendingFunc()

virtual void CVariable::SetBlendingFunc ( unsigned long  iPoint,
su2double  val_viscosity,
su2double  val_dist,
su2double  val_density,
TURB_TRANS_MODEL  trans_model 
)
inlinevirtual

Set the blending function for the blending of k-w and k-eps.

Parameters
[in]val_viscosity- Value of the vicosity.
[in]val_density- Value of the density.
[in]val_dist- Value of the distance to the wall.

Reimplemented in CTurbSSTVariable.

◆ SetBound_Disp() [1/2]

virtual void CVariable::SetBound_Disp ( unsigned long  iPoint,
const su2double *  val_BoundDisp 
)
inlinevirtual

A virtual member. Set the boundary displacement.

Parameters
[in]val_BoundDisp- Pointer to the boundary displacements.

Reimplemented in CMeshBoundVariable.

◆ SetBound_Disp() [2/2]

virtual void CVariable::SetBound_Disp ( unsigned long  iPoint,
unsigned long  iDim,
const su2double  val_BoundDisp 
)
inlinevirtual

A virtual member. Set the boundary displacement.

Parameters
[in]iDim- Index of the dimension of interest.
[in]val_BoundDisp- Value of the boundary displacements.

Reimplemented in CMeshBoundVariable.

◆ SetBound_Vel() [1/2]

virtual void CVariable::SetBound_Vel ( unsigned long  iPoint,
const su2double *  val_BoundVel 
)
inlinevirtual

A virtual member. Set the boundary velocity.

Parameters
[in]val_BoundVel- Pointer to the boundary velocity.

Reimplemented in CMeshBoundVariable.

◆ SetBound_Vel() [2/2]

virtual void CVariable::SetBound_Vel ( unsigned long  iPoint,
unsigned long  iDim,
const su2double  val_BoundVel 
)
inlinevirtual

A virtual member. Set the boundary velocity.

Parameters
[in]iDim- Index of the dimension of interest.
[in]val_BoundVel- Value of the boundary velocity.

Reimplemented in CMeshBoundVariable.

◆ SetBoundDisp_Direct()

virtual void CVariable::SetBoundDisp_Direct ( unsigned long  iPoint,
const su2double *  val_BoundDisp 
)
inlinevirtual

A virtual member. Set the solution for the boundary displacements.

Parameters
[in]val_BoundDisp- Pointer to the boundary displacements.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ SetBoundDisp_Sens()

virtual void CVariable::SetBoundDisp_Sens ( unsigned long  iPoint,
const su2double *  val_sens 
)
inlinevirtual

Set the value of the sensitivity with respect to the undeformed coordinates.

Parameters
[in]val_sens- Pointer to the sensitivities of the boundary displacements.

Reimplemented in CDiscAdjMeshBoundVariable.

◆ SetDataExtrapolation()

virtual void CVariable::SetDataExtrapolation ( unsigned long  iPoint,
unsigned short  extrapolation 
)
inlinevirtual

Set dataset extrapolation instance.

Parameters
[in]iPoint- Node index
[in]extrapolation- Extrapolation instance (0 = within dataset, 1 = outside dataset)

Reimplemented in CEulerVariable.

◆ SetDelta_Time()

void CVariable::SetDelta_Time ( unsigned long  iPoint,
su2double  val_delta_time 
)
inline

Set the value of the time step.

Parameters
[in]iPoint- Point index.
[in]val_delta_time- Value of the time step.

◆ SetDensity() [1/2]

virtual bool CVariable::SetDensity ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable.

◆ SetDensity() [2/2]

virtual bool CVariable::SetDensity ( unsigned long  iPoint,
su2double  val_density 
)
inlinevirtual

A virtual member.

Reimplemented in CIncEulerVariable.

◆ SetDES_LengthScale()

virtual void CVariable::SetDES_LengthScale ( unsigned long  iPoint,
su2double  val_des_lengthscale 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CIncNSVariable, CNSVariable, and CTurbSAVariable.

◆ Setdktdrho_T()

virtual void CVariable::Setdktdrho_T ( unsigned long  iPoint,
su2double  dktdrho_T 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ SetdktdT_rho()

virtual void CVariable::SetdktdT_rho ( unsigned long  iPoint,
su2double  dktdT_rho 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ Setdmudrho_T()

virtual void CVariable::Setdmudrho_T ( unsigned long  iPoint,
su2double  dmudrho_T 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ SetdmudT_rho()

virtual void CVariable::SetdmudT_rho ( unsigned long  iPoint,
su2double  dmudT_rho 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ SetdPde_rho()

virtual void CVariable::SetdPde_rho ( unsigned long  iPoint,
su2double  dPde_rho 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable.

◆ SetdPdrho_e()

virtual void CVariable::SetdPdrho_e ( unsigned long  iPoint,
su2double  dPdrho_e 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable.

◆ SetdTde_rho()

virtual void CVariable::SetdTde_rho ( unsigned long  iPoint,
su2double  dTde_rho 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ SetdTdrho_e()

virtual void CVariable::SetdTdrho_e ( unsigned long  iPoint,
su2double  dTdrho_e 
)
inlinevirtual

A virtual member.

Reimplemented in CNSVariable.

◆ SetEddyViscosity()

virtual void CVariable::SetEddyViscosity ( unsigned long  iPoint,
su2double  eddy_visc 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]eddy_visc- Value of the eddy viscosity.

Reimplemented in CIncNSVariable, CNEMONSVariable, and CNSVariable.

◆ SetEddyViscSens()

virtual void CVariable::SetEddyViscSens ( unsigned long  iPoint,
const su2double *  val_EddyViscSens,
unsigned long  numTotalVar 
)
inlinevirtual

Set the Eddy Viscosity Sensitivity of the problem.

Parameters
[in]val_EddyViscSens- Eddy Viscosity Sensitivity.
[in]numTotalVar- Number of variables.

Reimplemented in CAdjTurbVariable.

◆ SetEnergy_ResTruncError_Zero()

void CVariable::SetEnergy_ResTruncError_Zero ( unsigned long  iPoint)
inline

Set the velocity of the truncation error to zero.

Parameters
[in]iPoint- Point index.

◆ SetEnthalpy()

virtual void CVariable::SetEnthalpy ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CEulerVariable.

◆ SetEntropy()

virtual void CVariable::SetEntropy ( unsigned long  iPoint,
su2double  entropy 
)
inlinevirtual

Set fluid entropy.

Parameters
[in]iPoint- Node index
[in]entropy- fluid entropy value.

Reimplemented in CEulerVariable.

◆ SetExternalZero()

void CVariable::SetExternalZero ( )

Set external contributions to zero.

◆ SetFlowTractionSensitivity()

virtual void CVariable::SetFlowTractionSensitivity ( unsigned long  iPoint,
unsigned long  iDim,
su2double  val 
)
inlinevirtual

Set the FSI force sensitivity at the node.

Parameters
[in]iDim- spacial component
[in]val- value of the Sensitivity

Reimplemented in CDiscAdjFEABoundVariable.

◆ SetForceProj_Vector()

virtual void CVariable::SetForceProj_Vector ( unsigned long  iPoint,
const su2double *  val_ForceProj_Vector 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_ForceProj_Vector- Pointer to the force projection vector.

Reimplemented in CAdjEulerVariable.

◆ SetGammaBC()

virtual void CVariable::SetGammaBC ( unsigned long  iPoint,
su2double  val_gamma 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

◆ SetGammaEff()

virtual void CVariable::SetGammaEff ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Sets Effective intermittency

◆ SetGammaSep()

virtual void CVariable::SetGammaSep ( unsigned long  iPoint,
su2double  gamma_sep 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
Returns
Sets separation intermittency

◆ SetGeometry_Direct()

virtual void CVariable::SetGeometry_Direct ( unsigned long  iPoint,
const su2double *  val_coordinate_direct 
)
inlinevirtual

A virtual member. Set the restart geometry (coordinate of the converged solution)

Parameters
[in]val_coordinate_direct- Value of the restart coordinate.

◆ SetGradient()

void CVariable::SetGradient ( unsigned long  iPoint,
su2double **  gradient 
)
inline

Set the gradient of the solution.

Parameters
[in]iPoint- Point index.
[in]gradient- Gradient of the solution.

◆ SetHarmonicBalance_Source()

virtual void CVariable::SetHarmonicBalance_Source ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_source 
)
inlinevirtual

A virtual member.

Parameters
[in]iVar- Index of the variable.
[in]val_source- Value of the harmonic balance source.

Reimplemented in CScalarVariable, CAdjEulerVariable, and CFlowVariable.

◆ SetHbyACorrection()

virtual void CVariable::SetHbyACorrection ( unsigned long  iPoint,
unsigned short  iDim,
su2double  val_HbyAcorrection 
)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ SetIntermittency()

virtual void CVariable::SetIntermittency ( unsigned long  iPoint,
su2double  val_Intermittency 
)
inlinevirtual

Set the intermittency.

Parameters
[in]val_dist- Value of the intermittency.

Reimplemented in CTurbVariable.

◆ SetIntermittencyEff()

virtual void CVariable::SetIntermittencyEff ( unsigned long  iPoint,
su2double  val_Intermittency_eff 
)
inlinevirtual

Set the effective intermittency (gamma_eff).

Parameters
[in]Valueof the effective intermittency (gamma_eff).

Reimplemented in CTransLMVariable.

◆ SetIntermittencySep()

virtual void CVariable::SetIntermittencySep ( unsigned long  iPoint,
su2double  val_Intermittency_sep 
)
inlinevirtual

Set the separation intermittency (gamma_sep).

Parameters
[in]val_dist- Value of the separation intermittency (gamma_sep).

Reimplemented in CTransLMVariable.

◆ SetLambda()

void CVariable::SetLambda ( unsigned long  iPoint,
su2double  val_lambda 
)
inline

Set the value of the spectral radius.

Parameters
[in]iPoint- Point index.
[in]val_lambda- Value of the spectral radius.

◆ SetLaminarViscosity() [1/2]

virtual void CVariable::SetLaminarViscosity ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]config- Definition of the particular problem.

◆ SetLaminarViscosity() [2/2]

virtual void CVariable::SetLaminarViscosity ( unsigned long  iPoint,
su2double  laminarViscosity 
)
inlinevirtual

A virtual member.

Parameters
[in]laminarViscosity

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetLangevinSourceTerms()

virtual void CVariable::SetLangevinSourceTerms ( unsigned long  iPoint,
unsigned short  iDim,
su2double  val_stochSource 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]iDim- Dimension index.
[in]val_stochSource- Source term in Langevin equations.

Reimplemented in CTurbSAVariable.

◆ SetLES_Mode()

virtual void CVariable::SetLES_Mode ( unsigned long  iPoint,
su2double  val_les_mode 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_les_mode- Value of the LES sensor.

Reimplemented in CIncNSVariable, CNSVariable, and CTurbSAVariable.

◆ SetLocalCFL()

void CVariable::SetLocalCFL ( unsigned long  iPoint,
su2double  val_cfl 
)
inline

Set the value of the local CFL number for the current control volume (CV).

Parameters
[in]iPoint- Point index.
[in]val_cfl- the input value of the local CFL number for this CV.

◆ SetLookupScalar()

virtual void CVariable::SetLookupScalar ( unsigned long  iPoint,
su2double  val_lookup_scalar,
unsigned short  val_ivar 
)
inlinevirtual

LUT premixed flamelet: virtual functions for the speciesflameletvariable LUT.

Reimplemented in CSpeciesFlameletVariable.

◆ SetMax_Lambda_Inv()

void CVariable::SetMax_Lambda_Inv ( unsigned long  iPoint,
su2double  val_max_lambda 
)
inline

Set the value of the maximum eigenvalue for the inviscid terms of the PDE.

Parameters
[in]iPoint- Point index.
[in]val_max_lambda- Value of the maximum eigenvalue for the inviscid terms of the PDE.

◆ SetMax_Lambda_Visc()

void CVariable::SetMax_Lambda_Visc ( unsigned long  iPoint,
su2double  val_max_lambda 
)
inline

Set the value of the maximum eigenvalue for the viscous terms of the PDE.

Parameters
[in]iPoint- Point index.
[in]val_max_lambda- Value of the maximum eigenvalue for the viscous terms of the PDE.

◆ SetMesh_Coord()

virtual void CVariable::SetMesh_Coord ( unsigned long  iPoint,
unsigned long  iDim,
su2double  val_coord 
)
inlinevirtual

A virtual member. Set the value of the undeformed coordinates.

Parameters
[in]iDim- Index of Mesh_Coord[nDim]
[in]val_coord- Value of Mesh_Coord[nDim]

Reimplemented in CMeshVariable.

◆ SetMomCoeff()

virtual void CVariable::SetMomCoeff ( unsigned long  iPoint,
su2double  val_Mom_Coeff 
)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ SetMomentumCorrection()

virtual void CVariable::SetMomentumCorrection ( unsigned long  iPoint,
unsigned short  iDim,
su2double  val_mom 
)
inlinevirtual

Reimplemented in CPoissonVariable.

◆ SetmuT()

virtual void CVariable::SetmuT ( unsigned long  iPoint,
su2double  val_muT 
)
inlinevirtual

Set the value of the eddy viscosity.

Parameters
[in]val_muT

Reimplemented in CTurbVariable.

◆ SetNewtonSolverIterations()

virtual void CVariable::SetNewtonSolverIterations ( unsigned long  iPoint,
unsigned long  nIter 
)
inlinevirtual

Set the number of iterations required by a Newton solver used by the fluid model.

Parameters
[in]iPoint- Node index
[in]nIter- Number of iterations evaluated by the Newton solver

Reimplemented in CEulerVariable.

◆ SetNon_Physical()

void CVariable::SetNon_Physical ( unsigned long  iPoint,
bool  val_value 
)
inline

Set the value of the non-physical point.

Parameters
[in]iPoint- Point index.
[in]value- identification of the non-physical point.

◆ SetObjFuncSource()

virtual void CVariable::SetObjFuncSource ( unsigned long  iPoint,
const su2double *  val_SetObjFuncSource 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_SetObjFuncSource- Pointer to the objective function source.

Reimplemented in CAdjEulerVariable.

◆ SetPhi_Old()

virtual void CVariable::SetPhi_Old ( unsigned long  iPoint,
const su2double *  val_phi 
)
inlinevirtual

A virtual member.

Parameters
[in]val_phi- Value of the adjoint velocity.

Reimplemented in CAdjEulerVariable.

◆ SetPressure() [1/4]

virtual void CVariable::SetPressure ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CIncEulerVariable.

◆ SetPressure() [2/4]

virtual bool CVariable::SetPressure ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]config

◆ SetPressure() [3/4]

virtual bool CVariable::SetPressure ( unsigned long  iPoint,
su2double  Gamma 
)
inlinevirtual

A virtual member.

Parameters
[in]Gamma- Ratio of Specific heats

Reimplemented in CEulerVariable.

◆ SetPressure() [4/4]

virtual bool CVariable::SetPressure ( unsigned long  iPoint,
su2double  Gamma,
su2double  turb_ke 
)
inlinevirtual

A virtual member.

◆ SetPrestretch()

virtual void CVariable::SetPrestretch ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_prestretch 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ SetPrimitive() [1/3]

virtual void CVariable::SetPrimitive ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.

◆ SetPrimitive() [2/3]

virtual void CVariable::SetPrimitive ( unsigned long  iPoint,
const su2double *  val_prim 
)
inlinevirtual

A virtual member.

Reimplemented in CFlowVariable.

◆ SetPrimitive() [3/3]

virtual void CVariable::SetPrimitive ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_prim 
)
inlinevirtual

A virtual member.

Reimplemented in CFlowVariable.

◆ SetPrimVar() [1/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetPrimVar() [2/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
CFluidModel *  FluidModel 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CIncNSVariable, CNSVariable, CEulerVariable, CIncEulerVariable, CNEMONSVariable, and CNEMOEulerVariable.

◆ SetPrimVar() [3/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
CNEMOGas *  fluidmodel 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]fluidmodel- fluid model.

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetPrimVar() [4/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
su2double  Density_Inf,
CConfig *  config 
)
inlinevirtual

A virtual member.

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetPrimVar() [5/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
su2double  Density_Inf,
su2double  Viscosity_Inf,
su2double  eddy_visc,
su2double  turb_ke,
CConfig *  config 
)
inlinevirtual

A virtual member.

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetPrimVar() [6/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
su2double  eddy_visc,
su2double  turb_ke,
CConfig *  config 
)
inlinevirtual

A virtual member.

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetPrimVar() [7/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
su2double  eddy_visc,
su2double  turb_ke,
CFluidModel *  FluidModel 
)
inlinevirtual

A virtual member.

Reimplemented in CIncNSVariable, CNSVariable, and CNSVariable.

◆ SetPrimVar() [8/8]

virtual bool CVariable::SetPrimVar ( unsigned long  iPoint,
su2double  SharpEdge_Distance,
bool  check,
CConfig *  config 
)
inlinevirtual

A virtual member.

Reimplemented in CIncNSVariable, CNSVariable, and CAdjEulerVariable.

◆ SetRadiative_SourceTerm()

virtual void CVariable::SetRadiative_SourceTerm ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_RadSourceTerm 
)
inlinevirtual

Virtual member: Set the Radiative source term at the node.

Parameters
[in]val_RadSourceTerm- value of the radiative source term

Reimplemented in CRadVariable.

◆ SetReference_Geometry()

virtual void CVariable::SetReference_Geometry ( unsigned long  iPoint,
unsigned long  iVar,
su2double  ref_geometry 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ SetRes_TruncErrorZero()

void CVariable::SetRes_TruncErrorZero ( unsigned long  iPoint)
inline

Set the truncation error to zero.

Parameters
[in]iPoint- Point index.

◆ SetResidual_Old()

void CVariable::SetResidual_Old ( unsigned long  iPoint,
const su2double *  val_residual_old 
)
inline

Set the value of the old residual.

Parameters
[in]iPoint- Point index.
[in]val_residual_old- Pointer to the residual vector.

◆ SetResidualSumZero()

void CVariable::SetResidualSumZero ( unsigned long  iPoint)
inline

Set summed residual vector to zero value.

◆ SetResTruncError()

void CVariable::SetResTruncError ( unsigned long  iPoint,
su2double *  val_trunc_error 
)
inline

Set the truncation error.

Parameters
[in]iPoint- Point index.
[in]val_trunc_error- Pointer to the truncation error.

◆ SetRoe_Dissipation()

virtual void CVariable::SetRoe_Dissipation ( unsigned long  iPoint,
su2double  val_dissipation 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CNSVariable.

◆ SetRoe_Dissipation_FD()

virtual void CVariable::SetRoe_Dissipation_FD ( unsigned long  iPoint,
su2double  val_wall_dist 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CNSVariable.

◆ SetRoe_Dissipation_NTS()

virtual void CVariable::SetRoe_Dissipation_NTS ( unsigned long  iPoint,
su2double  val_delta,
su2double  val_const_DES 
)
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.
[in]val_delta- A scalar measure of the grid size
[in]val_const_DES- The DES constant (C_DES)

Reimplemented in CNSVariable.

◆ SetScalarSource()

virtual void CVariable::SetScalarSource ( unsigned long  iPoint,
unsigned short  val_ivar,
su2double  val_source 
)
inlinevirtual

Reimplemented in CSpeciesFlameletVariable.

◆ SetSecondary() [1/2]

virtual void CVariable::SetSecondary ( unsigned long  iPoint,
const su2double *  val_secondary 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ SetSecondary() [2/2]

virtual void CVariable::SetSecondary ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_secondary 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, and CNEMOEulerVariable.

◆ SetSecondaryVar()

virtual void CVariable::SetSecondaryVar ( unsigned long  iPoint,
CFluidModel *  FluidModel 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, and CNSVariable.

◆ SetSensitivity()

virtual void CVariable::SetSensitivity ( unsigned long  iPoint,
unsigned long  iDim,
su2double  val 
)
inlinevirtual

Set the sensitivity at the node.

Parameters
[in]iDim- spacial component
[in]val- value of the Sensitivity

Reimplemented in CDiscAdjVariable, and CSobolevSmoothingVariable.

◆ SetSensor()

void CVariable::SetSensor ( unsigned long  iPoint,
su2double  val_sensor 
)
inline

Set pressure sensor.

Parameters
[in]iPoint- Point index.
[in]val_sensor- Value of the pressure sensor.

◆ SetSolution() [1/2]

void CVariable::SetSolution ( unsigned long  iPoint,
const su2double *  solution 
)
inline

Set the value of the solution, all variables.

Parameters
[in]iPoint- Point index.
[in]solution- Solution of the problem.

◆ SetSolution() [2/2]

void CVariable::SetSolution ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution 
)
inline

Set the value of the solution, one variable.

Parameters
[in]iPoint- Point index.
[in]iVar- Index of the variable.
[in]solution- Value of the solution for the index iVar.

◆ SetSolution_Accel() [1/2]

virtual void CVariable::SetSolution_Accel ( unsigned long  iPoint,
const su2double *  solution_accel 
)
inlinevirtual

Set the value of the acceleration (Structural Analysis).

Parameters
[in]solution_accel- Solution of the problem (acceleration).

Reimplemented in CFEAVariable.

◆ SetSolution_Accel() [2/2]

virtual void CVariable::SetSolution_Accel ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_accel 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]iVar- Index of the variable.
[in]solution_accel- Value of the solution for the index iVar.

Reimplemented in CFEAVariable.

◆ SetSolution_Accel_time_n() [1/2]

virtual void CVariable::SetSolution_Accel_time_n ( unsigned long  iPoint,
const su2double *  solution_accel_time_n 
)
inlinevirtual

Set the value of the acceleration (Structural Analysis) at time n.

Parameters
[in]solution_accel_time_n- Pointer to the residual vector.

Reimplemented in CFEAVariable.

◆ SetSolution_Accel_time_n() [2/2]

virtual void CVariable::SetSolution_Accel_time_n ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_accel_time_n 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]iVar- Index of the variable.
[in]solution_accel_time_n- Value of the old solution for the index iVar.

Reimplemented in CFEAVariable.

◆ SetSolution_Direct()

virtual void CVariable::SetSolution_Direct ( unsigned long  iPoint,
const su2double *  solution_direct 
)
inlinevirtual

A virtual member. Set the direct solution for the adjoint solver.

Parameters
[in]solution_direct- Value of the direct solution.

Reimplemented in CDiscAdjVariable.

◆ SetSolution_Geometry() [1/2]

virtual void CVariable::SetSolution_Geometry ( unsigned long  iPoint,
const su2double *  solution_geometry 
)
inlinevirtual

A virtual member. Set the value of the mesh solution (adjoint).

Parameters
[in]solution- Solution of the problem (acceleration).

◆ SetSolution_Geometry() [2/2]

virtual void CVariable::SetSolution_Geometry ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_geometry 
)
inlinevirtual

A virtual member. Set the value of the mesh solution (adjoint).

Parameters
[in]solution- Solution of the problem (acceleration).

◆ SetSolution_New()

virtual void CVariable::SetSolution_New ( )
inlinevirtual

A virtual member.

Parameters
[in]iPoint- Point index.

Reimplemented in CFlowVariable.

◆ SetSolution_Old() [1/2]

void CVariable::SetSolution_Old ( unsigned long  iPoint,
const su2double *  solution_old 
)
inline

Set the value of the old solution.

Parameters
[in]iPoint- Point index.
[in]solution_old- Pointer to the residual vector.

◆ SetSolution_Old() [2/2]

void CVariable::SetSolution_Old ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_old 
)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]iVar- Index of the variable.
[in]iPoint- Point index.
[in]solution_old- Value of the old solution for the index iVar.

◆ SetSolution_Pred()

virtual void CVariable::SetSolution_Pred ( unsigned long  iPoint,
const su2double *  solution_pred 
)
inlinevirtual

A virtual member. Set the value of the old solution.

Parameters
[in]solution_pred- Pointer to the residual vector.

Reimplemented in CFEAVariable.

◆ SetSolution_Pred_Old()

virtual void CVariable::SetSolution_Pred_Old ( unsigned long  iPoint,
const su2double *  solution_pred_Old 
)
inlinevirtual

A virtual member. Set the value of the old solution.

Parameters
[in]solution_pred_Old- Pointer to the residual vector.

Reimplemented in CFEAVariable.

◆ SetSolution_Vel() [1/2]

virtual void CVariable::SetSolution_Vel ( unsigned long  iPoint,
const su2double *  solution 
)
inlinevirtual

Set the value of the velocity (Structural Analysis).

Parameters
[in]solution- Solution of the problem (velocity).

Reimplemented in CFEAVariable.

◆ SetSolution_Vel() [2/2]

virtual void CVariable::SetSolution_Vel ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_vel 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]iVar- Index of the variable.
[in]solution_vel- Value of the solution for the index iVar.

Reimplemented in CFEAVariable.

◆ SetSolution_Vel_Pred()

virtual void CVariable::SetSolution_Vel_Pred ( unsigned long  iPoint,
const su2double *  val_solution_pred 
)
inlinevirtual

A virtual member. Set the value of the velocity solution predictor.

Reimplemented in CFEAVariable.

◆ SetSolution_Vel_time_n() [1/2]

virtual void CVariable::SetSolution_Vel_time_n ( unsigned long  iPoint,
const su2double *  solution_vel_time_n 
)
inlinevirtual

Set the value of the velocity (Structural Analysis) at time n.

Parameters
[in]solution_vel_time_n- Value of the old solution.

Reimplemented in CFEAVariable.

◆ SetSolution_Vel_time_n() [2/2]

virtual void CVariable::SetSolution_Vel_time_n ( unsigned long  iPoint,
unsigned long  iVar,
su2double  solution_vel_time_n 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]iVar- Index of the variable.
[in]solution_vel_time_n- Value of the old solution for the index iVar.

Reimplemented in CFEAVariable.

◆ SetSoundSpeed()

virtual bool CVariable::SetSoundSpeed ( unsigned long  iPoint,
su2double  soundspeed2 
)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable.

◆ SetSourceTerm_DispAdjoint()

virtual void CVariable::SetSourceTerm_DispAdjoint ( unsigned long  iPoint,
unsigned long  iDim,
su2double  val 
)
inlinevirtual

Set the source term applied into the displacement adjoint coming from external solvers.

Parameters
[in]iDim- spacial component
[in]val- value of the source term

Reimplemented in CDiscAdjFEABoundVariable.

◆ SetSourceTerm_VelAdjoint()

virtual void CVariable::SetSourceTerm_VelAdjoint ( unsigned long  iPoint,
unsigned long  iDim,
su2double  val 
)
inlinevirtual

Reimplemented in CDiscAdjFEABoundVariable.

◆ SetSpecificHeatCp()

virtual void CVariable::SetSpecificHeatCp ( unsigned long  iPoint,
su2double  Cp 
)
inlinevirtual

A virtual member.

Parameters
[in]Cp- Constant pressure specific heat.

Reimplemented in CIncEulerVariable, and CNSVariable.

◆ SetSpecificHeatCv()

virtual void CVariable::SetSpecificHeatCv ( unsigned long  iPoint,
su2double  Cv 
)
inlinevirtual

A virtual member.

Parameters
[in]Cv- Constant volume specific heat.

Reimplemented in CIncEulerVariable.

◆ SetStreamwise_Periodic_RecoveredPressure()

virtual void CVariable::SetStreamwise_Periodic_RecoveredPressure ( unsigned long  iPoint,
su2double  val_pressure 
)
inlinevirtual

A virtual member: Set the recovered pressure for streamwise periodic flow.

Parameters
[in]iPoint- Point index.
[in]val_pressure- pressure value.

Reimplemented in CIncEulerVariable.

◆ SetStreamwise_Periodic_RecoveredTemperature()

virtual void CVariable::SetStreamwise_Periodic_RecoveredTemperature ( unsigned long  iPoint,
su2double  val_temperature 
)
inlinevirtual

A virtual member: Set the recovered temperature for streamwise periodic flow.

Parameters
[in]iPoint- Point index.
[in]val_temperature- temperature value.

Reimplemented in CIncEulerVariable.

◆ SetStress_FEM()

virtual void CVariable::SetStress_FEM ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_stress 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ SetTableMisses()

virtual void CVariable::SetTableMisses ( unsigned long  iPoint,
unsigned short  misses 
)
inlinevirtual

Reimplemented in CSpeciesFlameletVariable.

◆ SetTau_Wall()

virtual void CVariable::SetTau_Wall ( unsigned long  iPoint,
su2double  tau_wall 
)
inlinevirtual

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetTemperature() [1/2]

virtual bool CVariable::SetTemperature ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.

◆ SetTemperature() [2/2]

virtual bool CVariable::SetTemperature ( unsigned long  iPoint,
su2double  Gas_Constant 
)
inlinevirtual

A virtual member.

Parameters
[in]Gas_Constant- Value of the Gas Constant

Reimplemented in CEulerVariable.

◆ SetTemperature_ve()

virtual bool CVariable::SetTemperature_ve ( unsigned long  iPoint,
su2double  val_Tve 
)
inlinevirtual

Sets the vibrational electronic temperature of the flow.

Returns
Value of the temperature of the flow.

Reimplemented in CNEMOEulerVariable.

◆ SetThermalCoeff()

virtual void CVariable::SetThermalCoeff ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

Set the thermal coefficient.

Parameters
[in]config- Configuration parameters.

◆ SetThermalConductivity() [1/2]

virtual void CVariable::SetThermalConductivity ( unsigned long  iPoint,
CConfig *  config 
)
inlinevirtual

A virtual member.

Parameters
[in]config- Definition of the particular problem.

◆ SetThermalConductivity() [2/2]

virtual void CVariable::SetThermalConductivity ( unsigned long  iPoint,
su2double  thermalConductivity 
)
inlinevirtual

A virtual member.

Parameters
[in]thermalConductivity

Reimplemented in CIncNSVariable, and CNSVariable.

◆ SetTurbIndex()

virtual void CVariable::SetTurbIndex ( unsigned long  iPoint,
su2double  val_turb_index 
)
inlinevirtual

Set the value of the turbulence index.

Parameters
[in]val_turb_index- turbulence index

Reimplemented in CTurbVariable.

◆ SetUnd_Lapl()

void CVariable::SetUnd_Lapl ( unsigned long  iPoint,
unsigned long  iVar,
su2double  val_und_lapl 
)
inline

Set a value to the undivided laplacian.

Parameters
[in]iPoint- Point index.
[in]iVar- Variable of the undivided laplacian.
[in]val_und_lapl- Value of the undivided laplacian.

◆ SetUnderRelaxation()

void CVariable::SetUnderRelaxation ( unsigned long  iPoint,
su2double  val_under_relaxation 
)
inline

Set the value of the under-relaxation parameter for the current control volume (CV).

Parameters
[in]iPoint- Point index.
[in]val_under_relaxation- the input value of the under-relaxation parameter for this CV.

◆ SetVal_ResTruncError_Zero()

void CVariable::SetVal_ResTruncError_Zero ( unsigned long  iPoint,
unsigned long  iVar 
)
inline

Set the truncation error to zero.

Parameters
[in]iPoint- Point index.

◆ SetVel_ResTruncError_Zero()

virtual void CVariable::SetVel_ResTruncError_Zero ( unsigned long  iPoint)
inlinevirtual

Set the momentum part of the truncation error to zero.

Parameters
[in]iPoint- Point index.

Reimplemented in CAdjEulerVariable, CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ SetVelocity()

virtual void CVariable::SetVelocity ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ SetVelocity2()

virtual void CVariable::SetVelocity2 ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CNEMOEulerVariable.

◆ SetVelocity_Old()

virtual void CVariable::SetVelocity_Old ( unsigned long  iPoint,
const su2double *  val_velocity 
)
inlinevirtual

A virtual member.

Parameters
[in]val_velocity- Pointer to the velocity.

Reimplemented in CAdjEulerVariable, CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ SetVelSolutionDVector()

virtual void CVariable::SetVelSolutionDVector ( unsigned long  iPoint)
inlinevirtual

A virtual member.

Reimplemented in CAdjNSVariable.

◆ SetVelSolutionVector()

virtual void CVariable::SetVelSolutionVector ( unsigned long  iPoint,
const su2double *  val_vector 
)
inlinevirtual

Virtual Member. Specify a vector to set the velocity components of the solution. Multiplied by density for compressible cases.

Parameters
[in]iPoint- Point index.
[in]val_vector- Pointer to the vector.

Reimplemented in CAdjEulerVariable, CEulerVariable, CIncEulerVariable, and CNEMOEulerVariable.

◆ SetVonMises_Stress()

virtual void CVariable::SetVonMises_Stress ( unsigned long  iPoint,
su2double  val_stress 
)
inlinevirtual

A virtual member.

Reimplemented in CFEAVariable.

◆ SetVortex_Tilting()

virtual void CVariable::SetVortex_Tilting ( unsigned long  iPoint,
CMatrixView< const su2double >  PrimGrad_Flow,
const su2double *  Vorticity,
su2double  LaminarViscosity 
)
inlinevirtual

Reimplemented in CTurbSAVariable.

◆ SetWallDistance()

virtual void CVariable::SetWallDistance ( unsigned long  iPoint,
su2double  val_dist 
)
inlinevirtual

A virtual member. Set the value of the wall distance in reference coordinates.

Parameters
[in]val_dist- Value of wall distance.

Reimplemented in CMeshVariable.

◆ SubtractRes_TruncError()

void CVariable::SubtractRes_TruncError ( unsigned long  iPoint,
const su2double *  val_truncation_error 
)
inline

Subtract a value to the truncation error.

Parameters
[in]iPoint- Point index.
[in]val_truncation_error- Value that we want to subtract to the truncation error.

Member Data Documentation

◆ AD_InputIndex

su2matrix<AD::Identifier> CVariable::AD_InputIndex
protected

Indices of Solution variables in the adjoint vector before solver iteration.

◆ AD_OutputIndex

su2matrix<AD::Identifier> CVariable::AD_OutputIndex
protected

Indices of Solution variables in the adjoint vector after solver iteration.

◆ AuxVar

MatrixType CVariable::AuxVar
protected

Auxiliary variable for gradient computation.

◆ Delta_Time

VectorType CVariable::Delta_Time
protected

Time step.

◆ EmptyVector

const VectorType CVariable::EmptyVector {}
inlinestaticprotected

◆ External

MatrixType CVariable::External
protected

External (outer) contribution in discrete adjoint multizone problems.

◆ ExternalExtra

VectorType CVariable::ExternalExtra
protected

External storage for the adjoint value (i.e. for the OF mainly.

◆ Grad_AuxVar

CVectorOfMatrix CVariable::Grad_AuxVar
protected

Gradient of the auxiliary variables of the problem.

◆ Gradient

CVectorOfMatrix CVariable::Gradient
protected

Gradient of the solution of the problem.

◆ Lambda

VectorType CVariable::Lambda
protected

Value of the eingenvalue.

◆ Limiter

MatrixType CVariable::Limiter
protected

Limiter of the solution of the problem.

◆ LocalCFL

VectorType CVariable::LocalCFL
protected

Value of the CFL number local to the control volume.

◆ Max_Lambda_Inv

VectorType CVariable::Max_Lambda_Inv
protected

Maximun inviscid eingenvalue.

◆ Max_Lambda_Visc

VectorType CVariable::Max_Lambda_Visc
protected

Maximun viscous eingenvalue.

◆ nAuxVar

unsigned long CVariable::nAuxVar = 0
protected

Number of auxiliary variables.

Handed out by the base implementations of the container accessors of fields only some models have, e.g. GetF1blending; a solver that has no such field never reads it.

◆ nDim

unsigned long CVariable::nDim = 0
protected

Number of dimension of the problem.

◆ Non_Physical

su2vector<bool> CVariable::Non_Physical
protected

Non-physical points in the solution (force first order).

◆ Non_Physical_Counter

su2vector<unsigned short> CVariable::Non_Physical_Counter
protected

Number of consecutive iterations that a point has been treated first-order. After a specified number of successful reconstructions, the point can be returned to second-order.

◆ nPoint

unsigned long CVariable::nPoint = 0
protected

Number of points in the domain.

◆ nPrimVar

unsigned long CVariable::nPrimVar = 0
protected

Number of primitive variables.

◆ nPrimVarGrad

unsigned long CVariable::nPrimVarGrad = 0
protected

Number of primitives for which a gradient is computed.

◆ nSecondaryVar

unsigned long CVariable::nSecondaryVar = 0
protected

Number of secondary variables.

◆ nVar

unsigned long CVariable::nVar = 0
protected

Number of variables of the problem.

◆ Res_TruncError

MatrixType CVariable::Res_TruncError
protected

Truncation error for multigrid cycle.

◆ Residual_Old

MatrixType CVariable::Residual_Old
protected

Auxiliary structure for residual smoothing.

◆ Residual_Sum

MatrixType CVariable::Residual_Sum
protected

Auxiliary structure for residual smoothing.

◆ Rmatrix

C3DDoubleMatrix CVariable::Rmatrix
protected

Geometry-based matrix for weighted least squares gradient calculations.

◆ Sensor

VectorType CVariable::Sensor
protected

Pressure sensor for high order central scheme and Roe dissipation.

◆ Solution

MatrixType CVariable::Solution
protected

Solution of the problem.

◆ Solution_BGS_k

MatrixType CVariable::Solution_BGS_k
protected

Old solution container for BGS iterations.

◆ Solution_Max

MatrixType CVariable::Solution_Max
protected

Max solution for limiter computation.

◆ Solution_Min

MatrixType CVariable::Solution_Min
protected

Min solution for limiter computation.

◆ Solution_Old

MatrixType CVariable::Solution_Old
protected

Old solution of the problem R-K.

◆ Solution_time_n

MatrixType CVariable::Solution_time_n
protected

Solution of the problem at time n for dual-time stepping technique.

◆ Solution_time_n1

MatrixType CVariable::Solution_time_n1
protected

Solution of the problem at time n-1 for dual-time stepping technique.

◆ SolutionExtra

VectorType CVariable::SolutionExtra
protected

Stores adjoint solution for extra solution variables. Currently only streamwise periodic pressure-drop for massflow prescribed flows.

◆ SolutionExtra_BGS_k

VectorType CVariable::SolutionExtra_BGS_k
protected

Intermediate storage, enables cross term extraction as that is also pushed to Solution.

◆ UnderRelaxation

VectorType CVariable::UnderRelaxation
protected

Value of the under-relaxation parameter local to the control volume.

◆ Undivided_Laplacian

MatrixType CVariable::Undivided_Laplacian
protected

Undivided laplacian of the solution.

◆ UserDefinedSource

MatrixType CVariable::UserDefinedSource
protected

User Defined Source of the problem.


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