dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03489
Re: New mesh TODO
On Mon, Oct 16, 2006 at 02:58:47PM +0200, Anders Logg wrote:
> On Mon, Oct 16, 2006 at 02:57:31PM +0200, Anders Logg wrote:
> > Here's a short TODO list for the very near future:
> >
> > - Recompile all forms in DOLFIN with new FFC
> > - Make all demos compile again
> > - Reimplement edgeAlignment() and faceAlignment()
> > - Make boundary integrals work again
> > - Adaptive mesh refinement --> KTH?
> > - Move to flat Makefile --> Jansson?
> > - Fix mapping from boundary to mesh --> Logg
> >
> > Please take your pick and notify the list of so we don't duplicate.
> >
> > Did I miss something?
> >
> > /Anders
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
> I should add another item:
>
> - Update dolfin-convert to work with new mesh format
> - Add conversion from old mesh format
>
> /Anders
Here's the new mesh format by the way:
<?xml version="1.0" encoding="UTF-8"?>
<dolfin xmlns:dolfin="http://www.fenics.org/dolfin/">
<mesh celltype="triangle" dim="2">
<vertices size="9">
<vertex index="0" x="0.000000" y="0.000000"/>
<vertex index="1" x="1.000000" y="0.000000"/>
<vertex index="2" x="1.000000" y="1.000000"/>
<vertex index="3" x="0.000000" y="1.000000"/>
<vertex index="4" x="0.500000" y="0.000000"/>
<vertex index="5" x="1.000000" y="0.500000"/>
<vertex index="6" x="0.500000" y="1.000000"/>
<vertex index="7" x="0.000000" y="0.500000"/>
<vertex index="8" x="0.500000" y="0.500000"/>
</vertices>
<cells size="8">
<triangle index="0" v0="1" v1="8" v2="4"/>
<triangle index="1" v0="3" v1="8" v2="6"/>
<triangle index="2" v0="3" v1="7" v2="8"/>
<triangle index="3" v0="1" v1="5" v2="8"/>
<triangle index="4" v0="0" v1="4" v2="7"/>
<triangle index="5" v0="2" v1="6" v2="5"/>
<triangle index="6" v0="7" v1="4" v2="8"/>
<triangle index="7" v0="5" v1="6" v2="8"/>
</cells>
</mesh>
</dolfin>
Does anyone know how to write a schema for this?
/Anders
References