← Back to team overview

ffc team mailing list archive

evaluate_basis and derivatives

 


Hello,

I want to eliminate a basis function value (i.e. not generate code for it) for
evaluate_basis() (and evaluate_basis_derivative()).

Calling tabulate(x) on the FIAT element FiniteElement("CG", "triangle", 3)
will return the dot product of the expansion coefficients (a matrix) and the
bvals (an array) which is evaluated at the point x.

In the current case the coefficients is a 10x10 matrix and the bvals is a 10x1.
If I just want to return the first 9 basis function values should I remove the
last row of the coefficient matrix only, or should I also remove the last
column as well along with the last row in the bvals?

Kristian


Follow ups