← Back to team overview

dolfin team mailing list archive

Re: Empty meshes

 


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


> --
> Anders




Follow ups

References