Generic templated field type.
friend Ostream & operator(Ostream &, const Field< Type > &)
Generic templated field type with i-j-k addressing.
const ijkAddressing & ijk() const
Return i,j,k addressing.
IjkField()
Construct zero-sized.
const labelVector & sizes() const
Return i,j,k addressing sizes.
void operator=(const IjkField< Type > &rhs)
Copy assignment.
void clear()
Clear dimensions and field.
void resize(const labelVector &newSizes)
Change dimensions. Fill new values with Zero.
const Type & operator()(const label i, const label j, const label k) const
Field access at given i-j-k position.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const noexcept
The number of elements in the UList.
Extracts the components of elements of a field and outputs the result into new fields,...
A simple i-j-k (row-major order) to linear addressing.
A class for managing temporary objects.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...