38#ifndef Foam_IjkField_H
39#define Foam_IjkField_H
131 inline const Type& operator()
139 inline Type& operator()
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
constexpr Field() noexcept
Default construct.
Generic templated field type with i-j-k addressing.
IjkField()
Construct zero-sized.
const ijkAddressing & ijk() const noexcept
Return i,j,k addressing.
const labelVector & sizes() const noexcept
Return i,j,k addressing sizes.
label size(const vector::components cmpt) const
The addressing dimension in the given direction.
void operator=(const IjkField< Type > &rhs)
Copy assignment.
ijkAddressing & ijk() noexcept
Return i,j,k addressing for modification.
void clear()
Clear dimensions and field.
void resize(const labelVector &newSizes)
Change dimensions. Fill new values with zero.
labelVector & sizes() noexcept
Return i,j,k addressing sizes for modification.
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...
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 ...
Vector< label > labelVector
Vector of labels.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)