Go to the documentation of this file.
37 #ifndef orientedType_H
38 #define orientedType_H
50 Istream&
operator>>(Istream& is, orientedType& ot);
51 Ostream&
operator<<(Ostream&
os,
const orientedType& ot);
134 void operator*=(const scalar
s);
135 void operator/=(const scalar
s);
136 bool operator()() const;
dimensionSet trans(const dimensionSet &ds)
Check the argument is dimensionless (for transcendental functions)
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 > &)
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.
dimensionedScalar neg0(const dimensionedScalar &ds)
orientedType()
Default construct as "UNKNOWN".
static const Enum< orientedOption > orientedOptionNames
Named enumerations for oriented flags.
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.
bool writeEntry(Ostream &os) const
Write the "oriented" flag entry (if ORIENTED)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
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)
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.
orientedOption & oriented() noexcept
Return non-const reference to the oriented flag.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar pow5(const dimensionedScalar &ds)
OBJstream os(runTime.globalPath()/outputName)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar negPart(const dimensionedScalar &ds)
void read(const dictionary &dict)
Read the "oriented" state from dictionary.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensionedScalar cbrt(const dimensionedScalar &ds)
orientedOption
Enumeration defining oriented flags.
Class to determine the 'oriented' status of surface fields.
dimensionedScalar neg(const dimensionedScalar &ds)
void setOriented(const bool oriented=true) noexcept
Set the oriented flag.
dimensionedScalar pos(const dimensionedScalar &ds)