5 scalar sumLocalContErr =
6 (sum(mag(rho - rho0 - psi*(p - p0)))/sum(rho)).value();
8 scalar globalContErr = (sum(rho - rho0 - psi*(p - p0))/sum(rho)).value();
10 cumulativeContErr += globalContErr;
12 Info<< "time step continuity errors : sum local = " << sumLocalContErr
13 << ", global = " << globalContErr
14 << ", cumulative = " << cumulativeContErr << endl;