Skip to content
Snippets Groups Projects
Commit eb09cdd8 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 39376dfa
Branches
Tags
1 merge request!144Integration openfoam.org
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