@@ -319,33 +319,6 @@ void CSpeciesSolver::Preprocessing(CGeometry* geometry, CSolver** solver_contain
319319 CommonPreprocessing (geometry, config, Output);
320320}
321321
322- void CSpeciesSolver::SetInitialCondition (CGeometry** geometry, CSolver*** solver_container, CConfig* config,
323- unsigned long ExtIter) {
324- const bool Restart = (config->GetRestart () || config->GetRestart_Flow ());
325-
326- // / NOTE TK:: Check whether this is done in the constructor for example and whether this is mnecessary. The TurbSolver
327- // / does not do this!
328- /* --- For a restart do nothing here. Otherwise initialize the solution with the Init value. ---*/
329- if ((!Restart) && ExtIter == 0 ) {
330- for (unsigned long iMesh = 0 ; iMesh <= config->GetnMGLevels (); iMesh++) {
331- SU2_OMP_FOR_STAT (omp_chunk_size)
332- for (unsigned long iPoint = 0 ; iPoint < geometry[iMesh]->GetnPoint (); iPoint++) {
333- solver_container[iMesh][SPECIES_SOL]->GetNodes ()->SetSolution (iPoint, config->GetSpecies_Init ());
334- }
335- END_SU2_OMP_FOR
336-
337- solver_container[iMesh][SPECIES_SOL]->InitiateComms (geometry[iMesh], config, SOLUTION);
338- solver_container[iMesh][SPECIES_SOL]->CompleteComms (geometry[iMesh], config, SOLUTION);
339-
340- solver_container[iMesh][FLOW_SOL]->InitiateComms (geometry[iMesh], config, SOLUTION);
341- solver_container[iMesh][FLOW_SOL]->CompleteComms (geometry[iMesh], config, SOLUTION);
342-
343- solver_container[iMesh][FLOW_SOL]->Preprocessing (geometry[iMesh], solver_container[iMesh], config, iMesh,
344- NO_RK_ITER, RUNTIME_FLOW_SYS, false );
345- }
346- }
347- }
348-
349322void CSpeciesSolver::Viscous_Residual (unsigned long iEdge, CGeometry* geometry, CSolver** solver_container,
350323 CNumerics* numerics, CConfig* config) {
351324 /* --- Define an object to set solver specific numerics contribution. ---*/
0 commit comments