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;
117 Foam::Ostream& Foam::operator<<(Ostream& os, const InfoProxy<cellShape>& ip)
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.
punctuationToken pToken() const
errorManipArg< error, int > exit(error &err, const int errNo=1)
InfoProxy< token > info() const
Return info proxy.
const word & wordToken() const
An analytical geometric cellShape.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
InfoProxy< cellModel > info() const
Return info proxy.
Istream & readEnd(const char *funcName)
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))
stressControl lookup("compactNormalStress") >> compactNormalStress
bool isNull(const T &t)
Return true if t is a reference to the nullObject of type T.
Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const cellModel & model() const
Model reference.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Ostream & operator<<(Ostream &, const ensightPart &)
bool isPunctuation() const