40 List<T> result(
field.size());
64 if (rotTensor.size() == 1)
68 else if (rotTensor.size() ==
field.size())
78 <<
"Sizes of field and transformation not equal. field:" 79 <<
field.size() <<
" transformation:" << rotTensor.size()
90 T& value = iter.val();
99 if (rotTensor.size() == 1)
106 <<
"Multiple transformation tensors not supported. field:" 107 <<
field.size() <<
" transformation:" << rotTensor.size()
118 T& value = iter.val();
127 if (rotTensor.size() == 1)
134 <<
"Multiple transformation tensors not supported. field:" 135 <<
field.size() <<
" transformation:" << rotTensor.size()
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
#define forAll(list, i)
Loop across all elements in list.
#define forAllIters(container, iter)
Iterate across all elements in the container object.
errorManip< error > abort(error &err)
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
void transformList(const tensor &rotTensor, UList< T > &field)
Inplace transform a list of elements.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.