34 bool readEndBracket =
false;
41 if (t.
pToken() == token::BEGIN_LIST)
43 readEndBracket =
true;
50 <<
"incorrect first token, expected '(', found "
68 <<
"Bad type of token for cellShape symbol " << t.
info()
77 <<
"CellShape has unknown model " << t.
info()
98 os << token::BEGIN_LIST;
101 os << (
s.m)->index() << token::SPACE;
107 os << static_cast<const labelList&>(
s);
110 os << token::END_LIST;
123 os <<
" cellShape has no model!\n";
130 os <<
"\tGeom:\tpoint\tlabel\txyz\n";
134 os <<
"\t\t" << i <<
"\t" << cs[i] <<
endl;
#define forAll(list, i)
Loop across all elements in list.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Istream & readEnd(const char *funcName)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
InfoProxy< cellModel > info() const
Return info proxy.
An analytical geometric cellShape.
const cellModel & model() const
Model reference.
A token holds items read from Istream.
bool isPunctuation() const
punctuationToken pToken() const
InfoProxy< token > info() const
Return info proxy.
const word & wordToken() const
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
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))
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Istream & operator>>(Istream &, pistonPointEdgeData &)
bool isNull(const T &t)
Return true if t is a reference to the nullObject of type T.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)