Go to the documentation of this file.
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()
A HashTable to objects of type <T> with a label key.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
#define forAll(list, i)
Loop across all elements in list.
void transformList(const tensor &rotTensor, UList< T > &field)
Inplace transform a list of elements.
#define forAllIters(container, iter)
Iterate across all elements in the container object.
errorManip< error > abort(error &err)
Map from edge (expressed as its endpoints) to value. For easier forward declaration it is currently i...
#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...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.