dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04449
ufc dof map
I want to add a function to DofMaps which returns the sparsity pattern,
but I'm struggling with the UFC interface. How can I get the dof map for
a cell without creating a UFC object? I would like to do
for (CellIterator cell(mesh); !cell.end(); ++cell)
{
dof_maps[0]->dof_map().tabulate_dofs(dofs, mesh, cell);
}
(I have added the function dof_map() to DofMap which returns its
ufc_dof_map.) The problem is that tabulate_dofs wants ufc::mesh and
ufc::cell, and not dolfin::Mesh and dolfin::Cell.
Garth
Follow ups