Skip to content
Snippets Groups Projects
Commit 6b316ba3 authored by Will Bainbridge's avatar Will Bainbridge Committed by Andrew Heather
Browse files

interpolation: Optimise by using particle local coordinates

This change changes the point-tetIndices-face interpolation function
method to take barycentric-tetIndices-face arguments instead. This
function is, at present, only used for interpolating Eulerian data to
Lagrangian particles.

This change prevents an inefficiency in cellPointInterpolation whereby
the position of the particle is calculated from it's barycentric
coordinates, before immediately being converted back to barycentric
coordinates to perform the interpolation.
parent 7a02a507
Showing
with 73 additions and 50 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment