@@ -1813,36 +1813,36 @@ void CIncEulerSolver::Source_Residual(CGeometry *geometry, CSolver **solver_cont
18131813
18141814}
18151815
1816- void CIncEulerSolver::Custom_Source_Residual (CGeometry *geometry, CSolver **solver_container,
1817- CNumerics **numerics_container, CConfig *config, unsigned short iMesh) {
1816+ // void CIncEulerSolver::Custom_Source_Residual(CGeometry *geometry, CSolver **solver_container,
1817+ // CNumerics **numerics_container, CConfig *config, unsigned short iMesh) {
18181818
1819- /* --- Pick one numerics object per thread. ---*/
1820- CNumerics* numerics = numerics_container[SOURCE_SECOND_TERM + omp_get_thread_num ()*MAX_TERMS];
1819+ // /*--- Pick one numerics object per thread. ---*/
1820+ // CNumerics* numerics = numerics_container[SOURCE_SECOND_TERM + omp_get_thread_num()*MAX_TERMS];
18211821
1822- unsigned short iVar;
1823- unsigned long iPoint;
1824- AD::StartNoSharedReading ();
1822+ // unsigned short iVar;
1823+ // unsigned long iPoint;
1824+ // AD::StartNoSharedReading();
18251825
1826- SU2_OMP_FOR_STAT (omp_chunk_size)
1827- for (iPoint = 0 ; iPoint < nPointDomain; iPoint++) {
1826+ // SU2_OMP_FOR_STAT(omp_chunk_size)
1827+ // for (iPoint = 0; iPoint < nPointDomain; iPoint++) {
18281828
1829- /* --- Load the volume of the dual mesh cell ---*/
1829+ // /*--- Load the volume of the dual mesh cell ---*/
18301830
1831- numerics->SetVolume (geometry->nodes ->GetVolume (iPoint));
1831+ // numerics->SetVolume(geometry->nodes->GetVolume(iPoint));
18321832
1833- /* --- Get control volume size. ---*/
1834- su2double Volume = geometry->nodes ->GetVolume (iPoint);
1833+ // /*--- Get control volume size. ---*/
1834+ // su2double Volume = geometry->nodes->GetVolume(iPoint);
18351835
1836- /* --- Compute the residual for this control volume and subtract. ---*/
1837- for (iVar = 0 ; iVar < nVar; iVar++) {
1838- LinSysRes[iPoint*nVar+iVar] += PointSource[iPoint][iVar] * Volume;
1839- }
1840- }
1841- END_SU2_OMP_FOR
1836+ // /*--- Compute the residual for this control volume and subtract. ---*/
1837+ // for (iVar = 0; iVar < nVar; iVar++) {
1838+ // LinSysRes[iPoint*nVar+iVar] += PointSource[iPoint][iVar] * Volume;
1839+ // }
1840+ // }
1841+ // END_SU2_OMP_FOR
18421842
1843- AD::EndNoSharedReading ();
1843+ // AD::EndNoSharedReading();
18441844
1845- }
1845+ // }
18461846
18471847
18481848void CIncEulerSolver::Source_Template (CGeometry *geometry, CSolver **solver_container, CNumerics *numerics,
0 commit comments