diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-26 19:22:50 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-26 19:22:50 +0100 |
| commit | 83338a2f753ebbb7ba7b154cc60b2f427b6121b0 (patch) | |
| tree | 149efb6a0b835fd6b3d89f7fd7808f8eed8e0288 /src/arch/common.h | |
| parent | 56048d13b73ec6e6a9c59d62e82f41e69a3994bd (diff) | |
| download | nissy-core-83338a2f753ebbb7ba7b154cc60b2f427b6121b0.tar.gz nissy-core-83338a2f753ebbb7ba7b154cc60b2f427b6121b0.zip | |
Added inverse coordinate for CO
this is necessary for DR coordinate
Diffstat (limited to 'src/arch/common.h')
| -rw-r--r-- | src/arch/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/common.h b/src/arch/common.h index 5c1efde..e57fba9 100644 --- a/src/arch/common.h +++ b/src/arch/common.h | |||
| @@ -9,15 +9,16 @@ STATIC_INLINE cube_t compose(cube_t, cube_t); | |||
| 9 | STATIC_INLINE cube_t inverse(cube_t); | 9 | STATIC_INLINE cube_t inverse(cube_t); |
| 10 | 10 | ||
| 11 | STATIC_INLINE int64_t coord_co(cube_t); | 11 | STATIC_INLINE int64_t coord_co(cube_t); |
| 12 | STATIC_INLINE cube_t invcoord_co(int64_t); | ||
| 12 | STATIC_INLINE int64_t coord_csep(cube_t); | 13 | STATIC_INLINE int64_t coord_csep(cube_t); |
| 13 | STATIC_INLINE int64_t coord_cocsep(cube_t); | 14 | STATIC_INLINE int64_t coord_cocsep(cube_t); |
| 14 | STATIC_INLINE int64_t coord_eo(cube_t); | 15 | STATIC_INLINE int64_t coord_eo(cube_t); |
| 15 | STATIC_INLINE int64_t coord_esep(cube_t); | 16 | STATIC_INLINE int64_t coord_esep(cube_t); |
| 17 | STATIC_INLINE cube_t invcoord_esep(int64_t); | ||
| 16 | 18 | ||
| 17 | STATIC_INLINE void copy_corners(cube_t [static 1], cube_t); | 19 | STATIC_INLINE void copy_corners(cube_t [static 1], cube_t); |
| 18 | STATIC_INLINE void copy_edges(cube_t [static 1], cube_t); | 20 | STATIC_INLINE void copy_edges(cube_t [static 1], cube_t); |
| 19 | STATIC_INLINE void set_eo(cube_t [static 1], int64_t); | 21 | STATIC_INLINE void set_eo(cube_t [static 1], int64_t); |
| 20 | STATIC_INLINE cube_t invcoord_esep(int64_t); | ||
| 21 | 22 | ||
| 22 | STATIC_INLINE void invcoord_esep_array(int64_t, int64_t, uint8_t[static 12]); | 23 | STATIC_INLINE void invcoord_esep_array(int64_t, int64_t, uint8_t[static 12]); |
| 23 | STATIC_INLINE cube_t invcoord_eoesep(int64_t); | 24 | STATIC_INLINE cube_t invcoord_eoesep(int64_t); |
