| Thread Previous • Date Previous • Date Next • Thread Next |
On Thu, Sep 15, 2005 at 05:56:56AM -0500, Anders Logg wrote:
> Do you need the nodemap when you merge the other mesh? Won't there
> just be an offset = noNodes() for the node numbers so you can do
>
> uint offset = noNodes();
> for (...)
> {
> createNode();
> }
>
> for (...)
> {
> createCell(offset + ...);
> }
>
> /Anders
>
Yes, you're right. This is a more efficient implementation.
Johan
| Thread Previous • Date Previous • Date Next • Thread Next |