43 template<
class GeometricField>
56 Info<<
" Rotating " << fieldIter()->name() <<
endl;
67 int main(
int argc,
char *argv[])
116 runTime.setTime(timeDirs[timeI], timeI);
118 Info<<
"Time = " << runTime.timeName() <<
endl;
123 RotateFields<volVectorField>(
mesh, objects,
T);
124 RotateFields<volSphericalTensorField>(
mesh, objects,
T);
125 RotateFields<volSymmTensorField>(
mesh, objects,
T);
126 RotateFields<volTensorField>(
mesh, objects,
T);
128 RotateFields<surfaceVectorField>(
mesh, objects,
T);
129 RotateFields<surfaceSphericalTensorField>(
mesh, objects,
T);
130 RotateFields<surfaceSymmTensorField>(
mesh, objects,
T);
131 RotateFields<surfaceTensorField>(
mesh, objects,
T);
#define forAll(list, i)
Loop across all elements in list.
IOobjectList lookupClass(const word &className) const
Return the list for all IOobjects of a given class.
List of IOobjects with searching and retrieving facilities.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
static const char *const typeName
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
static unsigned int defaultPrecision()
Return the default precision.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Generic GeometricField class.
tensor rotationTensor(const vector &n1, const vector &n2)
Rotational transformation tensor from vector n1 to n2.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T argRead(const label index) const
Read a value from the argument at index.
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
dimensionSet transform(const dimensionSet &)