Brick Library 0.1
Performance-portable stencil datalayout & codegen
|
Compute the offset Calculating the offset within the adjacency list. More...
#include <brick.h>
Static Public Attributes | |
static constexpr unsigned | value = off * static_power<3, dim - 1>::value + cal_offs<dim - 1, offs...>::value |
Compute the offset Calculating the offset within the adjacency list.
dim | Current dimension |
off | CAR |
offs | CDR |
|
staticconstexpr |