(self)
return sum(level.A.shape[0] for level in self.levels) /\
            float(self.levels[0].A.shape[0])
Grid complexity of this multigrid hierarchy.

        Defined as:
            Number of unknowns on all levels /
            Number of unknowns on the finest level
Grid complexity of this multigrid hierarchy.
Grid complexity of this multigrid hierarchy .
def grid_complexity(self):
        """Grid complexity of this multigrid hierarchy.

        Defined as:
            Number of unknowns on all levels /
            Number of unknowns on the finest level

        """
        return sum(level.A.shape[0] for level in self.levels) /\
            float(self.levels[0].A.shape[0])
def grid_complexity ( self ) : return sum ( level . A . shape [ 0 ] for level in self . levels ) / float ( self . levels [ 0 ] . A . shape [ 0 ] )