On 19/06/09 02:53 PM, kent-...@simula.no wrote: > When using VMTK the boundary indicators are stored as a set of arrays > with names > boundary facet cells, > boundary facet numbers > boundary indicators > The two first arrays are used to find the global facet numbers. > The function computes a mesh function based on these arrays. > > This was what Anders prefered since VMTK does not now anything > about the global numbering of facets in Dolfin (without linking it into > Dolfin). > > This is not a VMTK specific problem, but I do think VMTK is the only > mesh-generator > that let you store boundary indicators at the moment. I guess we should add > this to NetGen as well, both Hans Petter Langtangen and Douglas Arnold has > bugged > me about this the last few days.
I'm every day user of this functionality. I use Netgen generated models, but also other software which add boundary indicators to existing meshes. Netgen supports boundary indicators quite well, both by geo files, and by GUI. I don't understand what you want to add? Before Fenics I was using Diffpack, where boundary indicators are based on vertices. Which was maybe easier to store, but Dolfin facet indicators are more natural. I have a script to convert diffpack models to dolfin xml (with boundary and material indicators). It can be used to convert Netgen meshes, via export to diffpack format. cheers, BArtek > > Kent > >> What's the function >> >> Assembler::compute_mesh_function_from_mesh_arrays >> >> all about? >> >> Garth >> _______________________________________________ >> DOLFIN-dev mailing list >> DOLFIN-dev@fenics.org >> http://www.fenics.org/mailman/listinfo/dolfin-dev >> > > > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@fenics.org > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev