X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=include%2Flibstick%2Fsimplicialcomplex.h;h=6aaf816aad0a1d519e3ea106a4e5e7c87a8f80b3;hb=HEAD;hp=6dd99a376f50b9392306941ed67524e7ad60a486;hpb=7186ae9cc97393496d7f0e0cb281524276f1e47c;p=libstick.git diff --git a/include/libstick/simplicialcomplex.h b/include/libstick/simplicialcomplex.h index 6dd99a3..6aaf816 100644 --- a/include/libstick/simplicialcomplex.h +++ b/include/libstick/simplicialcomplex.h @@ -41,7 +41,7 @@ class simplicial_complex { public: /** The type of this class. */ - typedef simplicial_complex simplcompltype; + typedef simplicial_complex scomplex; /** Type of indices of simplices. */ typedef IT index_type; @@ -93,7 +93,7 @@ class simplicial_complex { typedef std::vector order_type; /** Create a standard order of the complex c, i.e., the identity permutation. */ - simplex_order(const simplcompltype &c) : + simplex_order(const scomplex &c) : c(c) { reset(); } @@ -130,7 +130,7 @@ class simplicial_complex { } /** Return the underlying complex. */ - const simplcompltype& get_complex() const { + const scomplex& get_complex() const { return c; } @@ -210,7 +210,7 @@ class simplicial_complex { } /** The complex of which we consider a simplex order. */ - const simplcompltype &c; + const scomplex &c; /** The i-th simplex in order is the order[i]-th simplex of the * complex. 'order' can be seen as a permutation of the