Go to the documentation of this file.
47 template<
class Type1,
class Type2>
50 template<
class Type1,
class Type2>
53 template<
class Type1,
class Type2>
61 template<
class Type1,
class Type2>
79 inline Tuple2(
const Type1&
f,
const Type2&
s)
95 inline const Type1&
first()
const
101 inline Type1&
first()
107 inline const Type2&
second()
const
122 friend Istream&
operator>> <Type1, Type2>
129 friend Ostream& operator<< <Type1, Type2>
138 template<
class Type1,
class Type2>
145 template<
class Type1,
class Type2>
146 inline bool operator==
156 template<
class Type1,
class Type2>
157 inline bool operator!=
167 template<
class Type1,
class Type2>
171 is >> t2.
f_ >> t2.
s_;
175 is.
check(
"operator>>(Istream&, Tuple2<Type1, Type2>&)");
181 template<
class Type1,
class Type2>
Istream & readEnd(const char *funcName)
const Type2 & second() const
Return second.
const Type1 & first() const
Return first.
Type1 & first()
Return first.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Type2 & second()
Return second.
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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))
Tuple2(Istream &is)
Construct from Istream.
Istream & operator>>(Istream &, edgeMesh &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Istream & readBegin(const char *funcName)
A 2-tuple for storing two objects of different types.
Tuple2()
Null constructor for lists.
Tuple2(const Type1 &f, const Type2 &s)
Construct from components.
void reverse(UList< T > &, const label n)