← 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.

 

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.

Garth

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


--
lp:dolfin
https://code.launchpad.net/~dolfin-core/dolfin/main

Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription



Follow ups