53 void Foam::STARCDCoordinateRotation::calcTransform
111 dict.lookupOrDefault(
"degrees",
true)
176 return (R_ & t & Rtr_);
191 fld[i] = transformVectorDiagTensor(R_, vf[i]);
203 return transformVectorDiagTensor(R_, v);
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A coordinateRotation defined by the STAR-CD convention.
virtual void write(Ostream &) const
Write.
virtual tmp< vectorField > invTransform(const vectorField &vf) const
Inverse transform vectorField using transformation tensor field.
virtual tmp< vectorField > transform(const vectorField &vf) const
Transform vectorField using transformation tensor field.
virtual symmTensor transformDiagTensor(const vector &p, const vector &v) const
Transform diagTensor masquerading as a vector using transformation.
STARCDCoordinateRotation(const dictionary &)
Construct from dictionary.
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
Tensor< Cmpt > T() const
Return transpose.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const Cmpt & component(const direction) const
Abstract base class for coordinate rotation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Tensor< scalar > tensor
Tensor of scalars.
dimensionedScalar sin(const dimensionedScalar &ds)
static const Identity< scalar > I
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
dimensionedScalar cos(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)