← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/rognes] Rev 5663: Add init to child after mesh refinement (why is this needed?!) and]

 


On 13/02/11 21:02, Anders Logg wrote:
> mesh.init() computes all connectivity and should almost never be
> called, at least not from inside DOLFIN.
> 
> Instead, the proper init function for the connectivity that is
> actually used should be called, like mesh.init(1, 2) or similar.
> 
> Note that calling init functions is not needed when using iterators
> since the connectivity is then automatically initialized.
> 
> The mesh that comes out of refine() 

Which you were going to change to 'adapt.

Garth


> is a clean mesh that only has
> cell-vertex connectivity so it's not strange that one needs to call
> some init function.
> 
> --
> Anders
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References