102 #ifndef functionObjects_fieldCoordinateSystemTransform_H 103 #define functionObjects_fieldCoordinateSystemTransform_H 113 namespace functionObjects
120 class 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();
GeometricField< tensor, fvPatchField, volMesh > volTensorField
bool read(const char *buf, int32_t &val)
Same as readInt32.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
GeometricField< tensor, fvsPatchField, surfaceMesh > surfaceTensorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.