Home
last modified time | relevance | path

Searched refs:Teq (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
265 Teq = 0.0; in CheckDistribution()
266 for (q = 0; q < Nq; ++q) Teq += PetscSqr(xq[q]) * ComputePDF(m, n, T, &xq[q]) * wq[q]; in CheckDistribution()
267 Teq = Teq * m / neq - PetscSqr(veq); in CheckDistribution()
268 …bsReal(Teq - T) <= PETSC_SMALL, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Int v^2 f %g != %g temperat… in CheckDistribution()