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:
@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user