← Back to team overview

dolfin team mailing list archive

Re: Mesh ordered

 

On Wed, Nov 05, 2008 at 08:17:25AM +0000, Garth N. Wells wrote:
> 
> 
> Anders Logg wrote:
> > On Tue, Nov 04, 2008 at 10:49:48PM +0000, Garth N. Wells wrote:
> >> Any problem in adding a field to the Mesh xml format that states if the 
> >> connectivity has been ordered?
> >>
> >> Garth
> > 
> > Isn't it better to just read in the mesh and then call mesh.ordered()?
> > That will give the right answer, whereas a flag may have been set
> > incorrectly.
> >
> 
> Well, we'll need to have a very close look at how we read in 
> MeshFunctions because the because the position of the mesh.order() call 
> can mess things up without producing an error or warning message.
> 
> Garth

Is the problem that mesh.order() will possibly mess up data stored in
MeshFunctions? I don't understand why that should happen. The
reordering is only performed locally. The global entity indices remain
the same.

Or is the problem only with Functions?

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References