Lines Matching refs:vcoords
247 PetscScalar *vcoords = NULL; in CheckDistribution() local
249 PetscCall(DMPlexVecGetClosure(dm, coordSection, coordsLocal, c, NULL, &vcoords)); in CheckDistribution()
250 neq += ComputeCDF(m, n, T, vcoords[0], vcoords[1]); in CheckDistribution()
251 PetscCall(DMPlexVecRestoreClosure(dm, coordSection, coordsLocal, c, NULL, &vcoords)); in CheckDistribution()
317 PetscScalar *vcoords = NULL; in RHSFunctionParticles() local
322 PetscCall(DMPlexVecGetClosure(plex, coordSection, coordsLocal, c, NULL, &vcoords)); in RHSFunctionParticles()
323 neq = ComputeCDF(m, n, T, vcoords[0], vcoords[1]); in RHSFunctionParticles()
324 PetscCall(DMPlexVecRestoreClosure(plex, coordSection, coordsLocal, c, NULL, &vcoords)); in RHSFunctionParticles()
330 PetscScalar *vcoords = NULL; in RHSFunctionParticles() local
340 PetscCall(DMPlexVecGetClosure(plex, coordSection, coordsLocal, p, NULL, &vcoords)); in RHSFunctionParticles()
341 eqE += ComputeCDF(m, n, T, vcoords[0], vcoords[1]) * m2; in RHSFunctionParticles()
342 PetscCall(DMPlexVecRestoreClosure(plex, coordSection, coordsLocal, p, NULL, &vcoords)); in RHSFunctionParticles()