48 fieldPtrs.
set(i, &(fieldValues[i]));
70 os <<
p.x() << sep <<
p.y() << sep <<
p.z();
78 const auto& val = values[pointi];
79 for (
direction d=0; d < pTraits<Type>::nComponents; ++d)
Generic templated field type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const T * set(const label i) const
static UPtrList< const Field< Type > > repackageFields(const Field< Type > &field)
Repackage field into a UPtrList.
static void writeTable(Ostream &os, const coordSet &coords, const UList< Type > &values, const char *sep)
Write coordinates and values.
Holds list of sampling positions.
const vector & vectorCoord(const label index) const
Get point according to axis="xyz" specification.
bool hasVectorAxis() const noexcept
True if axis specification is a vector.
scalar scalarCoord(const label index) const
Get coordinate of point according to axis specification.
OBJstream os(runTime.globalPath()/outputName)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.