You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…terpolation_matrix) and non-matching maps in function.interpolate (#2281)
* Fixes Discrete interpolation wrong for non-affine elements (using Jacobians in transformations) #2275
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
Inside the discrete interpolation operator, the derivatives (of cmap basis) at the first quadrature points is used to compute jacobians https://github.com/FEniCS/dolfinx/blob/main/cpp/dolfinx/fem/discreteoperators.h#L200-L203
This should be changed in:
https://github.com/FEniCS/dolfinx/blob/main/cpp/dolfinx/fem/discreteoperators.h#L274
to use the q-th entry of https://github.com/FEniCS/dolfinx/blob/main/cpp/dolfinx/fem/discreteoperators.h#L200-L201
The text was updated successfully, but these errors were encountered: