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

PetscSpaceEvaluate

Evaluate the basis functions and their derivatives (jet) at each point

Synopsis

#include "petscfe.h" 
PetscErrorCode PetscSpaceEvaluate(PetscSpace sp, PetscInt npoints, const PetscReal points[], PetscReal B[], PetscReal D[], PetscReal H[])

Input Parameters

sp - The PetscSpace
npoints - The number of evaluation points, in reference coordinates
points - The point coordinates

Output Parameters

B - The function evaluations in a npoints x nfuncs array
D - The derivative evaluations in a npoints x nfuncs x dim array
H - The second derivative evaluations in a npoints x nfuncs x dim x dim array

Note: Above nfuncs is the dimension of the space, and dim is the spatial dimension. The coordinates are given on the reference cell, not in real space.

See Also

PetscFEGetTabulation(), PetscFEGetDefaultTabulation(), PetscSpaceCreate()

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