50 if (os.format() == IOstream::ASCII || !contiguous<T>())
54 if (L.size() > 1 && contiguous<T>())
71 os << L.size() << token::BEGIN_BLOCK;
77 os << token::END_BLOCK;
79 else if (L.size() <= 1 || (L.size() < 11 && contiguous<T>()))
82 os << L.size() << token::BEGIN_LIST;
87 if (i) os << token::SPACE;
92 os << token::END_LIST;
97 os <<
nl << L.size() <<
nl << token::BEGIN_LIST;
106 os <<
nl << token::END_LIST <<
nl;
113 os <<
nl << L.size() <<
nl;
121 reinterpret_cast<const char*
>(lst.cdata()),
128 os.check(
"Ostream& operator<<(Ostream&, const UIndirectList&)");
#define forAll(list, i)
Loop across all elements in list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A List with indirect addressing.
Motion of the mesh specified as a list of pointMeshMovers.
Template function to specify if the data of a type are contiguous.
void writeListEntry(Ostream &os, const ListType &l)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)