90 const UList<Type>& list
96 if (ijk_.size() != Field<Type>::size())
100 <<
"Resizing field to match i-j-k sizing " << sizes()
119 if (ijk_.size() != Field<Type>::size())
123 <<
"Resizing field to match i-j-k sizing " << sizes()
168 return ijk_.size(cmpt);
231 sizes() = rhs.sizes();
const labelVector & sizes() const
Return i,j,k addressing sizes.
void operator=(const IjkField< Type > &rhs)
Copy assignment.
void clear()
Clear dimensions and field.
Cmpt cmptProduct(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
patchWriters resize(patchIds.size())
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
constexpr char nl
The newline '\n' character (0x0a)
label k
Boltzmann constant.
friend Ostream & operator(Ostream &, const Field< Type > &)
Generic templated field type.
const ijkAddressing & ijk() const
Return i,j,k addressing.
Generic templated field type with i-j-k addressing.
label size() const noexcept
The number of elements in the container.
A simple i-j-k (row-major order) to linear addressing.
#define WarningInFunction
Report a warning using Foam::Warning.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
components
Component labeling enumeration.
Vector< label > labelVector
Vector of labels.
IjkField()
Construct zero-sized.
A non-counting (dummy) refCount.
static constexpr const zero Zero
Global zero (0)