# File structures/CellComplex.rb, line 106
  def initialize(dim, cellCreate = @@defaultCellCreate)
    @dim = dim
    @switchH = Hash.new
    @cells = Array.new
    (0..dim).each do |i| @cells[i] = Hash.new end
    @lower = Hash.new
    @upper = Hash.new
    @inverted = Hash.new
    @cellCreate = cellCreate
  end