Go to the documentation of this file.
37 #ifndef orientedType_H
38 #define orientedType_H
54 Istream&
operator>>(Istream& is, orientedType& ot);
56 Ostream&
operator<<(Ostream& os,
const orientedType& ot);
dimensionSet trans(const dimensionSet &ds)
Check the argument is dimensionless (for transcendental functions)
void operator*=(const orientedType &ot)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
orientedOption & oriented()
Return non-const reference to the oriented flag.
dimensionedScalar posPart(const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
static bool checkType(const orientedType &ot1, const orientedType &ot2)
Return true if can operate on this pair of oriented types.
tmp< faMatrix< Type > > operator-(const faMatrix< Type > &)
dimensionedScalar neg0(const dimensionedScalar &ds)
orientedType()
Null constructor - flag initialised to false.
static const Enum< orientedOption > orientedOptionNames
Istream & operator>>(Istream &, directionInfo &)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar sign(const dimensionedScalar &ds)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
void operator=(const orientedType &ot)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
void setOriented(const bool oriented=true)
Set the oriented flag.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow6(const dimensionedScalar &ds)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv(const DimensionedField< Type, GeoMesh > &df)
void operator+=(const orientedType &ot)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensioned< typename scalarProduct< Type1, Type2 >::type > operator&&(const dimensioned< Type1 > &, const dimensioned< Type2 > &)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar negPart(const dimensionedScalar &ds)
void writeEntry(Ostream &os) const
Write the oriented flag entry.
void read(const dictionary &dict)
Read the oriented state from dictionary.
friend Istream & operator>>(Istream &is, orientedType &ot)
dimensionedScalar sqrt(const dimensionedScalar &ds)
tmp< faMatrix< Type > > operator+(const faMatrix< Type > &, const faMatrix< Type > &)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< faMatrix< Type > > operator*(const areaScalarField &, const faMatrix< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bitSet operator^(const bitSet &a, const bitSet &b)
Bitwise-XOR of two bitsets to form a unique bit-set.
dimensionedScalar cbrt(const dimensionedScalar &ds)
void operator-=(const orientedType &ot)
orientedOption
Enumeration defining the valid oriented flags.
Class to determine the 'oriented' status of surface fields.
friend Ostream & operator<<(Ostream &os, const orientedType &ot)
dimensionedScalar neg(const dimensionedScalar &ds)
void operator/=(const orientedType &ot)
dimensionedScalar pos(const dimensionedScalar &ds)