You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a generic Visc_res_impl in ScalarSolver. Template the specific
contribution.
Following the idea from SetTime_Step and SetTime_Step_impl from
CFVMFlowSolver. The Base class has a Visc_Res_impl function that implements
the majority. Each child has a Visc_Res routine that defines a struct
with the Solvers-specifc-numerics and then calls the *_impl with this
very struct. Like so one can has one base implemenation and each solver
only adds its very specific change.
@@ -49,7 +50,8 @@ class CScalarSolver : public CSolver {
49
50
50
51
unsignedlong omp_chunk_size; /*!< \brief Chunk size used in light point loops. */
51
52
52
-
su2double lowerlimit[MAXNVAR] = {0.0}; /*!< \brief contains lower limits for turbulence variables. Note that ::min() returns the smallest positive value for floats. */
53
+
su2double lowerlimit[MAXNVAR] = {0.0}; /*!< \brief contains lower limits for turbulence variables. Note that ::min()
54
+
returns the smallest positive value for floats. */
0 commit comments