Skip to content
Snippets Groups Projects
Commit 6a7f2f29 authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

fieldCoordinateSystemTransform: Remove N^2 loop over the field

parent 2fdeb139
Branches
Tags
No related merge requests found
......@@ -65,10 +65,7 @@ void Foam::fieldCoordinateSystemTransform::transformField
dimensionedTensor R("R", field.dimensions(), coordSys_.R().R());
forAll(field, i)
{
Foam::transform(transField, R, transField);
}
Foam::transform(transField, R, transField);
Info<< " writing field " << transField.name() << nl << endl;
......
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