|
SU2
|
Main class for defining the variables. More...
#include <variable_structure.hpp>
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. | |
Main class for defining the variables.
| 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.
| [in] | val_nvar | - Number of variables of the problem. |
| [in] | config | - Definition of the particular problem. |
| 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.
| [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. |
|
inline |
Add the value of the solution vector to the previous solution (incremental approach).
| [in] | val_var | - Index of the variable. |
| [in] | val_solution | - Value of the solution for the index val_var. |
|
inline |
Add a value to the auxiliary variable gradient.
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value of the gradient to be added for the index val_dim. |
| void CVariable::AddClippedSolution | ( | unsigned short | val_var, |
| su2double | val_solution, | ||
| su2double | lowerlimit, | ||
| su2double | upperlimit | ||
| ) |
Add a value to the solution, clipping the values.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution | - Value of the solution change. |
| [in] | lowerlimit | - Lower value. |
| [in] | upperlimit | - Upper value. |
| 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.
| [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. |
|
inline |
Add val_value to the solution gradient.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value to add to the solution gradient. |
|
inlinevirtual |
A virtual member.
| [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.
|
inlinevirtual |
A virtual member.
| [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.
|
inline |
Add the value of the spectral radius.
| [in] | val_lambda | - Value of the spectral radius. |
|
inlinevirtual |
Add the value of the spectral radius.
| [in] | val_iSpecies | -Index of species |
| [in] | val_lambda | - Value of the spectral radius. |
|
inline |
Add a value to the maximum eigenvalue.
| [in] | val_max_lambda | - Value of the maximum eigenvalue. |
|
inline |
Add a value to the maximum eigenvalue for the inviscid terms of the PDE.
| [in] | val_max_lambda | - Value of the maximum eigenvalue for the inviscid terms of the PDE. |
|
inlinevirtual |
Add a value to the maximum eigenvalue for the inviscid terms of the PDE.
| [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 |
|
inline |
Add a value to the maximum eigenvalue for the viscous terms of the PDE.
| [in] | val_max_lambda | - Value of the maximum eigenvalue for the viscous terms of the PDE. |
|
inlinevirtual |
Add a value to the maximum eigenvalue for the viscous terms of the PDE.
| [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 |
| void CVariable::AddRes_TruncError | ( | su2double * | val_truncation_error | ) |
Add a value to the truncation error.
| [in] | val_truncation_error | - Value that we want to add to the truncation error. |
| void CVariable::AddResidual_Sum | ( | su2double * | val_residual | ) |
Add a value to the summed residual vector.
| [in] | val_residual | - Pointer to the residual vector. |
| void CVariable::AddSolution | ( | unsigned short | val_var, |
| su2double | val_solution | ||
| ) |
Add a value to the solution.
| [in] | val_var | - Number of the variable. |
| [in] | val_solution | - Value that we want to add to the solution. |
| void CVariable::AddUnd_Lapl | ( | su2double * | val_und_lapl | ) |
Add the value of the undivided laplacian of the solution.
| [in] | val_und_lapl | - Value of the undivided solution. |
|
inlinevirtual |
A virtual member.
| [in] | V | |
| [in] | config | - Configuration settings |
| [in] | dPdU |
|
inlinevirtual |
Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\).
| [in] | V | |
| [in] | config | - Configuration settings |
| [in] | dTdU |
|
inlinevirtual |
Set partial derivative of temperature w.r.t. density \(\frac{\partial P}{\partial \rho_s}\).
| [in] | V | |
| [in] | config | - Configuration settings |
| [in] | dTdU |
|
inline |
Get the adjoint values of the solution.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Get the adjoint values of the solution at time n.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Get the adjoint values of the solution at time n-1.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Get the value of the auxiliary variable.
|
inline |
Get the gradient of the auxiliary variable.
|
inline |
Get the gradient of the auxiliary variable.
| [in] | val_dim | - Index of the dimension. |
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable.
|
inline |
Get the value of the time step.
|
inlinevirtual |
Get the value of the time step.
| [in] | iSpecies | - Index of the Species |
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
|
inlinevirtual |
A virtual member.
|
inlinevirtual |
A virtual member.
Reimplemented in CIncNSVariable, and CNSVariable.
|
inlinevirtual |
Get the Eddy Viscosity Sensitivity of the problem.
Reimplemented in CAdjTurbVariable.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.
|
inline |
Get the value of the solution gradient.
|
inline |
Get the value of the solution gradient.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.
|
inlinevirtual |
|
inline |
Get the value of the spectral radius.
|
inlinevirtual |
Get the value of the spectral radius.
| [in] | val_iSpecies | -Index of species |
|
inlinevirtual |
A virtual member.
Reimplemented in CIncNSVariable, and CNSVariable.
|
inlinevirtual |
A virtual member.
|
inline |
Get the value of the slope limiter.
|
inline |
Get the value of the slope limiter.
| [in] | val_var | - Index of the variable. |
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CEulerVariable.
|
inlinevirtual |
Set the value of the limiter.
| [in] | val_species | - Index of the species . |
| [in] | val_var | - Index of the variable. |
|
inlinevirtual |
A virtual member.
| [in] | val_Species | - Index of species s. |
|
inline |
Get the value of the maximum eigenvalue.
|
inline |
Get the value of the maximum eigenvalue for the inviscid terms of the PDE.
|
inline |
Get the value of the maximum eigenvalue for the viscous terms of the PDE.
|
inlinevirtual |
Get the value of the eddy viscosity.
Reimplemented in CTurbVariable.
|
inline |
Get the value of the non-physical point.
|
inlinevirtual |
A virtual member.
Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.
|
inlinevirtual |
Get the value of the preconditioner Beta.
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_vector | - Direction of projection. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_vector | - Direction of projection. |
| [in] | val_species | - Index of the desired species. |
|
inline |
Get the value of the old residual.
|
inline |
Get the value of the summed residual.
| void CVariable::GetResidual_Sum | ( | su2double * | val_residual | ) |
Get the value of the summed residual.
| [in] | val_residual | - Pointer to the summed residual. |
|
inline |
Get the truncation error.
| void CVariable::GetResTruncError | ( | su2double * | val_trunc_error | ) |
Get the truncation error.
| [in] | val_trunc_error | - Pointer to the truncation error. |
|
inlinevirtual |
A virtual member – Get the mixture specific heat at constant volume (trans.-rot.).
|
inlinevirtual |
A virtual member – Get the mixture specific heat at constant volume (vib.-el.).
|
inlinevirtual |
Get the Sensitivity at the node.
| [in] | iDim | - spacial component |
Reimplemented in CDiscAdjVariable.
|
inline |
Get the pressure sensor.
|
inlinevirtual |
Get the pressure sensor.
| [in] | iSpecies | - index of species |
|
inline |
Get the solution.
| [in] | val_var | - Index of the variable. |
|
inline |
Get the solution of the problem.
|
inlinevirtual |
Get the acceleration (Structural Analysis).
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the solution of the problem.
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the acceleration of the nodes (Structural Analysis) at time n.
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the solution at time n.
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Get the direct solution for the adjoint solver.
Reimplemented in CDiscAdjVariable, CHeatVariable, and CWaveVariable.
|
inline |
Get the value of the min solution.
| [in] | val_var | - Index of the variable. |
|
inline |
Get the value of the min solution.
| [in] | val_var | - Index of the variable. |
|
inline |
Get the old solution of the problem (Runge-Kutta method)
| [in] | val_var | - Index of the variable. |
|
inline |
Get the old solution of the problem (Runge-Kutta method)
|
inlinevirtual |
A virtual member. Get the value of the solution predictor.
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Get the solution at time n.
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Get the value of the solution predictor.
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Get the solution at time n.
Reimplemented in CFEM_ElasVariable.
|
inline |
Get the solution at time n.
|
inlinevirtual |
Get the solution at time n.
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inline |
Get the solution at time n-1.
|
inlinevirtual |
Get the velocity (Structural Analysis).
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the solution of the problem.
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the velocity of the nodes (Structural Analysis) at time n.
| [in] | val_var | - Index of the variable. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Get the solution at time n.
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
Reimplemented in CIncNSVariable, and CNSVariable.
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
|
inlinevirtual |
A virtual member.
Reimplemented in CNSVariable.
|
inlinevirtual |
A virtual member.
|
inline |
Get the undivided laplacian of the solution.
|
inline |
Get the undivided laplacian of the solution.
| [in] | val_var | - Variable of the undivided laplacian. |
|
inlinevirtual |
A virtual member.
| [in] | val_dim | - Index of the dimension. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
|
inlinevirtual |
|
inlinevirtual |
Get the value of the wind gust.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
Get the value of the derivatives of the wind gust.
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inline |
Register the variables in the solution array as input/output variable.
| [in] | input | - input or output variables. |
|
inline |
Set the adjoint values of the solution.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Set the adjoint values of the solution at time n.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Set the adjoint values of the solution at time n-1.
| [in] | adj_sol | - The adjoint values of the solution. |
|
inline |
Set auxiliar variables, we are looking for the gradient of that variable.
| [in] | val_auxvar | - Value of the auxiliar variable. |
|
inline |
Set the value of the auxiliary variable gradient.
| [in] | val_dim | - Index of the dimension. |
| [in] | val_gradient | - Value of the gradient for the index val_dim. |
|
inlinevirtual |
Set the blending function for the blending of k-w and k-eps.
| [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.
|
inline |
Set the value of the time step.
| [in] | val_delta_time | - Value of the time step. |
|
inlinevirtual |
Set the value of the time step.
| [in] | val_delta_time | - Value of the time step. |
| [in] | iSpecies | - Index of the Species . |
|
inlinevirtual |
A virtual member.
| [in] | val_velocity | - Value of the velocity. |
| [in] | Gamma | - Ratio of Specific heats |
|
inlinevirtual |
A virtual member.
| [in] | eddy_visc | - Value of the eddy viscosity. |
Reimplemented in CIncNSVariable, and CNSVariable.
|
inlinevirtual |
Set the Eddy Viscosity Sensitivity of the problem.
| [in] | val_EddyViscSens | - Eddy Viscosity Sensitivity. |
| [in] | numTotalVar | - Number of variables. |
Reimplemented in CAdjTurbVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_ForceProj_Vector | - Pointer to the force projection vector. |
Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.
|
inlinevirtual |
|
inlinevirtual |
| void CVariable::SetGradient | ( | su2double ** | val_gradient | ) |
Set the gradient of the solution.
| [in] | val_gradient | - Gradient of the solution. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value of the gradient. |
|
inlinevirtual |
A virtual member.
| [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.
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value of the gradient. |
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_source | - Value of the harmonic balance source. |
Reimplemented in CAdjEulerVariable, CTurbMLVariable, CTurbSAVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_IntBoundary_Jump | - Pointer to the interior boundary jump. |
Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.
|
inline |
Set the value of the spectral radius.
| [in] | val_lambda | - Value of the spectral radius. |
|
inlinevirtual |
Set the value of the spectral radius.
| [in] | val_lambda | - Value of the spectral radius. |
| [in] | val_iSpecies | -Index of species |
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
| [in] | config | - Definition of the particular problem. |
|
inline |
Set the value of the limiter.
| [in] | val_var | - Index of the variable. |
| [in] | val_limiter | - Value of the limiter for the index val_var. |
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_value | - Value of the gradient. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_var | - Index of the variable. |
| [in] | val_value | - Value of the gradient. |
Reimplemented in CEulerVariable.
|
inlinevirtual |
Set the value of the limiter.
| [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. |
|
inline |
Set the value of the maximum eigenvalue.
| [in] | val_max_lambda | - Value of the maximum eigenvalue. |
|
inline |
Set the value of the maximum eigenvalue for the inviscid terms of the PDE.
| [in] | val_max_lambda | - Value of the maximum eigenvalue for the inviscid terms of the PDE. |
|
inlinevirtual |
Set the value of the maximum eigenvalue for the inviscid terms of the PDE.
| [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. |
|
inline |
Set the value of the maximum eigenvalue for the viscous terms of the PDE.
| [in] | val_max_lambda | - Value of the maximum eigenvalue for the viscous terms of the PDE. |
|
inlinevirtual |
Set the value of the maximum eigenvalue for the viscous terms of the PDE.
| [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. |
|
inlinevirtual |
|
inline |
Set the value of the non-physical point.
| [in] | val_value | - identification of the non-physical point. |
|
inlinevirtual |
A virtual member.
| [in] | val_SetObjFuncSource | - Pointer to the objective function source. |
Reimplemented in CAdjIncEulerVariable, and CAdjEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | val_phi | - Value of the adjoint velocity. |
Reimplemented in CAdjIncNSVariable, CAdjNSVariable, CAdjIncEulerVariable, and CAdjEulerVariable.
|
inlinevirtual |
Set the value of the preconditioner Beta.
| [in] | val_Beta | - Value of the low Mach preconditioner variable Beta |
Reimplemented in CEulerVariable.
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
| [in] | config |
|
inlinevirtual |
A virtual member.
| [in] | config | - Configuration parameters. |
|
inlinevirtual |
A virtual member.
| [in] | config | - Configuration parameters. |
| [in] | Coord | - Physical coordinates. |
| void CVariable::SetResidual_Old | ( | su2double * | val_residual_old | ) |
Set the value of the old residual.
| [in] | val_residual_old | - Pointer to the residual vector. |
|
inlinevirtual |
Set the sensitivity at the node.
| [in] | iDim | - spacial component |
| [in] | val | - value of the Sensitivity |
Reimplemented in CDiscAdjVariable.
|
inline |
Set pressure sensor.
| [in] | val_sensor | - Value of the pressure sensor. |
|
inlinevirtual |
Set pressure sensor.
| [in] | val_sensor | - Value of the pressure sensor. |
| [in] | iSpecies | - Index of the species. |
| void CVariable::SetSolution | ( | su2double * | val_solution | ) |
Set the value of the solution.
| [in] | val_solution | - Solution of the problem. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution | - Value of the solution for the index val_var. |
|
inlinevirtual |
Set the value of the acceleration (Structural Analysis).
| [in] | val_solution_accel | - Solution of the problem (acceleration). |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution_accel | - Value of the solution for the index val_var. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Set the value of the acceleration (Structural Analysis) at time n.
| [in] | val_solution_accel_time_n | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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.
|
inlinevirtual |
A virtual member. Set the direct solution for the adjoint solver.
| [in] | val_solution_direct | - Value of the direct solution. |
Reimplemented in CDiscAdjVariable, CHeatVariable, and CWaveVariable.
|
inline |
Set the value of the max solution.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution | - Value of the max solution for the index val_var. |
|
inline |
Set the value of the min solution.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution | - Value of the min solution for the index val_var. |
| void CVariable::SetSolution_Old | ( | su2double * | val_solution_old | ) |
Set the value of the old solution.
| [in] | val_solution_old | - Pointer to the residual vector. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution_old | - Value of the old solution for the index val_var. |
|
inlinevirtual |
A virtual member. Set the value of the old solution.
| [in] | val_solution_pred | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Set the value of the solution predicted.
| [in] | val_solution_old | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Set the value of the old solution.
| [in] | val_solution_pred_Old | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
A virtual member. Set the value of the old solution predicted.
| [in] | val_solution_pred_old | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Set the value of the old solution.
STRUCTURAL ANALYSIS: NEW VARIABLES
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Set the value of the old solution.
| [in] | val_solution_time_n | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
virtual |
Set the value of the old solution.
| [in] | val_solution_old | - Pointer to the residual vector. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Set the value of the velocity (Structural Analysis).
| [in] | val_solution | - Solution of the problem (velocity). |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_var | - Index of the variable. |
| [in] | val_solution_vel | - Value of the solution for the index val_var. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
Set the value of the velocity (Structural Analysis) at time n.
| [in] | val_solution_vel_time_n | - Value of the old solution. |
Reimplemented in CFEM_ElasVariable.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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.
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
| [in] | config | - Configuration parameters. |
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
| [in] | Gas_Constant | - Value of the Gas Constant |
Reimplemented in CEulerVariable.
|
inlinevirtual |
A virtual member.
| [in] | config | - Configuration parameters. |
|
inlinevirtual |
Sets the vibrational electronic temperature of the flow.
|
inlinevirtual |
Set the thermal coefficient.
| [in] | config | - Configuration parameters. |
|
inlinevirtual |
|
inlinevirtual |
A virtual member.
| [in] | config | - Definition of the particular problem. |
| void CVariable::SetUnd_Lapl | ( | unsigned short | val_var, |
| su2double | val_und_lapl | ||
| ) |
Set a value to the undivided laplacian.
| [in] | val_var | - Variable of the undivided laplacian. |
| [in] | val_und_lapl | - Value of the undivided laplacian. |
|
inline |
Set the value of the undivided laplacian of the solution.
| [in] | val_var | - Index of the variable. |
| [in] | val_undivided_laplacian | - Value of the undivided solution for the index val_var. |
|
inlinevirtual |
A virtual member.
| [in] | val_velocity | - Pointer to the velocity. |
Reimplemented in CIncEulerVariable, and CEulerVariable.
| void CVariable::SetVelSolutionOldVector | ( | su2double * | val_vector | ) |
Specify a vector to set the velocity components of the old solution.
| [in] | val_vector | - Pointer to the vector. |
| void CVariable::SetVelSolutionVector | ( | su2double * | val_vector | ) |
Specify a vector to set the velocity components of the solution.
| [in] | val_vector | - Pointer to the vector. |
|
inlinevirtual |
A virtual member.
| [in] | Temperature_Wall | - Value of the Temperature at the wall |
Reimplemented in CNSVariable.
|
inlinevirtual |
A virtual member.
| [in] | Temperature_Wall | - Value of the Temperature at the wall |
|
inlinevirtual |
Set the value of the wind gust.
| [in] | val_WindGust | - Value of the wind gust |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inlinevirtual |
Set the value of the derivatives of the wind gust.
| [in] | val_WindGust | - Value of the derivatives of the wind gust |
Reimplemented in CIncEulerVariable, and CEulerVariable.
|
inline |
Subtract a value to the auxiliary variable gradient.
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value of the gradient to be subtracted for the index val_dim. |
|
inline |
Subtract val_value to the solution gradient.
| [in] | val_var | - Index of the variable. |
| [in] | val_dim | - Index of the dimension. |
| [in] | val_value | - Value to subtract to the solution gradient. |
|
inlinevirtual |
A virtual member.
| [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.
|
inlinevirtual |
A virtual member.
| [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.
| void CVariable::SubtractRes_TruncError | ( | su2double * | val_truncation_error | ) |
Subtract a value to the truncation error.
| [in] | val_truncation_error | - Value that we want to subtract to the truncation error. |
| void CVariable::SubtractUnd_Lapl | ( | su2double * | val_und_lapl | ) |
Subtract the value of the undivided laplacian of the solution.
| [in] | val_und_lapl | - Value of the undivided solution. |
| void CVariable::SubtractUnd_Lapl | ( | unsigned short | val_var, |
| su2double | val_und_lapl | ||
| ) |
Subtract the value of the undivided laplacian of the solution.
| [in] | val_var | - Variable of the undivided laplacian. |
| [in] | val_und_lapl | - Value of the undivided solution. |
1.8.12