transformer: Added bool to optimise transformations without translation

Also corrected bugs in the inverse transform function and added tmp<Field>
transform functions for efficiency.
This commit is contained in:
Henry Weller
2019-12-30 17:55:52 +00:00
parent 164ab8407b
commit f8ac6e8d1e
11 changed files with 296 additions and 158 deletions

View File

@ -479,7 +479,7 @@ void Foam::FaceCellWave<Type, TrackingData>::transform
{
// Transform. Implementation referred to Type
if (trans.hasR())
if (trans.rotates())
{
for (label facei = 0; facei < nFaces; facei++)
{