52 void writeEntry(Ostream& os,
const Pair<Type>&);
82 template<
class HashT=Hash<Type>>
96 inline unsigned operator()
126 inline Pair(
const Type&
f,
const Type&
s);
135 inline const Type&
first()
const;
138 inline Type&
first();
141 inline const Type&
second()
const;
147 inline const Type&
other(
const Type& a)
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An ordered pair of two objects of type <Type> with first() and second() elements.
Type & reference
Type that can be used for storing into.
Type & operator[](const label i)
Access an element by index.
static label size()
Return the size.
static int compare(const Pair< Type > &a, const Pair< Type > &b)
Compare two pairs. Return 0 if they are different, +1 if they are.
Type value_type
Type of values the pair contains.
static void checkIndex(const label i)
Check index i is within valid range (0 ... 1)
const Type & second() const
Return second.
const Type & other(const Type &a) const
Return other.
const Type & first() const
Return first.
const Type & const_reference
Type that can be used for storing into.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), lagrangian::cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
bool operator!=(const particle &, const particle &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
bool operator<(const instant &, const instant &)
bool operator<=(const Pair< Type > &a, const Pair< Type > &b)
Compare lexographic order.
void reverse(UList< T > &, const label n)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Istream & operator>>(Istream &, pistonPointEdgeData &)
bool operator>(const instant &, const instant &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
bool operator>=(const Pair< Type > &a, const Pair< Type > &b)
Compare lexographic order.