On Thu, Feb 04, 2010 at 06:11:04PM +0000, Garth N. Wells wrote: > > > Anders Logg wrote: > > On Thu, Feb 04, 2010 at 05:52:07PM +0000, Garth N. Wells wrote: > >> There is a problem in the mesh library when iterating over empty meshes. > >> These can occur, for example, when computing the interior boundary mesh. > >> I'm taking a look, but anyone who feels strongly about how this should > >> work should speak up. > >> > >> Garth > > > > I might have some opinions when you are done but I don't have any good > > suggestions currently. At any rate, some care needs to be taken since > > the iterators were designed for efficiency so extra checks should be > > avoided if possible. > > > > Ideally, the iterators won't be touched. They seem to be designed to > handle the empty case. The problem appears that other bits are not being > initialised. > > Garth
ok. Is it only Python or also C++? -- Anders
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

