On Mon, Apr 20, 2009 at 02:10:09PM +0200, 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: 6005:68b2dc927f857e686f4990c7125c212eef24c012 > tag: tip > user: "Ola Skavhaug <[email protected]>" > date: Mon Apr 20 14:11:49 2009 +0200 > files: dolfin/mesh/MeshPartitioning.cpp sandbox/passembly/Poisson.h > description: > More work on parallell numbering of mesh entities.
Could we do something like this to avoid using entities[0].size():
uint i = 0;
while (i < values.size())
{
const uint entity_index = values[i++];
const uint num_vertices = values[i++];
std::vector<uint> entity;
for (uint j = 0; j < num_vertices; ++j)
entity.push_back(values[i++])
...
}
?
--
Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
