Ola Skavhaug wrote:
> On Thu, May 14, 2009 at 9:36 AM, Garth N. Wells <[email protected]> wrote:
>> Something in the recent change sets has broken some demos, for example
>>
>> demo/pde/advection-diffusion/cpp
>>
>> Garth
>
> OK, I think I know what's breaking it. The dofmap gets the wrong
> global dimension, and we are changing some of the logic there. I will
> need to dig a little deeper.
>
The problem is that the code
// Initialize mesh entities used by dof map
for (uint d = 0; d <= mesh.topology().dim(); d++)
if (ufc_dof_map->needs_mesh_entities(d))
{
mesh.init(d);
if (d > 0 && parallel)
MeshPartitioning::number_entities(const_cast<Mesh&>(mesh), d);
}
inside DofMap::init(const Mesh& mesh) has been commented out. Mesh
entities which are required for the dof map are not being initialised.
Can this code just be 'turned' back on?
Garth
> Ola
>
>> DOLFIN wrote:
>>> One or more new changesets pushed to the primary dolfin repository.
>>> A short summary of the last three changesets is included below.
>>>
>>> changeset: 6148:16c6171e2ace81a63c8e58e03aed13ced6a92ad1
>>> tag: tip
>>> user: "Ola Skavhaug <[email protected]>"
>>> date: Thu May 14 09:03:48 2009 +0200
>>> files: dolfin/fem/UFCCell.h
>>> description:
>>> Remove debug output.
>>>
>>>
>>> changeset: 6147:b2ad12bcd1d965413a5aea685e8918dfdfe55cc5
>>> parent: 6146:8a990ee39a0e149d51b282e5112cc7134c8ad45b
>>> parent: 6145:c2c9174e322eabaa2b6584a3c8cfce61430b1b71
>>> user: "Ola Skavhaug <[email protected]>"
>>> date: Thu May 14 08:43:41 2009 +0200
>>> files: dolfin/function/FunctionSpace.cpp
>>> description:
>>> merge
>>>
>>>
>>> changeset: 6146:8a990ee39a0e149d51b282e5112cc7134c8ad45b
>>> parent: 6144:1a61ce186b415050505055c9cbd744c1eaf6a55d
>>> user: "Ola Skavhaug <[email protected]>"
>>> date: Thu May 14 08:41:25 2009 +0200
>>> files: dolfin/fem/DofMap.cpp dolfin/function/FunctionSpace.cpp
>>> dolfin/function/FunctionSpace.h dolfin/la/SparsityPattern.cpp
>>> dolfin/la/SparsityPattern.h sandbox/passembly/Poisson.h
>>> description:
>>> Add parallel flag, and move mesh init to FunctionSpace.
>>>
>>> ----------------------------------------------------------------------
>>> For more details, visit http://www.fenics.org/hg/dolfin
>>> _______________________________________________
>>> DOLFIN-dev mailing list
>>> [email protected]
>>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> [email protected]
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>
>
>
>
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev