File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -599,8 +599,8 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
599599 consistently by using the complete control volume info
600600 from both sides of the periodic face. ---*/
601601
602- for (iVar = 0 ; iVar< nVar; iVar++)
603- Und_Lapl[iVar] = 0.0 ;
602+ for (iVar = 0 ; iVar < nVar; iVar++)
603+ Und_Lapl[iVar] = 0.0 ;
604604
605605 for (iNeighbor = 0 ; iNeighbor < geometry->nodes ->GetnPoint (iPoint); iNeighbor++) {
606606 jPoint = geometry->nodes ->GetPoint (iPoint, iNeighbor);
@@ -772,7 +772,7 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
772772
773773 /* --- Rotate the partial gradients in space for all variables. ---*/
774774
775- for (iVar = 0 ; iVar < nVar ; iVar++) {
775+ for (iVar = 0 ; iVar < nPrimVarGrad ; iVar++) {
776776 Rotate (zeros, jacBlock[iVar], rotBlock[iVar]);
777777 }
778778
You can’t perform that action at this time.
0 commit comments