petsc-3.7.1 2016-05-15
Report Typos and Errors

DMPlexComputeCellGeometryFEM

Compute the Jacobian, inverse Jacobian, and Jacobian determinant at each quadrature point in the given cell

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexComputeCellGeometryFEM(DM dm, PetscInt cell, PetscFE fe, PetscReal *v0, PetscReal *J, PetscReal *invJ, PetscReal *detJ)
Collective on DM Many br

Input Arguments

dm - the DM Many br
cell - the cell Many br
fe - the finite element containing the quadrature Many br

Output Arguments

v0 - the translation part of this transform Many br
J - the Jacobian of the transform from the reference element at each quadrature point Many br
invJ - the inverse of the Jacobian at each quadrature point Many br
detJ - the Jacobian determinant at each quadrature point Many br

Many br

Fortran Notes

Since it returns arrays, this routine is only available in Fortran 90, and you must Many brinclude petsc.h90 in your code. Many br

See Also

DMGetCoordinateSection(), DMGetCoordinateVec()

Level:advanced
Location:
src/dm/impls/plex/plexgeometry.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages