dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #11237
Re: patch to enable CellData export for vector functions
On 18/12/08 03:00 PM, Anders Logg wrote:
I just pushed an update that should identify discontinuous fields
without relying on signatures. See if it works.
Unfortunately, it doesn't work.
There is a tiny bug.
--- a/dolfin/io/VTKFile.cpp Thu Dec 18 23:00:10 2008 +0100
+++ b/dolfin/io/VTKFile.cpp Thu Dec 18 15:53:04 2008 -0700
@@ -192,7 +192,7 @@
bool only_cell_dofs = dofmap.needs_mesh_entities(tdim);
for (uint i = 0; i < tdim; i++)
{
- if (dofmap.needs_mesh_entities(tdim))
+ if (dofmap.needs_mesh_entities(i))
only_cell_dofs = false;
}
if (only_cell_dofs)
After this quick fix, works fine. Thanks.
BArtek
Follow ups
References