Template Numerical Library version\ main:4e58ea6
|
Minimal class representing a block of an equidistant D-dimensional lattice. More...
#include <TNL/Containers/Block.h>
Public Types | |
using | CoordinatesType = StaticVector< D, idx > |
using | idx = idx_ |
Public Member Functions | |
Block ()=default | |
Default constructor. | |
Block (const CoordinatesType &begin, const CoordinatesType &end) | |
Constructs a block from the given begin and end. | |
Public Attributes | |
CoordinatesType | begin = 0 |
Offset of the block on the global lattice. | |
CoordinatesType | end = 0 |
Ending point of the block on the global lattice. The ending point is not included in the block, i.e., the block spans the multidimensional interval [begin, end) . | |
Static Public Attributes | |
static constexpr int | dimension = D |
Dimension of the lattice. | |
Minimal class representing a block of an equidistant D-dimensional lattice.