Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexfem.c1467 PetscReal localDiff = 0.0; in DMPlexComputeL2DiffLocal() local
1574 localDiff += elemDiff; in DMPlexComputeL2DiffLocal()
1577 …PetscCallMPI(MPIU_Allreduce(&localDiff, diff, 1, MPIU_REAL, MPIU_SUM, PetscObjectComm((PetscObject… in DMPlexComputeL2DiffLocal()
1593 PetscReal localDiff = 0.0; in DMComputeL2GradientDiff_Plex() local
1688 localDiff += elemDiff; in DMComputeL2GradientDiff_Plex()
1692 …PetscCallMPI(MPIU_Allreduce(&localDiff, diff, 1, MPIU_REAL, MPIU_SUM, PetscObjectComm((PetscObject… in DMComputeL2GradientDiff_Plex()
1704 PetscReal *localDiff; in DMComputeL2FieldDiff_Plex() local
1725 PetscCall(PetscCalloc1(Nf, &localDiff)); in DMComputeL2FieldDiff_Plex()
1835 localDiff[fields[f]] += elemDiff; in DMComputeL2FieldDiff_Plex()
1836 …cInt_FMT " field %" PetscInt_FMT " cum diff %g\n", cell, fields[f], (double)localDiff[fields[f]])); in DMComputeL2FieldDiff_Plex()
[all …]