A simple i-j-k (row-major order) to linear addressing.
More...
|
| ijkAddressing () |
|
| ijkAddressing (const labelVector &ijk) |
|
| ijkAddressing (const label ni, const label nj, const label nk) |
|
bool | empty () const |
|
const labelVector & | sizes () const |
|
labelVector & | sizes () |
|
label | size () const |
|
const label & | size (const vector::components cmpt) const |
|
void | clear () |
|
void | reset (const label ni, const label nj, const label nk) |
|
void | reset (const labelVector &newSizes) |
|
label | index (const label i, const label j, const label k) const |
|
label | index (const labelVector &ijk) const |
|
labelVector | index (const label idx) const |
|
void | checkIndex (const label i, const label j, const label k, const bool allowExtra=false) const |
|
void | checkIndex (const labelVector &ijk, const bool allowExtra=false) const |
|
void | checkSizes () const |
|
void | checkSizes (const labelVector &other) const |
|
void | checkSizes (const label nTotal) const |
|
A simple i-j-k (row-major order) to linear addressing.
- Source files
-
Definition at line 47 of file ijkAddressing.H.
◆ ijkAddressing() [1/3]
◆ ijkAddressing() [2/3]
◆ ijkAddressing() [3/3]
◆ empty()
◆ sizes() [1/2]
◆ sizes() [2/2]
◆ size() [1/2]
Foam::label size |
( |
| ) |
const |
|
inline |
◆ size() [2/2]
◆ clear()
◆ reset() [1/2]
void reset |
( |
const label |
ni, |
|
|
const label |
nj, |
|
|
const label |
nk |
|
) |
| |
|
inline |
◆ reset() [2/2]
◆ index() [1/3]
Foam::label index |
( |
const label |
i, |
|
|
const label |
j, |
|
|
const label |
k |
|
) |
| const |
|
inline |
◆ index() [2/3]
◆ index() [3/3]
◆ checkIndex() [1/2]
void checkIndex |
( |
const label |
i, |
|
|
const label |
j, |
|
|
const label |
k, |
|
|
const bool |
allowExtra = false |
|
) |
| const |
|
inline |
◆ checkIndex() [2/2]
void checkIndex |
( |
const labelVector & |
ijk, |
|
|
const bool |
allowExtra = false |
|
) |
| const |
|
inline |
◆ checkSizes() [1/3]
void checkSizes |
( |
| ) |
const |
|
inline |
◆ checkSizes() [2/3]
◆ checkSizes() [3/3]
void checkSizes |
( |
const label |
nTotal | ) |
const |
|
inline |
The documentation for this class was generated from the following files: