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" 120 else if (
first() == a)
170 return (a.first() == b.first() && a.second() == b.second());
182 bool operator<(const Pair<Type>& a,
const Pair<Type>&
b)
186 a.first() <
b.first()
189 !(
b.first() < a.first())
190 && a.second() <
b.second()
197 bool operator<=(const Pair<Type>& a,
const Pair<Type>&
b)
bool operator!=(const FixedList< Type, Size > &) const
The opposite of the equality operation. Takes linear time.
#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.
const Type & second() const
Return second.
const Type & first() const
Return first.
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.
errorManip< error > abort(error &err)
void reverse(UList< T > &, const label n)
bool operator==(const FixedList< Type, Size > &) const
Equality operation on FixedLists of the same type.
bool operator>(const FixedList< Type, Size > &) const
Compare two FixedLists lexicographically. Takes linear time.
const Type & other(const Type &a) const
Return other.
bool operator>=(const FixedList< Type, Size > &) const
Return true if !(a < b). Takes linear time.