#include "petscfv.h" PetscErrorCode PetscFVGetTabulation(PetscFV fvm, PetscInt npoints, const PetscReal points[], PetscReal **B, PetscReal **D, PetscReal **H)Not collective
fvm | - The PetscFV object | |
npoints | - The number of tabulation points | |
points | - The tabulation point coordinates |
B | - The basis function values at tabulation points | |
D | - The basis function derivatives at tabulation points | |
H | - The basis function second derivatives at tabulation points |
B[(p*pdim + i)*Nc + c] is the value at point p for basis function i and component c
D[((p*pdim + i)*Nc + c)*dim + d] is the derivative value at point p for basis function i, component c, in direction d
H[(((p*pdim + i)*Nc + c)*dim + d)*dim + e] is the value at point p for basis function i, component c, in directions d and e