SU2
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CVariable Class Reference

Main class for defining the variables. More...

#include <variable_structure.hpp>

Inheritance diagram for CVariable:
CAdjEulerVariable CAdjIncEulerVariable CAdjTurbVariable CBaselineVariable CDiscAdjVariable CEulerVariable CFEABoundVariable CFEM_ElasVariable CHeatVariable CIncEulerVariable CPotentialVariable CTemplateVariable CTurbVariable CWaveVariable

Public Member Functions

 CVariable (void)
 Constructor of the class.
 
 CVariable (unsigned short val_nvar, CConfig *config)
 
 CVariable (unsigned short val_nDim, unsigned short val_nvar, CConfig *config)
 
virtual ~CVariable (void)
 Destructor of the class.
 
void SetSolution (su2double *val_solution)
 Set the value of the solution. More...
 
void SetSolution (unsigned short val_var, su2double val_solution)
 
void Add_DeltaSolution (unsigned short val_var, su2double val_solution)
 Add the value of the solution vector to the previous solution (incremental approach). More...
 
void SetNon_Physical (bool val_value)
 Set the value of the non-physical point. More...
 
su2double GetNon_Physical (void)
 Get the value of the non-physical point. More...
 
su2double GetSolution (unsigned short val_var)
 Get the solution. More...
 
su2double GetSolution_Old (unsigned short val_var)
 Get the old solution of the problem (Runge-Kutta method) More...
 
void SetSolution_Old (su2double *val_solution_old)
 Set the value of the old solution. More...
 
void SetSolution_Old (unsigned short val_var, su2double val_solution_old)
 
void Set_OldSolution (void)
 Set old variables to the value of the current variables.
 
void Set_Solution (void)
 Set variables to the value of the old variables.
 
void Set_Solution_time_n (void)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (void)
 Set the variable solution at time n-1.
 
void Set_Solution_time_n (su2double *val_sol)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (su2double *val_sol)
 Set the variable solution at time n-1.
 
void SetVelSolutionZero (void)
 Set to zero the velocity components of the solution.
 
void SetVelSolutionVector (su2double *val_vector)
 Specify a vector to set the velocity components of the solution. More...
 
void SetVelSolutionOldZero (void)
 Set to zero velocity components of the solution.
 
void SetVelSolutionOldVector (su2double *val_vector)
 Specify a vector to set the velocity components of the old solution. More...
 
void SetSolutionZero (void)
 Set to zero the solution.
 
void SetSolutionZero (unsigned short val_var)
 Set to zero a particular solution.
 
void AddSolution (unsigned short val_var, su2double val_solution)
 Add a value to the solution. More...
 
void AddClippedSolution (unsigned short val_var, su2double val_solution, su2double lowerlimit, su2double upperlimit)
 Add a value to the solution, clipping the values. More...
 
void AddConservativeSolution (unsigned short val_var, su2double val_solution, su2double val_density, su2double val_density_old, su2double lowerlimit, su2double upperlimit)
 Update the variables using a conservative format. More...
 
su2double * GetSolution (void)
 Get the solution of the problem. More...
 
su2double * GetSolution_Old (void)
 Get the old solution of the problem (Runge-Kutta method) More...
 
su2double * GetSolution_time_n (void)
 Get the solution at time n. More...
 
su2double * GetSolution_time_n1 (void)
 Get the solution at time n-1. More...
 
void SetResidual_Old (su2double *val_residual_old)
 Set the value of the old residual. More...
 
void AddResidual_Sum (su2double *val_residual)
 Add a value to the summed residual vector. More...
 
void SetResidualSumZero (void)
 Set summed residual vector to zero value.
 
virtual void SetVel_ResTruncError_Zero (unsigned short iSpecies)
 Set the velocity of the truncation error to zero.
 
su2double * GetResidual_Sum (void)
 Get the value of the summed residual. More...
 
su2double * GetResidual_Old (void)
 Get the value of the old residual. More...
 
void GetResidual_Sum (su2double *val_residual)
 Get the value of the summed residual. More...
 
void SetAuxVar (su2double val_auxvar)
 Set auxiliar variables, we are looking for the gradient of that variable. More...
 
su2double GetAuxVar (void)
 Get the value of the auxiliary variable. More...
 
void SetAuxVarGradientZero (void)
 Set the auxiliary variable gradient to zero value.
 
void SetAuxVarGradient (unsigned short val_dim, su2double val_gradient)
 Set the value of the auxiliary variable gradient. More...
 
void AddAuxVarGradient (unsigned short val_dim, su2double val_value)
 Add a value to the auxiliary variable gradient. More...
 
void SubtractAuxVarGradient (unsigned short val_dim, su2double val_value)
 Subtract a value to the auxiliary variable gradient. More...
 
su2double * GetAuxVarGradient (void)
 Get the gradient of the auxiliary variable. More...
 
su2double GetAuxVarGradient (unsigned short val_dim)
 Get the gradient of the auxiliary variable. More...
 
void AddRes_TruncError (su2double *val_truncation_error)
 Add a value to the truncation error. More...
 
void SubtractRes_TruncError (su2double *val_truncation_error)
 Subtract a value to the truncation error. More...
 
void SetRes_TruncErrorZero (void)
 Set the truncation error to zero.
 
void SetVal_ResTruncError_Zero (unsigned short val_var)
 Set the truncation error to zero.
 
void SetVel_ResTruncError_Zero (void)
 Set the velocity of the truncation error to zero.
 
void SetEnergy_ResTruncError_Zero (void)
 Set the velocity of the truncation error to zero.
 
su2double * GetResTruncError (void)
 Get the truncation error. More...
 
void GetResTruncError (su2double *val_trunc_error)
 Get the truncation error. More...
 
void SetGradient (su2double **val_gradient)
 Set the gradient of the solution. More...
 
void SetGradient (unsigned short val_var, unsigned short val_dim, su2double val_value)
 
void SetGradientZero (void)
 Set to zero the gradient of the solution.
 
void AddGradient (unsigned short val_var, unsigned short val_dim, su2double val_value)
 Add val_value to the solution gradient. More...
 
void SubtractGradient (unsigned short val_var, unsigned short val_dim, su2double val_value)
 Subtract val_value to the solution gradient. More...
 
su2double ** GetGradient (void)
 Get the value of the solution gradient. More...
 
su2double GetGradient (unsigned short val_var, unsigned short val_dim)
 Get the value of the solution gradient. More...
 
void SetLimiter (unsigned short val_var, su2double val_limiter)
 Set the value of the limiter. More...
 
virtual void SetLimiterPrimitive (unsigned short val_species, unsigned short val_var, su2double val_limiter)
 Set the value of the limiter. More...
 
virtual su2double GetLimiterPrimitive (unsigned short val_species, unsigned short val_var)
 Set the value of the limiter. More...
 
void SetSolution_Max (unsigned short val_var, su2double val_solution)
 Set the value of the max solution. More...
 
void SetSolution_Min (unsigned short val_var, su2double val_solution)
 Set the value of the min solution. More...
 
su2double * GetLimiter (void)
 Get the value of the slope limiter. More...
 
su2double GetLimiter (unsigned short val_var)
 Get the value of the slope limiter. More...
 
su2double GetSolution_Max (unsigned short val_var)
 Get the value of the min solution. More...
 
su2double GetSolution_Min (unsigned short val_var)
 Get the value of the min solution. More...
 
virtual su2double GetPreconditioner_Beta ()
 Get the value of the preconditioner Beta. More...
 
virtual void SetPreconditioner_Beta (su2double val_Beta)
 Set the value of the preconditioner Beta. More...
 
virtual su2double * GetWindGust ()
 Get the value of the wind gust. More...
 
virtual void SetWindGust (su2double *val_WindGust)
 Set the value of the wind gust. More...
 
virtual su2double * GetWindGustDer ()
 Get the value of the derivatives of the wind gust. More...
 
virtual void SetWindGustDer (su2double *val_WindGust)
 Set the value of the derivatives of the wind gust. More...
 
void SetDelta_Time (su2double val_delta_time)
 Set the value of the time step. More...
 
virtual void SetDelta_Time (su2double val_delta_time, unsigned short iSpecies)
 Set the value of the time step. More...
 
su2double GetDelta_Time (void)
 Get the value of the time step. More...
 
virtual su2double GetDelta_Time (unsigned short iSpecies)
 Get the value of the time step. More...
 
void SetMax_Lambda (su2double val_max_lambda)
 Set the value of the maximum eigenvalue. More...
 
