Lines Matching refs:neq
233 PetscReal vmin, vmax, neq, veq, Teq; in CheckDistribution() local
239 neq = ComputeCDF(m, n, T, vmin, vmax); in CheckDistribution()
240 …PetscAbsReal(neq - n) <= PETSC_SMALL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Int f %g != %g mass (… in CheckDistribution()
245 neq = 0.0; in CheckDistribution()
250 neq += ComputeCDF(m, n, T, vcoords[0], vcoords[1]); in CheckDistribution()
253 …scAbsReal(neq - n) <= PETSC_SMALL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Cell Int f %g != %g mass… in CheckDistribution()
257 neq = 0.0; in CheckDistribution()
258 for (q = 0; q < Nq; ++q) neq += ComputePDF(m, n, T, &xq[q]) * wq[q]; in CheckDistribution()
259 …PetscAbsReal(neq - n) <= PETSC_SMALL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Int f %g != %g mass (… in CheckDistribution()
263 veq /= neq; in CheckDistribution()
267 Teq = Teq * m / neq - PetscSqr(veq); in CheckDistribution()
318 PetscReal relaxation = 1.0, neq; in RHSFunctionParticles() local
323 neq = ComputeCDF(m, n, T, vcoords[0], vcoords[1]); in RHSFunctionParticles()
325 for (q = 0; q < Ncp; ++q) r[sp + q] = (1.0 / relaxation) * (neq - u[sp + q]); in RHSFunctionParticles()