Hi!
I'm trying to make a huge rectangle mesh, but the I cannot create a FunctionSpace for it. Anyone know why? Here is the code:
from fenics import *
mesh = RectangleMesh(-638000.0, -3349500.0, 864700.0, -657600.0, 10018, 17946)
Q = FunctionSpace(mesh, "CG", 1)
and the error:
/home/pf4d/Work/FEniCS/lib/python2.7/site-packages/dolfin/functions/functionspace.pyc in __init__(self, mesh, family, degree, form_degree, constrained_domain, restriction)
466
467 # Initialize base class
--> 468 FunctionSpaceBase.__init__(self, mesh, element, constrained_domain)
469
470 self.___degree = degree
/home/pf4d/Work/FEniCS/lib/python2.7/site-packages/dolfin/functions/functionspace.pyc in __init__(self, mesh, element, constrained_domain)
166 mesh = mesh.mesh()
167 else:
--> 168 dolfin_dofmap = cpp.DofMap(ufc_dofmap, mesh)
169
170 # Initialize the cpp_FunctionSpace
/home/pf4d/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/fem.pyc in __init__(self, *args)
640
641 """
--> 642 _fem.DofMap_swiginit(self,_fem.new_DofMap(*args))
643 __swig_destroy__ = _fem.delete_DofMap
644 def is_restricted(self):
StandardError: vector::reserve