← Back to team overview

dolfin team mailing list archive

Re: Parallel MeshFunction IO

 

On Tuesday September 20 2011 09:20:26 Anders Logg wrote:
> On Tue, Sep 20, 2011 at 09:17:06AM -0700, Johan Hake wrote:
> > On Tuesday September 20 2011 09:12:36 Anders Logg wrote:
> > > B11;rgb:0000/0000/0000On Tue, Sep 20, 2011 at 08:49:13AM -0700, Johan
> > > Hake
> > 
> > wrote:
> > > > On Tuesday September 20 2011 08:45:01 Garth N. Wells wrote:
> > > > > On 20 September 2011 16:37, Johan Hake <johan.hake@xxxxxxxxx> wrote:
> > > > > > Ok, sounds promising!
> > > > > > 
> > > > > > Just to get it straight:
> > > > > >  1) The old MeshFunction file format will not be supported in
> > > > > >  parallel
> > > > > 
> > > > > Even better - your old file won't work in serial! The MeshFunction
> > > > > output is flawed (for edges and faces) because the edge and facet
> > > > > numbering is not specified by the mesh file. Edge and face
> > > > > numbering is determined by the library that constructs a mesh. The
> > > > > new format will be the same in serial and parallel.
> > > > 
> > > > Well, if you use the library (DOLFIN) to generate your MeshFunction
> > > > you are safe.
> > > 
> > > Not really, since it may break if we make some optimizations in
> > > TopologyComputation that happen to change the order in which we
> > > create edges and faces.
> > 
> > I have heard this now for 4 years, but the optimization has not been
> > done :) But get me correct, I like the new solution!
> 
> It might happen, I keep hearing that mesh.init(d) is slow. :-)

It is! I can say it again. 

  mesh.init(d) is slow.

> It has actually already been optimized once but that didn't have any
> effect on the numbering.
>
> I think it would be relatively easy to speed it up a bit using OpenMP.

Sounds nice!

Johan

> --
> Anders
> 
> > Johan
> > 
> > wrote:
> > > > > >> >>      How far are we from a functional reading of
> > > > > >> >>      MeshFunctions in parallel?
> > > > > >> >>      
> > > > > >> >>      Johan
> > > > > >> >>      
> > > > > >> >>      _______________________________________________
> > > > > >> >>      Mailing list: https://launchpad.net/~dolfin
> > > > > >> >>      Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > > > > >> >>      Unsubscribe : https://launchpad.net/~dolfin
> > > > > >> >>      More help   : https://help.launchpad.net/ListHelp
> > > > > >> >> 
> > > > > >> >> _______________________________________________
> > > > > >> >> Mailing list: https://launchpad.net/~dolfin
> > > > > >> >> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > > > > >> >> Unsubscribe : https://launchpad.net/~dolfin
> > > > > >> >> More help   : https://help.launchpad.net/ListHelp
> > > > > >> > 
> > > > > >> > _______________________________________________
> > > > > >> > Mailing list: https://launchpad.net/~dolfin
> > > > > >> > Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > > > > >> > Unsubscribe : https://launchpad.net/~dolfin
> > > > > >> > More help   : https://help.launchpad.net/ListHelp
> > > > > >> 
> > > > > >> _______________________________________________
> > > > > >> Mailing list: https://launchpad.net/~dolfin
> > > > > >> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > > > > >> Unsubscribe : https://launchpad.net/~dolfin
> > > > > >> More help   : https://help.launchpad.net/ListHelp


References