Searched refs:lintegral (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 2603 PetscScalar *cintegral, *lintegral; in DMPlexComputeIntegralFEM() local 2617 PetscCall(PetscCalloc2(Nf, &lintegral, (cEnd - cStart) * Nf, &cintegral)); in DMPlexComputeIntegralFEM() 2631 for (f = 0; f < Nf; ++f) lintegral[f] += cintegral[c * Nf + f]; in DMPlexComputeIntegralFEM() 2633 …PetscCallMPI(MPIU_Allreduce(lintegral, integral, Nf, MPIU_SCALAR, MPIU_SUM, PetscObjectComm((Petsc… in DMPlexComputeIntegralFEM() 2639 PetscCall(PetscFree2(lintegral, cintegral)); in DMPlexComputeIntegralFEM()
|