← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5332: Initial work on mesh renumbering, yet untested but should work.

 

On Sun, Nov 28, 2010 at 10:30:08PM +0000, Garth N. Wells wrote:
> The code
>
>   UnitCube mesh(SIZE, SIZE, SIZE);
>   mesh.color("vertex");
>   MeshRenumbering::renumber_by_color(mesh);
>
> results in
>
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  *** Error: Unable to renumber mesh by colors. Only
> cell-vertex connectivity may exist prior to renumbering.

This has been fixed.

--
Anders


>
> On 28/11/10 22:11, noreply@xxxxxxxxxxxxx wrote:
> >------------------------------------------------------------
> >revno: 5332
> >committer: Anders Logg<logg@xxxxxxxxx>
> >branch nick: dolfin
> >timestamp: Sun 2010-11-28 23:09:33 +0100
> >message:
> >   Initial work on mesh renumbering, yet untested but should work.
> >added:
> >   dolfin/mesh/MeshRenumbering.cpp
> >   dolfin/mesh/MeshRenumbering.h
> >modified:
> >   dolfin/fem/OpenMpAssembler.cpp
> >   dolfin/mesh/Mesh.h
> >   dolfin/mesh/MeshColoring.h
> >   dolfin/mesh/MeshConnectivity.h
> >   dolfin/mesh/MeshData.h
> >   dolfin/mesh/MeshGeometry.h
> >   dolfin/mesh/MeshOrdering.h
> >   dolfin/mesh/dolfin_mesh.h
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References