Use scomplex throughout rather than simplcompltype
[libstick.git] / include / libstick / simplicialfunction.h
index 6371d66e0fd72cb88d852477f659b0573cb53b8e..d09bfe7ce89eb7b8ea34bd13fcfd0e66dcd9793b 100644 (file)
@@ -19,13 +19,13 @@ class simplicial_function {
 
     public:
         /** The type of the underlying simplicial complex. */
-        typedef simplicial_complex<MAXDIM, IT> simplcompltype;
+        typedef simplicial_complex<MAXDIM, IT> scomplex;
         /** Type of indices of simplices. */
         typedef IT index_type;
         /** Type of the simplices of the underlying simplicial complex */
-        typedef typename simplcompltype::simplex simplex;
+        typedef typename scomplex::simplex simplex;
         /** Type of the order on the underlying simplicial complex */
-        typedef typename simplcompltype::simplex_order simplex_order;
+        typedef typename scomplex::simplex_order simplex_order;
         /** To every simplex a function value is assigned according to which a
          * filtration is considered. This is the value type of the function. */
         typedef VT value_type;
@@ -51,7 +51,7 @@ class simplicial_function {
         /**Create a simplicial function on a given simplicial complex c. Only
          * define for the (-1)-dim dummy vertex a value, namely
          * get_minusonedim_value().*/
-        simplicial_function(simplcompltype &c) :
+        simplicial_function(scomplex &c) :
             c(c) {
                 values.push_back(get_minusonedim_value());
             }
@@ -84,7 +84,7 @@ class simplicial_function {
         }
 
         /** Return the underlying complex. */
-        const simplcompltype& get_complex() const {
+        const scomplex& get_complex() const {
             return c;
         }
 
@@ -224,7 +224,7 @@ class simplicial_function {
         values_type values;
 
         /** The complex on which we consider a function. */
-        simplcompltype &c;
+        scomplex &c;
 };
 
 }