52 inline Istream&
operator>>(Istream&, Pair<Type>&);
55 inline Ostream&
operator<<(Ostream&,
const Pair<Type>&);
77 inline Pair(
const Type&
f,
const Type&
s)
99 inline const Type&
first()
const
111 inline const Type&
second()
const
123 inline const Type&
other(
const Type& a)
const
128 <<
"Call to other only valid for Pair with differing"
132 else if (
first() == a)
237 is.
check(
"operator>>(Istream&, Pair<Type>&)");
A 1D vector of objects of type <T> with a fixed size <Size>.
Type & operator[](const label)
Return element of FixedList.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Istream & readEnd(const char *funcName)
Istream & readBegin(const char *funcName)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An ordered pair of two objects of type <T> with first() and second() elements.
const Type & second() const
Return second.
const Type & other(const Type &a) const
Return other.
static int compare(const Pair< Type > &a, const Pair< Type > &b)
Compare Pairs.
const Type & first() const
Return first.
T & first()
Return the first element of the list.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
bool operator!=(const particle &, const particle &)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
bool operator<(const instant &, const instant &)
errorManip< error > abort(error &err)
bool operator<=(const Pair< Type > &a, const Pair< Type > &b)
void reverse(UList< T > &, const label n)
Istream & operator>>(Istream &, pistonPointEdgeData &)
bool operator>=(const Pair< Type > &a, const Pair< Type > &b)
bool operator>(const instant &, const instant &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)