Lines Matching refs:cintegral
2401 …ral_Internal(DM dm, Vec locX, PetscInt cStart, PetscInt cEnd, PetscScalar *cintegral, PetscCtx ctx) in DMPlexComputeIntegral_Internal() argument
2543 PetscCall(PetscFEIntegrate(prob, f, Ne, chunkGeom, u, probAux, a, cintegral)); in DMPlexComputeIntegral_Internal()
2545 …t * totDim], probAux, PetscSafePointerPlusOffset(a, offset * totDimAux), &cintegral[offset * Nf])); in DMPlexComputeIntegral_Internal()
2561 cintegral[c * Nf + f] += PetscRealPart(lint) * cgeomFVM[c].volume; in DMPlexComputeIntegral_Internal()
2603 PetscScalar *cintegral, *lintegral; in DMPlexComputeIntegralFEM() local
2617 PetscCall(PetscCalloc2(Nf, &lintegral, (cEnd - cStart) * Nf, &cintegral)); in DMPlexComputeIntegralFEM()
2623 PetscCall(DMPlexComputeIntegral_Internal(dm, locX, cStart, cEnd, cintegral, ctx)); in DMPlexComputeIntegralFEM()
2630 if (printFEM > 1) PetscCall(DMPrintCellVector(cell, "Cell Integral", Nf, &cintegral[c * Nf])); in DMPlexComputeIntegralFEM()
2631 for (f = 0; f < Nf; ++f) lintegral[f] += cintegral[c * Nf + f]; in DMPlexComputeIntegralFEM()
2639 PetscCall(PetscFree2(lintegral, cintegral)); in DMPlexComputeIntegralFEM()
2665 PetscScalar *cintegral, *af; in DMPlexComputeCellwiseIntegralFEM() local
2679 PetscCall(PetscCalloc1((cEnd - cStart) * Nf, &cintegral)); in DMPlexComputeCellwiseIntegralFEM()
2685 PetscCall(DMPlexComputeIntegral_Internal(dm, locX, cStart, cEnd, cintegral, ctx)); in DMPlexComputeCellwiseIntegralFEM()
2698 if (printFEM > 1) PetscCall(DMPrintCellVector(cell, "Cell Integral", Nf, &cintegral[c * Nf])); in DMPlexComputeCellwiseIntegralFEM()
2704 for (f = 0; f < Nf; ++f) af[off + f] = cintegral[c * Nf + f]; in DMPlexComputeCellwiseIntegralFEM()
2707 PetscCall(PetscFree(cintegral)); in DMPlexComputeCellwiseIntegralFEM()