void SetMax_Lambda_Inv (su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the inviscid terms of the PDE. More...
 
virtual void SetMax_Lambda_Inv (su2double val_max_lambda, unsigned short val_species)
 Set the value of the maximum eigenvalue for the inviscid terms of the PDE. More...
 
void SetMax_Lambda_Visc (su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the viscous terms of the PDE. More...
 
virtual void SetMax_Lambda_Visc (su2double val_max_lambda, unsigned short val_species)
 Set the value of the maximum eigenvalue for the viscous terms of the PDE. More...
 
void AddMax_Lambda (su2double val_max_lambda)
 Add a value to the maximum eigenvalue. More...
 
void AddMax_Lambda_Inv (su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the inviscid terms of the PDE. More...
 
void AddMax_Lambda_Visc (su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the viscous terms of the PDE. More...
 
su2double GetMax_Lambda (void)
 Get the value of the maximum eigenvalue. More...
 
su2double GetMax_Lambda_Inv (void)
 Get the value of the maximum eigenvalue for the inviscid terms of the PDE. More...
 
su2double GetMax_Lambda_Visc (void)
 Get the value of the maximum eigenvalue for the viscous terms of the PDE. More...
 
void SetLambda (su2double val_lambda)
 Set the value of the spectral radius. More...
 
virtual void SetLambda (su2double val_lambda, unsigned short val_iSpecies)
 Set the value of the spectral radius. More...
 
void AddLambda (su2double val_lambda)
 Add the value of the spectral radius. More...
 
virtual void AddLambda (su2double val_lambda, unsigned short val_iSpecies)
 Add the value of the spectral radius. More...
 
su2double GetLambda (void)
 Get the value of the spectral radius. More...
 
virtual su2double GetLambda (unsigned short val_iSpecies)
 Get the value of the spectral radius. More...
 
void SetSensor (su2double val_sensor)
 Set pressure sensor. More...
 
virtual void SetSensor (su2double val_sensor, unsigned short iSpecies)
 Set pressure sensor. More...
 
su2double GetSensor (void)
 Get the pressure sensor. More...
 
virtual su2double GetSensor (unsigned short iSpecies)
 Get the pressure sensor. More...
 
void SetUndivided_Laplacian (unsigned short val_var, su2double val_undivided_laplacian)
 Set the value of the undivided laplacian of the solution. More...
 
void AddUnd_Lapl (su2double *val_und_lapl)
 Add the value of the undivided laplacian of the solution. More...
 
void SubtractUnd_Lapl (su2double *val_und_lapl)
 Subtract the value of the undivided laplacian of the solution. More...
 
void SubtractUnd_Lapl (unsigned short val_var, su2double val_und_lapl)
 Subtract the value of the undivided laplacian of the solution. More...
 
void SetUnd_LaplZero (void)
 Set the undivided laplacian of the solution to zero.
 
void SetUnd_Lapl (unsigned short val_var, su2double val_und_lapl)
 Set a value to the undivided laplacian. More...
 
su2double * GetUndivided_Laplacian (void)
 Get the undivided laplacian of the solution. More...
 
su2double GetUndivided_Laplacian (unsigned short val_var)
 Get the undivided laplacian of the solution. More...
 
virtual su2double GetDensity (void)
 A virtual member. More...
 
virtual su2double GetDensity (unsigned short val_iSpecies)
 A virtual member. More...
 
virtual su2double GetMassFraction (unsigned short val_Species)
 A virtual member. More...
 
virtual su2double GetEnergy (void)
 A virtual member. More...
 
virtual su2double * GetForceProj_Vector (void)
 A virtual member. More...
 
virtual su2double * GetObjFuncSource (void)
 A virtual member. More...
 
virtual su2double * GetIntBoundary_Jump (void)
 A virtual member. More...
 
virtual su2double GetEddyViscosity (void)
 A virtual member. More...
 
virtual su2double GetEnthalpy (void)
 A virtual member. More...
 
virtual su2double GetPressure (void)
 A virtual member. More...
 
virtual su2double GetProjVel (su2double *val_vector)
 A virtual member. More...
 
virtual su2double GetProjVel (su2double *val_vector, unsigned short val_species)
 A virtual member. More...
 
virtual su2double GetSoundSpeed (void)
 A virtual member. More...
 
virtual su2double GetBetaInc2 (void)
 A virtual member. More...
 
virtual su2double GetTemperature (void)
 A virtual member. More...
 
virtual su2double GetTemperature_ve (void)
 A virtual member. More...
 
virtual su2double GetRhoCv_tr (void)
 A virtual member – Get the mixture specific heat at constant volume (trans.-rot.). More...
 
virtual su2double GetRhoCv_ve (void)
 A virtual member – Get the mixture specific heat at constant volume (vib.-el.). More...
 
virtual su2double GetVelocity (unsigned short val_dim)
 A virtual member. More...
 
virtual su2double GetVelocity2 (void)
 A virtual member. More...
 
virtual su2double GetVelocity2 (unsigned short val_species)
 A virtual member. More...
 
virtual su2double GetLaminarViscosity (void)
 A virtual member. More...
 
virtual su2double GetLaminarViscosity (unsigned short iSpecies)
 A virtual member. More...
 
virtual su2double * GetDiffusionCoeff (void)
 A virtual member. More...
 
virtual su2double GetThermalConductivity (void)
 A virtual member. More...
 
virtual su2double GetSpecificHeatCp (void)
 A virtual member. More...
 
virtual su2double GetThermalConductivity_ve (void)
 A virtual member. More...
 
virtual void SetGammaSep (su2double gamma_sep)
 A virtual member. More...
 
virtual void SetGammaEff (void)
 A virtual member. More...
 
virtual su2double GetIntermittency ()
 A virtual member. More...
 
virtual su2double * GetVorticity (void)
 A virtual member. More...
 
virtual su2double GetStrainMag (void)
 A virtual member. More...
 
virtual void SetForceProj_Vector (su2double *val_ForceProj_Vector)
 A virtual member. More...
 
virtual void SetObjFuncSource (su2double *val_SetObjFuncSource)
 A virtual member. More...
 
virtual void SetIntBoundary_Jump (su2double *val_IntBoundary_Jump)
 A virtual member. More...
 
virtual void SetEddyViscosity (su2double eddy_visc)
 A virtual member. More...
 
virtual void SetEnthalpy (void)
 A virtual member.
 
virtual bool SetPrimVar (CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (CFluidModel *FluidModel)
 A virtual member.
 
virtual void SetSecondaryVar (CFluidModel *FluidModel)
 A virtual member.
 
virtual bool Cons2PrimVar (CConfig *config, su2double *U, su2double *V, su2double *dPdU, su2double *dTdU, su2double *dTvedU)
 A virtual member.
 
virtual void Prim2ConsVar (CConfig *config, su2double *V, su2double *U)
 A virtual member.
 
virtual bool SetPrimVar (su2double SharpEdge_Distance, bool check, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (su2double eddy_visc, su2double turb_ke, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (su2double Density_Inf, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (su2double Density_Inf, su2double Viscosity_Inf, su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual su2double GetPrimitive (unsigned short val_var)
 A virtual member.
 
virtual void SetPrimitive (unsigned short val_var, su2double val_prim)
 A virtual member.
 
virtual void SetPrimitive (su2double *val_prim)
 A virtual member.
 
virtual su2double * GetPrimitive (void)
 A virtual member.
 
virtual su2double GetSecondary (unsigned short val_var)
 A virtual member.
 
virtual void SetSecondary (unsigned short val_var, su2double val_secondary)
 A virtual member.
 
virtual void SetSecondary (su2double *val_secondary)
 A virtual member.
 
virtual void SetdPdrho_e (su2double dPdrho_e)
 A virtual member.
 
virtual void SetdPde_rho (su2double dPde_rho)
 A virtual member.
 
virtual void SetdTdrho_e (su2double dTdrho_e)
 A virtual member.
 
virtual void SetdTde_rho (su2double dTde_rho)
 A virtual member.
 
virtual void Setdmudrho_T (su2double dmudrho_T)
 A virtual member.
 
virtual void SetdmudT_rho (su2double dmudT_rho)
 A virtual member.
 
virtual void Setdktdrho_T (su2double dktdrho_T)
 A virtual member.
 
virtual void SetdktdT_rho (su2double dktdT_rho)
 A virtual member.
 
virtual su2double * GetSecondary (void)
 A virtual member.
 
virtual void SetDensity (su2double val_density)
 A virtual member.
 
virtual void SetPressure (void)
 A virtual member.
 
virtual void SetVelocity (void)
 A virtual member.
 
virtual void SetBetaInc2 (su2double val_betainc2)
 A virtual member.
 
virtual void SetPhi_Old (su2double *val_phi)
 A virtual member. More...
 
virtual bool SetPressure (su2double Gamma)
 A virtual member. More...
 
virtual bool SetPressure (CConfig *config)
 A virtual member. More...
 
virtual bool SetPressure (su2double Gamma, su2double turb_ke)
 A virtual member.
 
virtual su2double CalcEve (su2double *V, CConfig *config, unsigned short val_Species)
 Calculates vib.-el. energy per mass, \(e^{vib-el}_s\), for input species (not including KE)
 
virtual su2double CalcHs (su2double *V, CConfig *config, unsigned short val_Species)
 Calculates enthalpy per mass, \(h_s\), for input species (not including KE)
 
virtual su2double CalcCvve (su2double val_Tve, CConfig *config, unsigned short val_Species)
 Calculates enthalpy per mass, \(Cv_s\), for input species (not including KE)
 
virtual void CalcdPdU (su2double *V, CConfig *config, su2double *dPdU)
 A virtual member. More...
 
virtual void CalcdTdU (su2double *V, CConfig *config, su2double *dTdU)
 Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\). More...
 
virtual void CalcdTvedU (su2double *V, CConfig *config, su2double *dTdU)
 Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\). More...
 
virtual su2double * GetdPdU (void)
 A virtual member.
 
virtual su2double * GetdTdU (void)
 A virtual member.
 
virtual su2double * GetdTvedU (void)
 A virtual member.
 
virtual bool SetDensity (void)
 A virtual member.
 
virtual void SetDeltaPressure (su2double *val_velocity, su2double Gamma)
 A virtual member. More...
 
virtual bool SetSoundSpeed (su2double Gamma)
 A virtual member. More...
 
virtual bool SetSoundSpeed (CConfig *config)
 A virtual member. More...
 
virtual bool SetSoundSpeed (void)
 A virtual member.
 
virtual bool SetTemperature (su2double Gas_Constant)
 A virtual member. More...
 
virtual bool SetTemperature_ve (su2double val_Tve)
 Sets the vibrational electronic temperature of the flow. More...
 
virtual bool SetTemperature (CConfig *config)
 A virtual member. More...
 
virtual void SetPrimitive (CConfig *config)
 A virtual member. More...
 
virtual void SetPrimitive (CConfig *config, su2double *Coord)
 A virtual member. More...
 
virtual void SetWallTemperature (su2double Temperature_Wall)
 A virtual member. More...
 
virtual void SetWallTemperature (su2double *Temperature_Wall)
 A virtual member. More...
 
virtual void SetThermalCoeff (CConfig *config)
 Set the thermal coefficient. More...
 
virtual void SetStress_FEM (unsigned short iVar, su2double val_stress)
 A virtual member.
 
virtual void AddStress_FEM (unsigned short iVar, su2double val_stress)
 A virtual member.
 
virtual su2double * GetStress_FEM (void)
 A virtual member.
 
virtual void SetVonMises_Stress (su2double val_stress)
 A virtual member.
 
virtual su2double GetVonMises_Stress (void)
 A virtual member.
 
virtual void SetTraction (unsigned short iVar, unsigned short jVar, su2double val_traction)
 A virtual member.
 
virtual void AddTraction (unsigned short iVar, unsigned short jVar, su2double val_traction)
 A virtual member.
 
virtual su2double ** GetTraction (void)
 A virtual member.
 
virtual void Add_SurfaceLoad_Res (su2double *val_surfForce)
 A virtual member.
 
virtual su2double * Get_SurfaceLoad_Res (void)
 A virtual member.
 
virtual su2double Get_SurfaceLoad_Res (unsigned short iVar)
 A virtual member.
 
virtual void Clear_SurfaceLoad_Res (void)
 A virtual member.
 
virtual void Set_SurfaceLoad_Res_n (void)
 A virtual member.
 
virtual su2double Get_SurfaceLoad_Res_n (unsigned short iVar)
 A virtual member.
 
virtual void Add_BodyForces_Res (su2double *val_bodyForce)
 A virtual member.
 
virtual su2double * Get_BodyForces_Res (void)
 A virtual member.
 
virtual su2double Get_BodyForces_Res (unsigned short iVar)
 A virtual member.
 
virtual void Clear_BodyForces_Res (void)
 A virtual member.
 
virtual void Set_FlowTraction (su2double *val_flowTraction)
 A virtual member.
 
virtual void Add_FlowTraction (su2double *val_flowTraction)
 A virtual member.
 
virtual su2double * Get_FlowTraction (void)
 A virtual member.
 
virtual su2double Get_FlowTraction (unsigned short iVar)
 A virtual member.
 
virtual void Set_FlowTraction_n (void)
 A virtual member.
 
virtual su2double Get_FlowTraction_n (unsigned short iVar)
 A virtual member.
 
virtual void Clear_FlowTraction (void)
 A virtual member.
 
virtual void SetVelocity2 (void)
 A virtual member.
 
virtual void SetVelocity_Old (su2double *val_velocity)
 A virtual member. More...
 
virtual void SetLaminarViscosity (su2double laminarViscosity)
 A virtual member. More...
 
virtual void SetLaminarViscosity (CConfig *config)
 A virtual member. More...
 
virtual void SetThermalConductivity (su2double thermalConductivity)
 A virtual member. More...
 
virtual void SetThermalConductivity (CConfig *config)
 A virtual member. More...
 
virtual void SetSpecificHeatCp (su2double Cp)
 A virtual member. More...
 
virtual bool SetVorticity (bool val_limiter)
 A virtual member.
 
virtual bool SetStrainMag (bool val_limiter)
 A virtual member.
 
virtual void SetVelSolutionOldDVector (void)
 A virtual member.
 
virtual void SetVelSolutionDVector (void)
 A virtual member.
 
virtual void SetGradient_PrimitiveZero (unsigned short val_primvar)
 A virtual member.
 
virtual void AddGradient_Primitive (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual void SubtractGradient_Primitive (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual su2double GetGradient_Primitive (unsigned short val_var, unsigned short val_dim)
 A virtual member. More...
 
virtual su2double GetLimiter_Primitive (unsigned short val_var)
 A virtual member. More...
 
virtual void SetGradient_Primitive (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual void SetLimiter_Primitive (unsigned short val_var, su2double val_value)
 A virtual member. More...
 
virtual su2double ** GetGradient_Primitive (void)
 A virtual member. More...
 
virtual su2double * GetLimiter_Primitive (void)
 A virtual member. More...
 
virtual void SetGradient_SecondaryZero (unsigned short val_secondaryvar)
 A virtual member.
 
virtual void AddGradient_Secondary (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual void SubtractGradient_Secondary (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual su2double GetGradient_Secondary (unsigned short val_var, unsigned short val_dim)
 A virtual member. More...
 
virtual su2double GetLimiter_Secondary (unsigned short val_var)
 A virtual member. More...
 
virtual void SetGradient_Secondary (unsigned short val_var, unsigned short val_dim, su2double val_value)
 A virtual member. More...
 
virtual void SetLimiter_Secondary (unsigned short val_var, su2double val_value)
 A virtual member. More...
 
virtual su2double ** GetGradient_Secondary (void)
 A virtual member. More...
 
virtual su2double * GetLimiter_Secondary (void)
 A virtual member. More...
 
virtual void SetBlendingFunc (su2double val_viscosity, su2double val_dist, su2double val_density)
 Set the blending function for the blending of k-w and k-eps. More...
 
virtual su2double GetF1blending (void)
 Get the first blending function of the SST model.
 
virtual su2double GetF2blending (void)
 Get the second blending function of the SST model.
 
virtual su2double GetCrossDiff (void)
 Get the value of the cross diffusion of tke and omega.
 
virtual su2double GetmuT (void)
 Get the value of the eddy viscosity. More...
 
virtual void SetmuT (su2double val_muT)
 Set the value of the eddy viscosity. More...
 
virtual void AddMax_Lambda_Inv (su2double val_max_lambda, unsigned short iSpecies)
 Add a value to the maximum eigenvalue for the inviscid terms of the PDE. More...
 
virtual void AddMax_Lambda_Visc (su2double val_max_lambda, unsigned short iSpecies)
 Add a value to the maximum eigenvalue for the viscous terms of the PDE. More...
 
virtual void SetHarmonicBalance_Source (unsigned short val_var, su2double val_source)
 A virtual member. More...
 
virtual su2double GetHarmonicBalance_Source (unsigned short val_var)
 A virtual member.
 
virtual void SetEddyViscSens (su2double *val_EddyViscSens, unsigned short numTotalVar)
 Set the Eddy Viscosity Sensitivity of the problem. More...
 
virtual su2double * GetEddyViscSens (void)
 Get the Eddy Viscosity Sensitivity of the problem. More...
 
virtual void SetSolution_Direct (su2double *val_solution_direct)
 A virtual member. Set the direct solution for the adjoint solver. More...
 
virtual su2double * GetSolution_Direct (void)
 A virtual member. Get the direct solution for the adjoint solver. More...
 
virtual void SetSolution_time_n (void)
 Set the value of the old solution. More...
 
virtual void SetSolution_time_n (unsigned short val_var, su2double val_solution)
 Set the value of the old solution. More...
 
virtual void SetSolution_time_n (su2double *val_solution_time_n)
 Set the value of the old solution. More...
 
virtual void SetSolution_Vel (su2double *val_solution)
 Set the value of the velocity (Structural Analysis). More...
 
virtual void SetSolution_Vel (unsigned short val_var, su2double val_solution_vel)
 
virtual void SetSolution_Vel_time_n (su2double *val_solution_vel_time_n)
 Set the value of the velocity (Structural Analysis) at time n. More...
 
virtual void SetSolution_Vel_time_n (void)
 Set the value of the velocity (Structural Analysis) at time n.
 
virtual void SetSolution_Vel_time_n (unsigned short val_var, su2double val_solution_vel_time_n)
 
virtual su2double GetSolution_time_n (unsigned short val_var)
 Get the solution at time n. More...
 
virtual su2double GetSolution_Vel (unsigned short val_var)
 Get the velocity (Structural Analysis). More...
 
virtual su2double * GetSolution_Vel (void)
 Get the solution of the problem. More...
 
virtual su2double GetSolution_Vel_time_n (unsigned short val_var)
 Get the velocity of the nodes (Structural Analysis) at time n. More...
 
virtual su2double * GetSolution_Vel_time_n (void)
 Get the solution at time n. More...
 
virtual void SetSolution_Accel (su2double *val_solution_accel)
 Set the value of the acceleration (Structural Analysis). More...
 
virtual void SetSolution_Accel (unsigned short val_var, su2double val_solution_accel)
 
virtual void SetSolution_Accel_time_n (su2double *val_solution_accel_time_n)
 Set the value of the acceleration (Structural Analysis) at time n. More...
 
virtual void SetSolution_Accel_time_n (void)
 Set the value of the acceleration (Structural Analysis) at time n.
 
virtual void SetSolution_Accel_time_n (unsigned short val_var, su2double val_solution_accel_time_n)
 
virtual su2double GetSolution_Accel (unsigned short val_var)
 Get the acceleration (Structural Analysis). More...
 
virtual su2double * GetSolution_Accel (void)
 Get the solution of the problem. More...
 
virtual su2double GetSolution_Accel_time_n (unsigned short val_var)
 Get the acceleration of the nodes (Structural Analysis) at time n. More...
 
virtual su2double * GetSolution_Accel_time_n (void)
 Get the solution at time n. More...
 
virtual void SetSolution_Pred (void)
 A virtual member. Set the value of the solution predictor.
 
virtual void SetSolution_Pred (su2double *val_solution_pred)
 A virtual member. Set the value of the old solution. More...
 
virtual void SetSolution_Pred (unsigned short val_var, su2double val_solution_pred)
 A virtual member. Set the value of the solution predicted. More...
 
virtual su2double GetSolution_Pred (unsigned short val_var)
 A virtual member. Get the value of the solution predictor. More...
 
virtual su2double * GetSolution_Pred (void)
 A virtual member. Get the solution at time n. More...
 
virtual void SetSolution_Pred_Old (void)
 A virtual member. Set the value of the solution predictor.
 
virtual void SetSolution_Pred_Old (su2double *val_solution_pred_Old)
 A virtual member. Set the value of the old solution. More...
 
virtual void SetSolution_Pred_Old (unsigned short val_var, su2double val_solution_pred_old)
 A virtual member. Set the value of the old solution predicted. More...
 
virtual su2double GetSolution_Pred_Old (unsigned short val_var)
 A virtual member. Get the value of the solution predictor. More...
 
virtual su2double * GetSolution_Pred_Old (void)
 A virtual member. Get the solution at time n. More...
 
virtual void SetPrestretch (unsigned short iVar, su2double val_prestretch)
 A virtual member.
 
virtual su2double * GetPrestretch (void)
 A virtual member.
 
virtual su2double GetPrestretch (unsigned short iVar)
 A virtual member.
 
void RegisterSolution (bool input)
 Register the variables in the solution array as input/output variable. More...
 
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 SetAdjointSolution (su2double *adj_sol)
 Set the adjoint values of the solution. More...
 
void GetAdjointSolution (su2double *adj_sol)
 Get the adjoint values of the solution. More...
 
void SetAdjointSolution_time_n (su2double *adj_sol)
 Set the adjoint values of the solution at time n. More...
 
void GetAdjointSolution_time_n (su2double *adj_sol)
 Get the adjoint values of the solution at time n. More...
 
void SetAdjointSolution_time_n1 (su2double *adj_sol)
 Set the adjoint values of the solution at time n-1. More...
 
void GetAdjointSolution_time_n1 (su2double *adj_sol)
 Get the adjoint values of the solution at time n-1. More...
 
virtual void SetSensitivity (unsigned short iDim, su2double val)
 Set the sensitivity at the node. More...
 
virtual su2double GetSensitivity (unsigned short iDim)
 Get the Sensitivity at the node. More...
 
virtual void SetDual_Time_Derivative (unsigned short iVar, su2double der)
 
virtual void SetDual_Time_Derivative_n (unsigned short iVar, su2double der)
 
virtual su2double GetDual_Time_Derivative (unsigned short iVar)
 
virtual su2double GetDual_Time_Derivative_n (unsigned short iVar)
 

Protected Attributes

su2double * Solution
 Solution of the problem.
 
su2double * Solution_Old
 Old solution of the problem R-K.
 
bool Non_Physical
 Non-physical points in the solution (force first order).
 
su2double * Solution_time_n
 Solution of the problem at time n for dual-time stepping technique.
 
su2double * Solution_time_n1
 Solution of the problem at time n-1 for dual-time stepping technique.
 
su2double ** Gradient
 Gradient of the solution of the problem.
 
su2double * Limiter
 Limiter of the solution of the problem.
 
su2double * Solution_Max
 Max solution for limiter computation.
 
su2double * Solution_Min
 Min solution for limiter computation.
 
su2double AuxVar
 Auxiliar variable for gradient computation.
 
su2double * Grad_AuxVar
 Gradient of the auxiliar variable.
 
su2double Delta_Time
 Time step.
 
su2double Max_Lambda
 Maximun eingenvalue.
 
su2double Max_Lambda_Inv
 Maximun inviscid eingenvalue.
 
su2double Max_Lambda_Visc
 Maximun viscous eingenvalue.
 
su2double Lambda
 Value of the eingenvalue.
 
su2double Sensor
 Pressure sensor for high order central scheme.
 
su2double * Undivided_Laplacian
 Undivided laplacian of the solution.
 
su2double * Res_TruncError
 Truncation error for multigrid cycle.
 
su2double * Residual_Old
 Auxiliar structure for residual smoothing.
 
su2double * Residual_Sum
 Auxiliar structure for residual smoothing.
 
unsigned short nVar
 Number of variables of the problem, note that this variable cannnot be static, it is possible to have different number of nVar in the same problem.
 
unsigned short nPrimVar
 
unsigned short nPrimVarGrad
 Number of variables of the problem, note that this variable cannnot be static, it is possible to have different number of nVar in the same problem.
 
unsigned short nSecondaryVar
 
unsigned short nSecondaryVarGrad
 Number of variables of the problem, note that this variable cannnot be static, it is possible to have different number of nVar in the same problem.
 

Static Protected Attributes

static unsigned short nDim = 0
 Number of dimension of the problem.
 

Detailed Description

Main class for defining the variables.

Author
F. Palacios
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CVariable() [1/2]

CVariable::CVariable ( unsigned short  val_nvar,
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]val_nvar- Number of variables of the problem.
[in]config- Definition of the particular problem.

§ CVariable() [2/2]

CVariable::CVariable ( unsigned short  val_nDim,
unsigned short  val_nvar,
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]val_nDim- Number of dimensions of the problem.
[in]val_nvar- Number of variables of the problem.
[in]config- Definition of the particular problem.

Member Function Documentation

§ Add_DeltaSolution()

void CVariable::Add_DeltaSolution ( unsigned short  val_var,
su2double  val_solution 
)
inline

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

Parameters
[in]val_var- Index of the variable.
[in]val_solution- Value of the solution for the index val_var.

§ AddAuxVarGradient()

void CVariable::AddAuxVarGradient ( unsigned short  val_dim,
su2double  val_value 
)
inline

Add a value to the auxiliary variable gradient.

Parameters
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient to be added for the index val_dim.

§ AddClippedSolution()

void CVariable::AddClippedSolution ( unsigned short  val_var,
su2double  val_solution,
su2double  lowerlimit,
su2double  upperlimit 
)

Add a value to the solution, clipping the values.

Parameters
[in]val_var- Index of the variable.
[in]val_solution- Value of the solution change.
[in]lowerlimit- Lower value.
[in]upperlimit- Upper value.

§ AddConservativeSolution()

void CVariable::AddConservativeSolution ( unsigned short  val_var,
su2double  val_solution,
su2double  val_density,
su2double  val_density_old,
su2double  lowerlimit,
su2double  upperlimit 
)

Update the variables using a conservative format.

Parameters
[in]val_var- Index of the variable.
[in]val_solution- Value of the solution change.
[in]val_density- Value of the density.
[in]val_density_old- Value of the old density.
[in]lowerlimit- Lower value.
[in]upperlimit- Upper value.

§ AddGradient()

void CVariable::AddGradient ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inline

Add val_value to the solution gradient.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to add to the solution gradient.

§ AddGradient_Primitive()

void CVariable::AddGradient_Primitive ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to add to the gradient of the primitive variables.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ AddGradient_Secondary()

void CVariable::AddGradient_Secondary ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to add to the gradient of the Secondary variables.

Reimplemented in CEulerVariable.

§ AddLambda() [1/2]

void CVariable::AddLambda ( su2double  val_lambda)
inline

Add the value of the spectral radius.

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

§ AddLambda() [2/2]

void CVariable::AddLambda ( su2double  val_lambda,
unsigned short  val_iSpecies 
)
inlinevirtual

Add the value of the spectral radius.

Parameters
[in]val_iSpecies-Index of species
[in]val_lambda- Value of the spectral radius.

§ AddMax_Lambda()

void CVariable::AddMax_Lambda ( su2double  val_max_lambda)
inline

Add a value to the maximum eigenvalue.

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue.

§ AddMax_Lambda_Inv() [1/2]

void CVariable::AddMax_Lambda_Inv ( su2double  val_max_lambda)
inline

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

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

§ AddMax_Lambda_Inv() [2/2]

void CVariable::AddMax_Lambda_Inv ( su2double  val_max_lambda,
unsigned short  iSpecies 
)
inlinevirtual

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

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue for the inviscid terms of the PDE.
[in]iSpecies- Value of iSpecies to which the eigenvalue belongs

§ AddMax_Lambda_Visc() [1/2]

void CVariable::AddMax_Lambda_Visc ( su2double  val_max_lambda)
inline

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

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

§ AddMax_Lambda_Visc() [2/2]

void CVariable::AddMax_Lambda_Visc ( su2double  val_max_lambda,
unsigned short  iSpecies 
)
inlinevirtual

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

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue for the viscous terms of the PDE.
[in]iSpecies- Value of iSpecies to which the eigenvalue belongs

§ AddRes_TruncError()

void CVariable::AddRes_TruncError ( su2double *  val_truncation_error)

Add a value to the truncation error.

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

§ AddResidual_Sum()

void CVariable::AddResidual_Sum ( su2double *  val_residual)

Add a value to the summed residual vector.

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

§ AddSolution()

void CVariable::AddSolution ( unsigned short  val_var,
su2double  val_solution 
)

Add a value to the solution.

Parameters
[in]val_var- Number of the variable.
[in]val_solution- Value that we want to add to the solution.

§ AddUnd_Lapl()

void CVariable::AddUnd_Lapl ( su2double *  val_und_lapl)

Add the value of the undivided laplacian of the solution.

Parameters
[in]val_und_lapl- Value of the undivided solution.

§ CalcdPdU()

void CVariable::CalcdPdU ( su2double *  V,
CConfig config,
su2double *  dPdU 
)
inlinevirtual

A virtual member.

Parameters
[in]V
[in]config- Configuration settings
[in]dPdU

§ CalcdTdU()

void CVariable::CalcdTdU ( su2double *  V,
CConfig config,
su2double *  dTdU 
)
inlinevirtual

Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\).

Parameters
[in]V
[in]config- Configuration settings
[in]dTdU

§ CalcdTvedU()

void CVariable::CalcdTvedU ( su2double *  V,
CConfig config,
su2double *  dTdU 
)
inlinevirtual

Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\).

Parameters
[in]V
[in]config- Configuration settings
[in]dTdU

§ GetAdjointSolution()

void CVariable::GetAdjointSolution ( su2double *  adj_sol)
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 ( su2double *  adj_sol)
inline

Get the adjoint values of the solution at time n.

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

§ GetAdjointSolution_time_n1()

void CVariable::GetAdjointSolution_time_n1 ( su2double *  adj_sol)
inline

Get the adjoint values of the solution at time n-1.

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

§ GetAuxVar()

su2double CVariable::GetAuxVar ( void  )
inline

Get the value of the auxiliary variable.

Returns
Value of the auxiliary variable.

§ GetAuxVarGradient() [1/2]

su2double * CVariable::GetAuxVarGradient ( void  )
inline

Get the gradient of the auxiliary variable.

Returns
Value of the gradient of the auxiliary variable.

§ GetAuxVarGradient() [2/2]

su2double CVariable::GetAuxVarGradient ( unsigned short  val_dim)
inline

Get the gradient of the auxiliary variable.

Parameters
[in]val_dim- Index of the dimension.
Returns
Value of the gradient of the auxiliary variable for the dimension val_dim.

§ GetBetaInc2()

su2double CVariable::GetBetaInc2 ( void  )
inlinevirtual

A virtual member.

Returns
Value of the beta for the incompressible flow.

Reimplemented in CIncEulerVariable.

§ GetDelta_Time() [1/2]

su2double CVariable::GetDelta_Time ( void  )
inline

Get the value of the time step.

Returns
Value of the time step.

§ GetDelta_Time() [2/2]

su2double CVariable::GetDelta_Time ( unsigned short  iSpecies)
inlinevirtual

Get the value of the time step.

Parameters
[in]iSpecies- Index of the Species
Returns
Value of the time step.

§ GetDensity() [1/2]

su2double CVariable::GetDensity ( void  )
inlinevirtual

A virtual member.

Returns
Value of the flow density.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetDensity() [2/2]

su2double CVariable::GetDensity ( unsigned short  val_iSpecies)
inlinevirtual

A virtual member.

Returns
Value of the flow density.

§ GetDiffusionCoeff()

su2double * CVariable::GetDiffusionCoeff ( void  )
inlinevirtual

A virtual member.

Returns
Value of the species diffusion coefficient.

§ GetEddyViscosity()

su2double CVariable::GetEddyViscosity ( void  )
inlinevirtual

A virtual member.

Returns
Value of the eddy viscosity.

Reimplemented in CIncNSVariable, and CNSVariable.

§ GetEddyViscSens()

su2double * CVariable::GetEddyViscSens ( void  )
inlinevirtual

Get the Eddy Viscosity Sensitivity of the problem.

Returns
Pointer to the Eddy Viscosity Sensitivity.

Reimplemented in CAdjTurbVariable.

§ GetEnergy()

su2double CVariable::GetEnergy ( void  )
inlinevirtual

A virtual member.

Returns
Value of the flow energy.

Reimplemented in CEulerVariable.

§ GetEnthalpy()

su2double CVariable::GetEnthalpy ( void  )
inlinevirtual

A virtual member.

Returns
Value of the flow enthalpy.

Reimplemented in CEulerVariable.

§ GetForceProj_Vector()

su2double * CVariable::GetForceProj_Vector ( void  )
inlinevirtual

A virtual member.

Returns
Pointer to the force projection vector.

Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.

§ GetGradient() [1/2]

su2double ** CVariable::GetGradient ( void  )
inline

Get the value of the solution gradient.

Returns
Value of the gradient solution.

§ GetGradient() [2/2]

su2double CVariable::GetGradient ( unsigned short  val_var,
unsigned short  val_dim 
)
inline

Get the value of the solution gradient.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
Returns
Value of the solution gradient.

§ GetGradient_Primitive() [1/2]

su2double CVariable::GetGradient_Primitive ( unsigned short  val_var,
unsigned short  val_dim 
)
inlinevirtual

A virtual member.

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

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetGradient_Primitive() [2/2]

su2double ** CVariable::GetGradient_Primitive ( void  )
inlinevirtual

A virtual member.

Returns
Value of the primitive variables gradient.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetGradient_Secondary() [1/2]

su2double CVariable::GetGradient_Secondary ( unsigned short  val_var,
unsigned short  val_dim 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
Returns
Value of the Secondary variables gradient.

Reimplemented in CEulerVariable.

§ GetGradient_Secondary() [2/2]

su2double ** CVariable::GetGradient_Secondary ( void  )
inlinevirtual

A virtual member.

Returns
Value of the Secondary variables gradient.

Reimplemented in CEulerVariable.

§ GetIntBoundary_Jump()

su2double * CVariable::GetIntBoundary_Jump ( void  )
inlinevirtual

A virtual member.

Returns
Pointer to the internal boundary vector.

Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.

§ GetIntermittency()

su2double CVariable::GetIntermittency ( void  )
inlinevirtual

A virtual member.

Returns
Returns intermittency

Reimplemented in CTransLMVariable.

§ GetLambda() [1/2]

su2double CVariable::GetLambda ( void  )
inline

Get the value of the spectral radius.

Returns
Value of the spectral radius.

§ GetLambda() [2/2]

su2double CVariable::GetLambda ( unsigned short  val_iSpecies)
inlinevirtual

Get the value of the spectral radius.

Parameters
[in]val_iSpecies-Index of species
Returns
Value of the spectral radius.

§ GetLaminarViscosity() [1/2]

su2double CVariable::GetLaminarViscosity ( void  )
inlinevirtual

A virtual member.

Returns
The laminar viscosity of the flow.

Reimplemented in CIncNSVariable, and CNSVariable.

§ GetLaminarViscosity() [2/2]

su2double CVariable::GetLaminarViscosity ( unsigned short  iSpecies)
inlinevirtual

A virtual member.

Returns
The laminar viscosity of the flow.

§ GetLimiter() [1/2]

su2double * CVariable::GetLimiter ( void  )
inline

Get the value of the slope limiter.

Returns
Pointer to the limiters vector.

§ GetLimiter() [2/2]

su2double CVariable::GetLimiter ( unsigned short  val_var)
inline

Get the value of the slope limiter.

Parameters
[in]val_var- Index of the variable.
Returns
Value of the limiter vector for the variable val_var.

§ GetLimiter_Primitive() [1/2]

su2double CVariable::GetLimiter_Primitive ( unsigned short  val_var)
inlinevirtual

A virtual member.

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

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetLimiter_Primitive() [2/2]

su2double * CVariable::GetLimiter_Primitive ( void  )
inlinevirtual

A virtual member.

Returns
Value of the primitive variables gradient.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetLimiter_Secondary() [1/2]

su2double CVariable::GetLimiter_Secondary ( unsigned short  val_var)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
Returns
Value of the Secondary variables gradient.

Reimplemented in CEulerVariable.

§ GetLimiter_Secondary() [2/2]

su2double * CVariable::GetLimiter_Secondary ( void  )
inlinevirtual

A virtual member.

Returns
Value of the Secondary variables gradient.

Reimplemented in CEulerVariable.

§ GetLimiterPrimitive()

su2double CVariable::GetLimiterPrimitive ( unsigned short  val_species,
unsigned short  val_var 
)
inlinevirtual

Set the value of the limiter.

Parameters
[in]val_species- Index of the species .
[in]val_var- Index of the variable.

§ GetMassFraction()

su2double CVariable::GetMassFraction ( unsigned short  val_Species)
inlinevirtual

A virtual member.

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

§ GetMax_Lambda()

su2double CVariable::GetMax_Lambda ( void  )
inline

Get the value of the maximum eigenvalue.

Returns
the value of the maximum eigenvalue.

§ GetMax_Lambda_Inv()

su2double CVariable::GetMax_Lambda_Inv ( void  )
inline

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

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

§ GetMax_Lambda_Visc()

su2double CVariable::GetMax_Lambda_Visc ( void  )
inline

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

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

§ GetmuT()

su2double CVariable::GetmuT ( void  )
inlinevirtual

Get the value of the eddy viscosity.

Returns
the value of the eddy viscosity.

Reimplemented in CTurbVariable.

§ GetNon_Physical()

su2double CVariable::GetNon_Physical ( void  )
inline

Get the value of the non-physical point.

Returns
Value of the Non-physical point.

§ GetObjFuncSource()

su2double * CVariable::GetObjFuncSource ( void  )
inlinevirtual

A virtual member.

Returns
Pointer to the objective function source.

Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.

§ GetPreconditioner_Beta()

su2double CVariable::GetPreconditioner_Beta ( )
inlinevirtual

Get the value of the preconditioner Beta.

Returns
Value of the low Mach preconditioner variable Beta

Reimplemented in CEulerVariable.

§ GetPressure()

su2double CVariable::GetPressure ( void  )
inlinevirtual

A virtual member.

Returns
Value of the flow pressure.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetProjVel() [1/2]

su2double CVariable::GetProjVel ( su2double *  val_vector)
inlinevirtual

A virtual member.

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

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetProjVel() [2/2]

su2double CVariable::GetProjVel ( su2double *  val_vector,
unsigned short  val_species 
)
inlinevirtual

A virtual member.

Parameters
[in]val_vector- Direction of projection.
[in]val_species- Index of the desired species.
Returns
Value of the projected velocity.

§ GetResidual_Old()

su2double * CVariable::GetResidual_Old ( void  )
inline

Get the value of the old residual.

Returns
Pointer to the old residual.

§ GetResidual_Sum() [1/2]

su2double * CVariable::GetResidual_Sum ( void  )
inline

Get the value of the summed residual.

Returns
Pointer to the summed residual.

§ GetResidual_Sum() [2/2]

void CVariable::GetResidual_Sum ( su2double *  val_residual)

Get the value of the summed residual.

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

§ GetResTruncError() [1/2]

su2double * CVariable::GetResTruncError ( void  )
inline

Get the truncation error.

Returns
Pointer to the truncation error.

§ GetResTruncError() [2/2]

void CVariable::GetResTruncError ( su2double *  val_trunc_error)

Get the truncation error.

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

§ GetRhoCv_tr()

su2double CVariable::GetRhoCv_tr ( void  )
inlinevirtual

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

Returns
\(\rho C^{t-r}_{v} \)

§ GetRhoCv_ve()

su2double CVariable::GetRhoCv_ve ( void  )
inlinevirtual

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

Returns
\(\rho C^{v-e}_{v} \)

§ GetSensitivity()

su2double CVariable::GetSensitivity ( unsigned short  iDim)
inlinevirtual

Get the Sensitivity at the node.

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

Reimplemented in CDiscAdjVariable.

§ GetSensor() [1/2]

su2double CVariable::GetSensor ( void  )
inline

Get the pressure sensor.

Returns
Value of the pressure sensor.

§ GetSensor() [2/2]

su2double CVariable::GetSensor ( unsigned short  iSpecies)
inlinevirtual

Get the pressure sensor.

Parameters
[in]iSpecies- index of species
Returns
Value of the pressure sensor.

§ GetSolution() [1/2]

su2double CVariable::GetSolution ( unsigned short  val_var)
inline

Get the solution.

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

§ GetSolution() [2/2]

su2double * CVariable::GetSolution ( void  )
inline

Get the solution of the problem.

Returns
Pointer to the solution vector.

§ GetSolution_Accel() [1/2]

su2double CVariable::GetSolution_Accel ( unsigned short  val_var)
inlinevirtual

Get the acceleration (Structural Analysis).

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Accel() [2/2]

su2double * CVariable::GetSolution_Accel ( void  )
inlinevirtual

Get the solution of the problem.

Returns
Pointer to the solution vector.

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Accel_time_n() [1/2]

su2double CVariable::GetSolution_Accel_time_n ( unsigned short  val_var)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Accel_time_n() [2/2]

su2double * CVariable::GetSolution_Accel_time_n ( void  )
inlinevirtual

Get the solution at time n.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Direct()

su2double * CVariable::GetSolution_Direct ( void  )
inlinevirtual

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

Returns
Pointer to the direct solution vector.

Reimplemented in CDiscAdjVariable, CHeatVariable, and CWaveVariable.

§ GetSolution_Max()

su2double CVariable::GetSolution_Max ( unsigned short  val_var)
inline

Get the value of the min solution.

Parameters
[in]val_var- Index of the variable.
Returns
Value of the min solution for the variable val_var.

§ GetSolution_Min()

su2double CVariable::GetSolution_Min ( unsigned short  val_var)
inline

Get the value of the min solution.

Parameters
[in]val_var- Index of the variable.
Returns
Value of the min solution for the variable val_var.

§ GetSolution_Old() [1/2]

su2double CVariable::GetSolution_Old ( unsigned short  val_var)
inline

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

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

§ GetSolution_Old() [2/2]

su2double * CVariable::GetSolution_Old ( void  )
inline

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

Returns
Pointer to the old solution vector.

§ GetSolution_Pred() [1/2]

su2double CVariable::GetSolution_Pred ( unsigned short  val_var)
inlinevirtual

A virtual member. Get the value of the solution predictor.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Pred() [2/2]

su2double * CVariable::GetSolution_Pred ( void  )
inlinevirtual

A virtual member. Get the solution at time n.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Pred_Old() [1/2]

su2double CVariable::GetSolution_Pred_Old ( unsigned short  val_var)
inlinevirtual

A virtual member. Get the value of the solution predictor.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Pred_Old() [2/2]

su2double * CVariable::GetSolution_Pred_Old ( void  )
inlinevirtual

A virtual member. Get the solution at time n.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_time_n() [1/2]

su2double * CVariable::GetSolution_time_n ( void  )
inline

Get the solution at time n.

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

§ GetSolution_time_n() [2/2]

su2double CVariable::GetSolution_time_n ( unsigned short  val_var)
inlinevirtual

Get the solution at time n.

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_time_n1()

su2double * CVariable::GetSolution_time_n1 ( void  )
inline

Get the solution at time n-1.

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

§ GetSolution_Vel() [1/2]

su2double CVariable::GetSolution_Vel ( unsigned short  val_var)
inlinevirtual

Get the velocity (Structural Analysis).

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Vel() [2/2]

su2double * CVariable::GetSolution_Vel ( void  )
inlinevirtual

Get the solution of the problem.

Returns
Pointer to the solution vector.

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Vel_time_n() [1/2]

su2double CVariable::GetSolution_Vel_time_n ( unsigned short  val_var)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ GetSolution_Vel_time_n() [2/2]

su2double * CVariable::GetSolution_Vel_time_n ( void  )
inlinevirtual

Get the solution at time n.

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

Reimplemented in CFEM_ElasVariable.

§ GetSoundSpeed()

su2double CVariable::GetSoundSpeed ( void  )
inlinevirtual

A virtual member.

Returns
Value of the sound speed.

Reimplemented in CEulerVariable.

§ GetSpecificHeatCp()

su2double CVariable::GetSpecificHeatCp ( void  )
inlinevirtual

A virtual member.

Returns
Value of the specific heat at constant P

Reimplemented in CNSVariable.

§ GetStrainMag()

su2double CVariable::GetStrainMag ( void  )
inlinevirtual

A virtual member.

Returns
Value of the rate of strain magnitude.

Reimplemented in CIncNSVariable, and CNSVariable.

§ GetTemperature()

su2double CVariable::GetTemperature ( void  )
inlinevirtual

A virtual member.

Returns
Value of the temperature.

Reimplemented in CEulerVariable.

§ GetTemperature_ve()

su2double CVariable::GetTemperature_ve ( void  )
inlinevirtual

A virtual member.

Returns
Value of the vibrational-electronic temperature.

§ GetThermalConductivity()

su2double CVariable::GetThermalConductivity ( void  )
inlinevirtual

A virtual member.

Returns
Value of the thermal conductivity (translational/rotational)

Reimplemented in CNSVariable.

§ GetThermalConductivity_ve()

su2double CVariable::GetThermalConductivity_ve ( void  )
inlinevirtual

A virtual member.

Returns
Value of the thermal conductivity (vibrational)

§ GetUndivided_Laplacian() [1/2]

su2double * CVariable::GetUndivided_Laplacian ( void  )
inline

Get the undivided laplacian of the solution.

Returns
Pointer to the undivided laplacian vector.

§ GetUndivided_Laplacian() [2/2]

su2double CVariable::GetUndivided_Laplacian ( unsigned short  val_var)
inline

Get the undivided laplacian of the solution.

Parameters
[in]val_var- Variable of the undivided laplacian.
Returns
Value of the undivided laplacian vector.

§ GetVelocity()

su2double CVariable::GetVelocity ( unsigned short  val_dim)
inlinevirtual

A virtual member.

Parameters
[in]val_dim- Index of the dimension.
Returns
Value of the velocity for the dimension val_dim.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetVelocity2() [1/2]

su2double CVariable::GetVelocity2 ( void  )
inlinevirtual

A virtual member.

Returns
Norm 2 of the velocity vector.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetVelocity2() [2/2]

su2double CVariable::GetVelocity2 ( unsigned short  val_species)
inlinevirtual

A virtual member.

Returns
Norm 2 of the velocity vector of Fluid val_species.

§ GetVorticity()

su2double * CVariable::GetVorticity ( void  )
inlinevirtual

A virtual member.

Returns
Value of the vorticity.

Reimplemented in CIncNSVariable, and CNSVariable.

§ GetWindGust()

su2double * CVariable::GetWindGust ( )
inlinevirtual

Get the value of the wind gust.

Returns
Value of the wind gust

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ GetWindGustDer()

su2double * CVariable::GetWindGustDer ( )
inlinevirtual

Get the value of the derivatives of the wind gust.

Returns
Value of the derivatives of the wind gust

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ RegisterSolution()

void CVariable::RegisterSolution ( bool  input)
inline

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

Parameters
[in]input- input or output variables.

§ SetAdjointSolution()

void CVariable::SetAdjointSolution ( su2double *  adj_sol)
inline

Set the adjoint values of the solution.

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

§ SetAdjointSolution_time_n()

void CVariable::SetAdjointSolution_time_n ( su2double *  adj_sol)
inline

Set the adjoint values of the solution at time n.

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

§ SetAdjointSolution_time_n1()

void CVariable::SetAdjointSolution_time_n1 ( su2double *  adj_sol)
inline

Set the adjoint values of the solution at time n-1.

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

§ SetAuxVar()

void CVariable::SetAuxVar ( su2double  val_auxvar)
inline

Set auxiliar variables, we are looking for the gradient of that variable.

Parameters
[in]val_auxvar- Value of the auxiliar variable.

§ SetAuxVarGradient()

void CVariable::SetAuxVarGradient ( unsigned short  val_dim,
su2double  val_gradient 
)
inline

Set the value of the auxiliary variable gradient.

Parameters
[in]val_dim- Index of the dimension.
[in]val_gradient- Value of the gradient for the index val_dim.

§ SetBlendingFunc()

void CVariable::SetBlendingFunc ( su2double  val_viscosity,
su2double  val_dist,
su2double  val_density 
)
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.

§ SetDelta_Time() [1/2]

void CVariable::SetDelta_Time ( su2double  val_delta_time)
inline

Set the value of the time step.

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

§ SetDelta_Time() [2/2]

void CVariable::SetDelta_Time ( su2double  val_delta_time,
unsigned short  iSpecies 
)
inlinevirtual

Set the value of the time step.

Parameters
[in]val_delta_time- Value of the time step.
[in]iSpecies- Index of the Species .

§ SetDeltaPressure()

void CVariable::SetDeltaPressure ( su2double *  val_velocity,
su2double  Gamma 
)
inlinevirtual

A virtual member.

Parameters
[in]val_velocity- Value of the velocity.
[in]Gamma- Ratio of Specific heats

§ SetEddyViscosity()

void CVariable::SetEddyViscosity ( su2double  eddy_visc)
inlinevirtual

A virtual member.

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

Reimplemented in CIncNSVariable, and CNSVariable.

§ SetEddyViscSens()

void CVariable::SetEddyViscSens ( su2double *  val_EddyViscSens,
unsigned short  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.

§ SetForceProj_Vector()

void CVariable::SetForceProj_Vector ( su2double *  val_ForceProj_Vector)
inlinevirtual

A virtual member.

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

Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.

§ SetGammaEff()

void CVariable::SetGammaEff ( void  )
inlinevirtual

A virtual member.

Returns
Sets separation intermittency

Reimplemented in CTransLMVariable.

§ SetGammaSep()

void CVariable::SetGammaSep ( su2double  gamma_sep)
inlinevirtual

A virtual member.

Returns
Sets separation intermittency

Reimplemented in CTransLMVariable.

§ SetGradient() [1/2]

void CVariable::SetGradient ( su2double **  val_gradient)

Set the gradient of the solution.

Parameters
[in]val_gradient- Gradient of the solution.

§ SetGradient() [2/2]

void CVariable::SetGradient ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
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]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient.

§ SetGradient_Primitive()

void CVariable::SetGradient_Primitive ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SetGradient_Secondary()

void CVariable::SetGradient_Secondary ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient.

Reimplemented in CEulerVariable.

§ SetHarmonicBalance_Source()

void CVariable::SetHarmonicBalance_Source ( unsigned short  val_var,
su2double  val_source 
)
inlinevirtual

A virtual member.

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

Reimplemented in CAdjEulerVariable, CTurbMLVariable, CTurbSAVariable, and CEulerVariable.

§ SetIntBoundary_Jump()

void CVariable::SetIntBoundary_Jump ( su2double *  val_IntBoundary_Jump)
inlinevirtual

A virtual member.

Parameters
[in]val_IntBoundary_Jump- Pointer to the interior boundary jump.

Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.

§ SetLambda() [1/2]

void CVariable::SetLambda ( su2double  val_lambda)
inline

Set the value of the spectral radius.

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

§ SetLambda() [2/2]

void CVariable::SetLambda ( su2double  val_lambda,
unsigned short  val_iSpecies 
)
inlinevirtual

Set the value of the spectral radius.

Parameters
[in]val_lambda- Value of the spectral radius.
[in]val_iSpecies-Index of species

§ SetLaminarViscosity() [1/2]

void CVariable::SetLaminarViscosity ( su2double  laminarViscosity)
inlinevirtual

A virtual member.

Parameters
[in]laminarViscosity

Reimplemented in CIncNSVariable, and CNSVariable.

§ SetLaminarViscosity() [2/2]

void CVariable::SetLaminarViscosity ( CConfig config)
inlinevirtual

A virtual member.

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

§ SetLimiter()

void CVariable::SetLimiter ( unsigned short  val_var,
su2double  val_limiter 
)
inline

Set the value of the limiter.

Parameters
[in]val_var- Index of the variable.
[in]val_limiter- Value of the limiter for the index val_var.

§ SetLimiter_Primitive()

void CVariable::SetLimiter_Primitive ( unsigned short  val_var,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_value- Value of the gradient.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SetLimiter_Secondary()

void CVariable::SetLimiter_Secondary ( unsigned short  val_var,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_value- Value of the gradient.

Reimplemented in CEulerVariable.

§ SetLimiterPrimitive()

void CVariable::SetLimiterPrimitive ( unsigned short  val_species,
unsigned short  val_var,
su2double  val_limiter 
)
inlinevirtual

Set the value of the limiter.

Parameters
[in]val_species- Index of the species .
[in]val_var- Index of the variable.
[in]val_limiter- Value of the limiter for the index val_var.

§ SetMax_Lambda()

void CVariable::SetMax_Lambda ( su2double  val_max_lambda)
inline

Set the value of the maximum eigenvalue.

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue.

§ SetMax_Lambda_Inv() [1/2]

void CVariable::SetMax_Lambda_Inv ( su2double  val_max_lambda)
inline

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

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

§ SetMax_Lambda_Inv() [2/2]

void CVariable::SetMax_Lambda_Inv ( su2double  val_max_lambda,
unsigned short  val_species 
)
inlinevirtual

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

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue for the inviscid terms of the PDE.
[in]val_species- Value of the species index to set the maximum eigenvalue.

§ SetMax_Lambda_Visc() [1/2]

void CVariable::SetMax_Lambda_Visc ( su2double  val_max_lambda)
inline

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

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

§ SetMax_Lambda_Visc() [2/2]

void CVariable::SetMax_Lambda_Visc ( su2double  val_max_lambda,
unsigned short  val_species 
)
inlinevirtual

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

Parameters
[in]val_max_lambda- Value of the maximum eigenvalue for the viscous terms of the PDE.
[in]val_species- Index of the species to set the maximum eigenvalue of the viscous terms.

§ SetmuT()

void CVariable::SetmuT ( su2double  val_muT)
inlinevirtual

Set the value of the eddy viscosity.

Parameters
[in]val_muT

Reimplemented in CTurbVariable.

§ SetNon_Physical()

void CVariable::SetNon_Physical ( bool  val_value)
inline

Set the value of the non-physical point.

Parameters
[in]val_value- identification of the non-physical point.

§ SetObjFuncSource()

void CVariable::SetObjFuncSource ( su2double *  val_SetObjFuncSource)
inlinevirtual

A virtual member.

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

Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.

§ SetPhi_Old()

void CVariable::SetPhi_Old ( su2double *  val_phi)
inlinevirtual

A virtual member.

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

Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.

§ SetPreconditioner_Beta()

void CVariable::SetPreconditioner_Beta ( su2double  val_Beta)
inlinevirtual

Set the value of the preconditioner Beta.

Parameters
[in]val_Beta- Value of the low Mach preconditioner variable Beta

Reimplemented in CEulerVariable.

§ SetPressure() [1/2]

bool CVariable::SetPressure ( su2double  Gamma)
inlinevirtual

A virtual member.

Parameters
[in]Gamma- Ratio of Specific heats

Reimplemented in CEulerVariable.

§ SetPressure() [2/2]

bool CVariable::SetPressure ( CConfig config)
inlinevirtual

A virtual member.

Parameters
[in]config

§ SetPrimitive() [1/2]

void CVariable::SetPrimitive ( CConfig config)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.

§ SetPrimitive() [2/2]

void CVariable::SetPrimitive ( CConfig config,
su2double *  Coord 
)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.
[in]Coord- Physical coordinates.

§ SetResidual_Old()

void CVariable::SetResidual_Old ( su2double *  val_residual_old)

Set the value of the old residual.

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

§ SetSensitivity()

void CVariable::SetSensitivity ( unsigned short  iDim,
su2double  val 
)
inlinevirtual

Set the sensitivity at the node.

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

Reimplemented in CDiscAdjVariable.

§ SetSensor() [1/2]

void CVariable::SetSensor ( su2double  val_sensor)
inline

Set pressure sensor.

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

§ SetSensor() [2/2]

void CVariable::SetSensor ( su2double  val_sensor,
unsigned short  iSpecies 
)
inlinevirtual

Set pressure sensor.

Parameters
[in]val_sensor- Value of the pressure sensor.
[in]iSpecies- Index of the species.

§ SetSolution() [1/2]

void CVariable::SetSolution ( su2double *  val_solution)

Set the value of the solution.

Parameters
[in]val_solution- Solution of the problem.

§ SetSolution() [2/2]

void CVariable::SetSolution ( unsigned short  val_var,
su2double  val_solution 
)
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]val_var- Index of the variable.
[in]val_solution- Value of the solution for the index val_var.

§ SetSolution_Accel() [1/2]

void CVariable::SetSolution_Accel ( su2double *  val_solution_accel)
inlinevirtual

Set the value of the acceleration (Structural Analysis).

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Accel() [2/2]

void CVariable::SetSolution_Accel ( unsigned short  val_var,
su2double  val_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]val_var- Index of the variable.
[in]val_solution_accel- Value of the solution for the index val_var.

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Accel_time_n() [1/2]

void CVariable::SetSolution_Accel_time_n ( su2double *  val_solution_accel_time_n)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Accel_time_n() [2/2]

void CVariable::SetSolution_Accel_time_n ( unsigned short  val_var,
su2double  val_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]val_var- Index of the variable.
[in]val_solution_accel_time_n- Value of the old solution for the index val_var.

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Direct()

void CVariable::SetSolution_Direct ( su2double *  val_solution_direct)
inlinevirtual

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

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

Reimplemented in CDiscAdjVariable, CHeatVariable, and CWaveVariable.

§ SetSolution_Max()

void CVariable::SetSolution_Max ( unsigned short  val_var,
su2double  val_solution 
)
inline

Set the value of the max solution.

Parameters
[in]val_var- Index of the variable.
[in]val_solution- Value of the max solution for the index val_var.

§ SetSolution_Min()

void CVariable::SetSolution_Min ( unsigned short  val_var,
su2double  val_solution 
)
inline

Set the value of the min solution.

Parameters
[in]val_var- Index of the variable.
[in]val_solution- Value of the min solution for the index val_var.

§ SetSolution_Old() [1/2]

void CVariable::SetSolution_Old ( su2double *  val_solution_old)

Set the value of the old solution.

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

§ SetSolution_Old() [2/2]

void CVariable::SetSolution_Old ( unsigned short  val_var,
su2double  val_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]val_var- Index of the variable.
[in]val_solution_old- Value of the old solution for the index val_var.

§ SetSolution_Pred() [1/2]

void CVariable::SetSolution_Pred ( su2double *  val_solution_pred)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Pred() [2/2]

void CVariable::SetSolution_Pred ( unsigned short  val_var,
su2double  val_solution_pred 
)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Pred_Old() [1/2]

void CVariable::SetSolution_Pred_Old ( su2double *  val_solution_pred_Old)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Pred_Old() [2/2]

void CVariable::SetSolution_Pred_Old ( unsigned short  val_var,
su2double  val_solution_pred_old 
)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_time_n() [1/3]

void CVariable::SetSolution_time_n ( void  )
inlinevirtual

Set the value of the old solution.

STRUCTURAL ANALYSIS: NEW VARIABLES

Reimplemented in CFEM_ElasVariable.

§ SetSolution_time_n() [2/3]

void CVariable::SetSolution_time_n ( unsigned short  val_var,
su2double  val_solution 
)
inlinevirtual

Set the value of the old solution.

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_time_n() [3/3]

void CVariable::SetSolution_time_n ( su2double *  val_solution_time_n)
virtual

Set the value of the old solution.

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Vel() [1/2]

void CVariable::SetSolution_Vel ( su2double *  val_solution)
inlinevirtual

Set the value of the velocity (Structural Analysis).

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Vel() [2/2]

void CVariable::SetSolution_Vel ( unsigned short  val_var,
su2double  val_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]val_var- Index of the variable.
[in]val_solution_vel- Value of the solution for the index val_var.

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Vel_time_n() [1/2]

void CVariable::SetSolution_Vel_time_n ( su2double *  val_solution_vel_time_n)
inlinevirtual

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

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

Reimplemented in CFEM_ElasVariable.

§ SetSolution_Vel_time_n() [2/2]

void CVariable::SetSolution_Vel_time_n ( unsigned short  val_var,
su2double  val_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]val_var- Index of the variable.
[in]val_solution_vel_time_n- Value of the old solution for the index val_var.

Reimplemented in CFEM_ElasVariable.

§ SetSoundSpeed() [1/2]

bool CVariable::SetSoundSpeed ( su2double  Gamma)
inlinevirtual

A virtual member.

Parameters
[in]Gamma- Ratio of specific heats.

Reimplemented in CEulerVariable.

§ SetSoundSpeed() [2/2]

bool CVariable::SetSoundSpeed ( CConfig config)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.

§ SetSpecificHeatCp()

void CVariable::SetSpecificHeatCp ( su2double  Cp)
inlinevirtual

A virtual member.

Parameters
[in]Cp- Constant pressure specific heat.

Reimplemented in CNSVariable.

§ SetTemperature() [1/2]

bool CVariable::SetTemperature ( su2double  Gas_Constant)
inlinevirtual

A virtual member.

Parameters
[in]Gas_Constant- Value of the Gas Constant

Reimplemented in CEulerVariable.

§ SetTemperature() [2/2]

bool CVariable::SetTemperature ( CConfig config)
inlinevirtual

A virtual member.

Parameters
[in]config- Configuration parameters.

§ SetTemperature_ve()

bool CVariable::SetTemperature_ve ( su2double  val_Tve)
inlinevirtual

Sets the vibrational electronic temperature of the flow.

Returns
Value of the temperature of the flow.

§ SetThermalCoeff()

void CVariable::SetThermalCoeff ( CConfig config)
inlinevirtual

Set the thermal coefficient.

Parameters
[in]config- Configuration parameters.

§ SetThermalConductivity() [1/2]

void CVariable::SetThermalConductivity ( su2double  thermalConductivity)
inlinevirtual

A virtual member.

Parameters
[in]thermalConductivity

Reimplemented in CNSVariable.

§ SetThermalConductivity() [2/2]

void CVariable::SetThermalConductivity ( CConfig config)
inlinevirtual

A virtual member.

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

§ SetUnd_Lapl()

void CVariable::SetUnd_Lapl ( unsigned short  val_var,
su2double  val_und_lapl 
)

Set a value to the undivided laplacian.

Parameters
[in]val_var- Variable of the undivided laplacian.
[in]val_und_lapl- Value of the undivided laplacian.

§ SetUndivided_Laplacian()

void CVariable::SetUndivided_Laplacian ( unsigned short  val_var,
su2double  val_undivided_laplacian 
)
inline

Set the value of the undivided laplacian of the solution.

Parameters
[in]val_var- Index of the variable.
[in]val_undivided_laplacian- Value of the undivided solution for the index val_var.

§ SetVelocity_Old()

void CVariable::SetVelocity_Old ( su2double *  val_velocity)
inlinevirtual

A virtual member.

Parameters
[in]val_velocity- Pointer to the velocity.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SetVelSolutionOldVector()

void CVariable::SetVelSolutionOldVector ( su2double *  val_vector)

Specify a vector to set the velocity components of the old solution.

Parameters
[in]val_vector- Pointer to the vector.

§ SetVelSolutionVector()

void CVariable::SetVelSolutionVector ( su2double *  val_vector)

Specify a vector to set the velocity components of the solution.

Parameters
[in]val_vector- Pointer to the vector.

§ SetWallTemperature() [1/2]

void CVariable::SetWallTemperature ( su2double  Temperature_Wall)
inlinevirtual

A virtual member.

Parameters
[in]Temperature_Wall- Value of the Temperature at the wall

Reimplemented in CNSVariable.

§ SetWallTemperature() [2/2]

void CVariable::SetWallTemperature ( su2double *  Temperature_Wall)
inlinevirtual

A virtual member.

Parameters
[in]Temperature_Wall- Value of the Temperature at the wall

§ SetWindGust()

void CVariable::SetWindGust ( su2double *  val_WindGust)
inlinevirtual

Set the value of the wind gust.

Parameters
[in]val_WindGust- Value of the wind gust

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SetWindGustDer()

void CVariable::SetWindGustDer ( su2double *  val_WindGust)
inlinevirtual

Set the value of the derivatives of the wind gust.

Parameters
[in]val_WindGust- Value of the derivatives of the wind gust

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SubtractAuxVarGradient()

void CVariable::SubtractAuxVarGradient ( unsigned short  val_dim,
su2double  val_value 
)
inline

Subtract a value to the auxiliary variable gradient.

Parameters
[in]val_dim- Index of the dimension.
[in]val_value- Value of the gradient to be subtracted for the index val_dim.

§ SubtractGradient()

void CVariable::SubtractGradient ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inline

Subtract val_value to the solution gradient.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to subtract to the solution gradient.

§ SubtractGradient_Primitive()

void CVariable::SubtractGradient_Primitive ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to subtract to the gradient of the primitive variables.

Reimplemented in CIncEulerVariable, and CEulerVariable.

§ SubtractGradient_Secondary()

void CVariable::SubtractGradient_Secondary ( unsigned short  val_var,
unsigned short  val_dim,
su2double  val_value 
)
inlinevirtual

A virtual member.

Parameters
[in]val_var- Index of the variable.
[in]val_dim- Index of the dimension.
[in]val_value- Value to subtract to the gradient of the Secondary variables.

Reimplemented in CEulerVariable.

§ SubtractRes_TruncError()

void CVariable::SubtractRes_TruncError ( su2double *  val_truncation_error)

Subtract a value to the truncation error.

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

§ SubtractUnd_Lapl() [1/2]

void CVariable::SubtractUnd_Lapl ( su2double *  val_und_lapl)

Subtract the value of the undivided laplacian of the solution.

Parameters
[in]val_und_lapl- Value of the undivided solution.

§ SubtractUnd_Lapl() [2/2]

void CVariable::SubtractUnd_Lapl ( unsigned short  val_var,
su2double  val_und_lapl 
)

Subtract the value of the undivided laplacian of the solution.

Parameters
[in]val_var- Variable of the undivided laplacian.
[in]val_und_lapl- Value of the undivided solution.

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