54 public FixedList<Type, 2>
66 inline Pair(
const Type&
f,
const Type&
s)
88 inline const Type&
first()
const 100 inline const Type&
second()
const 112 inline const Type&
other(
const Type& a)
const 117 <<
"Call to other only valid for Pair with differing" 121 else if (
first() == a)
171 return (a.first() == b.first() && a.second() == b.second());
183 bool operator<(const Pair<Type>& a,
const Pair<Type>&
b)
187 a.first() <
b.first()
190 !(
b.first() < a.first())
191 && a.second() <
b.second()
198 bool operator<=(const Pair<Type>& a,
const Pair<Type>&
b)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static int compare(const Pair< Type > &a, const Pair< Type > &b)
Compare Pairs.
bool operator>=(const FixedList< Type, Size > &) const
Return true if !(a < b). Takes linear time.
const Type & other(const Type &a) const
Return other.
bool operator!=(const FixedList< Type, Size > &) const
The opposite of the equality operation. Takes linear time.
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){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
An ordered pair of two objects of type <T> with first() and second() elements.
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
Type & operator[](const label)
Return element of FixedList.
bool operator==(const FixedList< Type, Size > &) const
Equality operation on FixedLists of the same type.
errorManip< error > abort(error &err)
void reverse(UList< T > &, const label n)
bool operator>(const FixedList< Type, Size > &) const
Compare two FixedLists lexicographically. Takes linear time.
const Type & second() const
Return second.
const Type & first() const
Return first.