FFC

Generated dofmap dim for reals is a double

Bug #592088 reported by Garth Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FFC
Fix Released
High
Marie Rognes

Bug Description

The generated UFC dofmap for a real space reads

  virtual bool init_mesh(const ufc::mesh& m)
  {
    _global_dimension = 0.000000000000000 + 1;
    return false;
  }

(see DOLFIN demo/pde/neuman-poisson/cpp). It should be just

    _global_dimension = 1;

Also, should the 'tabulate_coordinates' function throw an error for the space of reals?

Changed in ffc:
assignee: nobody → Marie Rognes (meg-simula)
Changed in ffc:
status: New → Confirmed
importance: Undecided → High
Changed in ffc:
status: Confirmed → Fix Committed
Changed in ffc:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.