def _calculate_block_structure(self, inequalities, equalities,<EOL>momentinequalities, momentequalities,<EOL>extramomentmatrix, removeequalities,<EOL>block_struct=None):
block_struct = []<EOL>if self.verbose > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>block_struct.append(len(self.monomial_sets[<NUM_LIT:0>]) *<EOL>len(self.monomial_sets[<NUM_LIT:1>]))<EOL>if extramomentmatrix is not None:<EOL><INDENT>for _ in extramomentmatrix:<EOL><INDENT>block_struct.append(len(self.monomial_sets[<NUM_LIT:0>]) *<EOL>len(self.monomial_sets[<NUM_LIT:1>]))<EOL><DEDENT><DEDENT>super(MoroderHierarchy, self)._calculate_block_structure(inequalities, equalities,<EOL>momentinequalities, momentequalities,<EOL>extramomentmatrix,<EOL>removeequalities,<EOL>block_struct=block_struct)<EOL>
Calculates the block_struct array for the output file.