diff --git a/arbitrile.cpp b/arbitrile.cpp index 3405c1fd..16427b4d 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -26,6 +26,8 @@ struct shape { struct arbi_tiling { + int order; + vector shapes; string name; string comment; @@ -76,6 +78,7 @@ void load(const string& fname) { s += c; } auto& c = current; + c.order++; c.shapes.clear(); c.name = unnamed; c.comment = ""; diff --git a/geometry.cpp b/geometry.cpp index df8fba09..c241047d 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -880,7 +880,7 @@ EX void check_cgi() { if(arcm::in()) V("ARCM", arcm::current.symbol); - if(arb::in()) V("ARB", arb::current.name); + if(arb::in()) V("ARB", its(arb::current.order)); if(cryst) V("CRYSTAL", its(ginf[gCrystal].sides) + its(ginf[gCrystal].vertex));