crystal::get_dim()

This commit is contained in:
Zeno Rogue 2019-10-21 22:44:18 +02:00
parent bb7e96a3d0
commit 423a1fae39
1 changed files with 2 additions and 0 deletions

View File

@ -605,6 +605,8 @@ EX heptagon *get_heptagon_at(coord c) { return crystal_map()->get_heptagon_at(c,
EX coord get_coord(heptagon *h) { return crystal_map()->hcoords[h]; }
EX ldcoord get_ldcoord(cell *c) { return crystal_map()->get_coord(c); }
EX int get_dim() { retrun crystal_map()->cs.dim; }
#if MAXMDIM >= 4
EX transmatrix get_adj(heptagon *h, int d) { return crystal_map()->adj(h, d); }
#endif