@@ -2223,8 +2223,7 @@ void CEulerSolver::CommonPreprocessing(CGeometry *geometry, CSolver **solver_con
22232223 bool cont_adjoint = config->GetContinuous_Adjoint ();
22242224 bool disc_adjoint = config->GetDiscrete_Adjoint ();
22252225 bool implicit = (config->GetKind_TimeIntScheme () == EULER_IMPLICIT);
2226- bool center = (config->GetKind_ConvNumScheme_Flow () == SPACE_CENTERED) ||
2227- (cont_adjoint && config->GetKind_ConvNumScheme_AdjFlow () == SPACE_CENTERED);
2226+ bool center = (config->GetKind_ConvNumScheme_Flow () == SPACE_CENTERED);
22282227 bool center_jst = (config->GetKind_Centered_Flow () == JST) && (iMesh == MESH_0);
22292228 bool center_jst_ke = (config->GetKind_Centered_Flow () == JST_KE) && (iMesh == MESH_0);
22302229 bool center_jst_mat = (config->GetKind_Centered_Flow () == JST_MAT) && (iMesh == MESH_0);
@@ -2327,20 +2326,19 @@ void CEulerSolver::CommonPreprocessing(CGeometry *geometry, CSolver **solver_con
23272326void CEulerSolver::Preprocessing (CGeometry *geometry, CSolver **solver_container, CConfig *config, unsigned short iMesh,
23282327 unsigned short iRKStep, unsigned short RunTime_EqSystem, bool Output) {
23292328
2330- unsigned long InnerIter = config->GetInnerIter ();
2331- bool cont_adjoint = config->GetContinuous_Adjoint ();
2332- bool muscl = (config->GetMUSCL_Flow () || (cont_adjoint && config->GetKind_ConvNumScheme_AdjFlow () == ROE));
2333- bool limiter = (config->GetKind_SlopeLimit_Flow () != NO_LIMITER) && (InnerIter <= config->GetLimiterIter ());
2334- bool center = (config->GetKind_ConvNumScheme_Flow () == SPACE_CENTERED) || (cont_adjoint && config->GetKind_ConvNumScheme_AdjFlow () == SPACE_CENTERED);
2335- bool van_albada = config->GetKind_SlopeLimit_Flow () == VAN_ALBADA_EDGE;
2329+ const auto InnerIter = config->GetInnerIter ();
2330+ const bool muscl = config->GetMUSCL_Flow () && (iMesh == MESH_0);
2331+ const bool center = (config->GetKind_ConvNumScheme_Flow () == SPACE_CENTERED);
2332+ const bool limiter = (config->GetKind_SlopeLimit_Flow () != NO_LIMITER) && (InnerIter <= config->GetLimiterIter ());
2333+ const bool van_albada = (config->GetKind_SlopeLimit_Flow () == VAN_ALBADA_EDGE);
23362334
23372335 /* --- Common preprocessing steps. ---*/
23382336
23392337 CommonPreprocessing (geometry, solver_container, config, iMesh, iRKStep, RunTime_EqSystem, Output);
23402338
23412339 /* --- Upwind second order reconstruction ---*/
23422340
2343- if ((muscl && !center) && (iMesh == MESH_0) && !Output ) {
2341+ if (!Output && muscl && !center ) {
23442342
23452343 /* --- Gradient computation for MUSCL reconstruction. ---*/
23462344
@@ -2355,10 +2353,8 @@ void CEulerSolver::Preprocessing(CGeometry *geometry, CSolver **solver_container
23552353
23562354 /* --- Limiter computation ---*/
23572355
2358- if (limiter && (iMesh == MESH_0) && !Output && !van_albada)
2359- SetPrimitive_Limiter (geometry, config);
2356+ if (limiter && !van_albada) SetPrimitive_Limiter (geometry, config);
23602357 }
2361-
23622358}
23632359
23642360unsigned long CEulerSolver::SetPrimitive_Variables (CSolver **solver_container, CConfig *config, bool Output) {
0 commit comments