Home
last modified time | relevance | path

Searched refs:veq (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/tests/
H A Dex28.c233 PetscReal vmin, vmax, neq, veq, Teq; in CheckDistribution() local
261 veq = 0.0; in CheckDistribution()
262 for (q = 0; q < Nq; ++q) veq += xq[q] * ComputePDF(m, n, T, &xq[q]) * wq[q]; in CheckDistribution()
263 veq /= neq; in CheckDistribution()
264 …bsReal(veq - v[0]) <= PETSC_SMALL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Int v f %g != %g velocit… in CheckDistribution()
267 Teq = Teq * m / neq - PetscSqr(veq); in CheckDistribution()