petsc-3.10.5 2019-03-28
DMPlexComputeBdIntegral
Form the integral over the specified boundary from the global input X using pointwise functions specified by the user
Synopsis
#include "petscdmplex.h"
PetscErrorCode DMPlexComputeBdIntegral(DM dm, Vec X, DMLabel label, PetscInt numVals, const PetscInt vals[],
void (*func)(PetscInt, PetscInt, PetscInt,
const PetscInt[], const PetscInt[], const PetscScalar[], const PetscScalar[], const PetscScalar[],
const PetscInt[], const PetscInt[], const PetscScalar[], const PetscScalar[], const PetscScalar[],
PetscReal, const PetscReal[], const PetscReal[], PetscInt, const PetscScalar[], PetscScalar[]),
PetscScalar *integral, void *user)
Input Parameters