Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplex.c9919 cell_stats_t stats, globalStats; in DMPlexCheckCellShape() local
10001 PetscCallMPI(MPI_Reduce(&stats, &globalStats, 1, statType, statReduce, 0, comm)); in DMPlexCheckCellShape()
10005 PetscCall(PetscArraycpy(&globalStats, &stats, 1)); in DMPlexCheckCellShape()
10008 count = globalStats.count; in DMPlexCheckCellShape()
10009 min = globalStats.min; in DMPlexCheckCellShape()
10010 max = globalStats.max; in DMPlexCheckCellShape()
10011 mean = globalStats.sum / globalStats.count; in DMPlexCheckCellShape()
10012 …stdev = globalStats.count > 1 ? PetscSqrtReal(PetscMax((globalStats.squaresum - globalStats.count … in DMPlexCheckCellShape()