51 cmpt < pTraits<Type>::nComponents;
71 cmpt < pTraits<Type>::nComponents;
#define forAll(list, i)
Loop across all elements in list.
Pre-declare SubField and related Field type.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
void size(const label)
Override size to be inconsistent with allocated storage.
static const UList< label > & null()
Return a null UList.
label size() const
Return the number of elements in the UList.
Ensight output with specialised write() for strings, integers and floats. Correctly handles binary wr...
virtual Ostream & writeKeyword(const string &key)
Write element keyword with trailing newline, optionally with undef.
labelListList elemLists_
Simple labelList with a name.
label size() const
Number of elements in this part.
void writeHeader(ensightFile &, bool withDescription=false) const
Write the part header.
void writeField(ensightFile &, const Field< Type > &, const bool perNode=false) const
Write generalised field components.
virtual const List< word > & elementTypes() const
void writeFieldList(ensightFile &os, const List< scalar > &field, const labelUList &idList) const
Write a scalar field for idList.