@@ -532,7 +532,7 @@ SUBROUTINE ComputeTimeDerivative( mesh, particles, time, mode, HO_Elements, elem
532532! Compute local entropy variables gradient
533533! ----------------------------------------
534534!
535- call ViscousDiscretization % ComputeLocalGradients( NCONS, NCONS, mesh , time , mGradientVariables, Level = locLevel)
535+ call ViscousDiscretization % ComputeLocalGradients( NCONS, NCONS, mesh , time , mGradientVariables, element_mask = element_mask, Level = locLevel)
536536!
537537! --------------------
538538! Update MPI Gradients
@@ -549,7 +549,7 @@ SUBROUTINE ComputeTimeDerivative( mesh, particles, time, mode, HO_Elements, elem
549549! -------------------------------------
550550!
551551! $omp do schedule(runtime) private(i,j,k,sqrtRho,invMa2,eID)
552- do lID = 1 , MLIter(locLevel,1 ) !
552+ do lID = 1 , MLIter(locLevel,1 )
553553 eID = MLIter_eID(lID)
554554 compute_element = .true.
555555 if (present (element_mask)) compute_element = element_mask(eID)
@@ -589,7 +589,7 @@ SUBROUTINE ComputeTimeDerivative( mesh, particles, time, mode, HO_Elements, elem
589589 end do
590590! $omp end do
591591
592- call ViscousDiscretization % LiftGradients( NCONS, NCONS, mesh , time , mGradientVariables)
592+ call ViscousDiscretization % LiftGradients( NCONS, NCONS, mesh , time , mGradientVariables, element_mask = element_mask )
593593
594594#ifdef _HAS_MPI_
595595! $omp single
@@ -656,7 +656,7 @@ SUBROUTINE ComputeTimeDerivative( mesh, particles, time, mode, HO_Elements, elem
656656! Get concentration (lifted) gradients (also prolong to faces)
657657! ------------------------------------------------------------
658658!
659- call CHDiscretization % ComputeGradient(NCOMP, NCOMP, mesh, time, chGradientVariables, .false. , element_mask)
659+ call CHDiscretization % ComputeGradient(NCOMP, NCOMP, mesh, time, chGradientVariables, .false. , element_mask = element_mask )
660660!
661661! --------------------------------
662662! Get chemical potential laplacian
0 commit comments