On 20 September 2011 07:10, Anders Logg <[email protected]> wrote: > MeshFunctions? I think MeshValueCollection works but not yet > MeshFunctions. > > My suggestion is to either store MeshFunctions as MeshValueCollections: > > <mesh_function> > <mesh_value_collection> > </mesh_value_collection> > </mesh_function> > > (when dim is not 0 or D) or to say that parallel I/O for MeshFunction > is not supported and make the conversion between MeshFunction and > MeshValueCollection easy (constructors). >
I think that the suggestion to store MeshFunctions as MeshValueCollections is the best solution. To keep it simple, I would use MeshValueCollection for entities of any dimension with a tweak of the tags for vertices. The tools are in place to read MeshValueCollections from a separate file. Just a few small additions are required to make it work (right now the domain data needs to be in the mesh file). Once this is in place reading MeshFunctions should be easy. I'll add the code today. Garth > -- > Anders > > > On Tue, Sep 20, 2011 at 07:58:31AM +0200, Kent-Andre Mardal wrote: >> It seems to work now! >> >> Kent >> >> On 20 September 2011 01:06, Johan Hake <[email protected]> wrote: >> How far are we from a functional reading of MeshFunctions in >> parallel? >> >> Johan >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dolfin >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dolfin >> More help : https://help.launchpad.net/ListHelp >> > >> _______________________________________________ >> Mailing list: https://launchpad.net/~dolfin >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dolfin >> More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

