2 dimensionedScalar totalMass = fvc::domainIntegrate(rho);
4 scalar sumLocalContErr =
6 fvc::domainIntegrate(mag(rho - thermo.rho()))/totalMass
11 fvc::domainIntegrate(rho - thermo.rho())/totalMass
14 cumulativeContErr[i] += globalContErr;
16 Info<< "time step continuity errors (" << mesh.name() << ")"
17 << ": sum local = " << sumLocalContErr
18 << ", global = " << globalContErr
19 << ", cumulative = " << cumulativeContErr[i]