fiat team mailing list archive
-
fiat team
-
Mailing list archive
-
Message #00039
Re: minor bug fix in P0 for entity_ids
On Mon, Jun 06, 2005 at 04:23:57PM -0500, Anders Logg wrote:
> Looks good.
>
> Johan, try again (latest cvs of both FIAT and FFC) and see if it works
> now.
>
> /Anders
>
It seems to work correctly now, here's the relevant output:
void dofmap(int dofs[], const Cell& cell, const Mesh& mesh) const
{
dofs[0] = cell.id();
int offset = mesh.noCells();
dofs[1] = offset + cell.id();
offset = offset + mesh.noCells();
dofs[2] = offset + cell.id();
}
Johan
References