petsc-3.8.4 2018-03-24
Report Typos and Errors

PetscFEIntegrate

Produce the integral for the given field for a chunk of elements by quadrature integration

Synopsis

#include "petscfe.h" 
PetscErrorCode PetscFEIntegrate(PetscFE fem, PetscDS prob, PetscInt field, PetscInt Ne, PetscFECellGeom *cgeom,
                                const PetscScalar coefficients[], PetscDS probAux, const PetscScalar coefficientsAux[], PetscReal integral[])
Not collective

Input Parameters

fem - The PetscFE object for the field being integrated
prob - The PetscDS specifying the discretizations and continuum functions
field - The field being integrated
Ne - The number of elements in the chunk
cgeom - The cell geometry for each cell in the chunk
coefficients - The array of FEM basis coefficients for the elements
probAux - The PetscDS specifying the auxiliary discretizations
coefficientsAux - The array of FEM auxiliary basis coefficients for the elements

Output Parameter

integral -the integral for this field

See Also

PetscFEIntegrateResidual()

Level:developer
Location:
src/dm/dt/interface/dtfe.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages