102#ifndef functionObjects_fieldCoordinateSystemTransform_H
103#define functionObjects_fieldCoordinateSystemTransform_H
113namespace functionObjects
120class fieldCoordinateSystemTransform
122 public fvMeshFunctionObject
129 volFieldSelection fieldSet_;
132 autoPtr<coordinateSystem> csysPtr_;
136 mutable autoPtr<surfaceTensorField> rotTensorSurface_;
140 mutable autoPtr<volTensorField> rotTensorVolume_;
146 word transformFieldName(
const word& fieldName)
const;
156 template<
class FieldType>
157 void transformField(
const FieldType&
field);
160 template<
class FieldType,
class RotationFieldType>
163 const RotationFieldType& rot,
164 const FieldType&
field
175 TypeName(
"fieldCoordinateSystemTransform");
181 fieldCoordinateSystemTransform
185 const dictionary&
dict
189 fieldCoordinateSystemTransform(
const fieldCoordinateSystemTransform&)
193 void operator=(
const fieldCoordinateSystemTransform&) =
delete;
197 virtual ~fieldCoordinateSystemTransform() =
default;
203 virtual bool read(
const dictionary&);
206 virtual bool execute();
209 virtual bool write();
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
GeometricField< tensor, fvPatchField, volMesh > volTensorField
GeometricField< tensor, fvsPatchField, surfaceMesh > surfaceTensorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.