Go to the documentation of this file.
61 <<
"axis1, axis2 appear co-linear: "
62 << axis1 <<
", " << axis2 <<
endl
90 <<
"Unhandled axes specifictation" <<
endl
124 calcTransform(axis, dir, e3e1);
173 return NullObjectRef<tensorField>();
222 return (R_ & st & Rtr_);
247 fld[i] = transformPrincipal(R_, st[i]);
258 return transformPrincipal(R_, st);
268 Pout<<
"axesRotation::operator=(const dictionary&) : "
298 <<
"not entry of the type (e1, e2) or (e2, e3) or (e3, e1) "
303 calcTransform(axis1, axis2, order);
virtual void write(Ostream &) const
Write.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
virtual tmp< vectorField > invTransform(const vectorField &st) const
Inverse transform vectorField using transformation tensor field.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
A coordinate rotation specified using global axis.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Tensor< scalar > tensor
Tensor of scalars.
axesRotation()
Construct null.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual tmp< symmTensorField > transformVector(const vectorField &st) const
Transform vectorField using transformation tensorField and return.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
void calcTransform(const vector &axis1, const vector &axis2, const axisOrder &order=e3e1)
Calculate transformation tensor.
Registry of regIOobjects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define R(A, B, C, D, E, F, K, M)
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Pre-declare SubField and related Field type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static const sphericalTensor I(1)
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual const tensorField & Tr() const
Return transformation tensor field.
Macros for easy insertion into run-time selection tables.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void operator=(const dictionary &)
Assign from dictionary.
axisOrder
The combination of local axes to be used.
errorManip< error > abort(error &err)
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const dimensionedScalar c
Speed of light in a vacuum.
virtual tmp< vectorField > transform(const vectorField &st) const
Transform vectorField using transformation tensor field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
static const SphericalTensor I
virtual tmp< tensorField > transformTensor(const tensorField &st) const
Transform tensor field using transformation tensorField.
Tensor< Cmpt > T() const
Transpose.