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)
constexpr char nl
The newline '\n' character (0x0a)
const vector & vectorCoord(const label index) const
Get point according to axis="xyz" specification.
#define forAll(list, i)
Loop across all elements in list.
bool hasVectorAxis() const noexcept
True if axis specification is a vector.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
static UPtrList< const Field< Type > > repackageFields(const Field< Type > &field)
Repackage field into a UPtrList.
Holds list of sampling positions.
Generic templated field type.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
static void writeTable(Ostream &os, const coordSet &coords, const UList< Type > &values, const char *sep)
Write coordinates and values.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
scalar scalarCoord(const label index) const
Get coordinate of point according to axis specification.
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie...