[Gmsh] only store highest-order elements?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Apr 4 13:12:41 CEST 2013


Hi Nico - That's indeed the way to do it: cf. the documentation about physical groups...

On 02 Apr 2013, at 18:43, Nico Schlömer <nico.schloemer at gmail.com> wrote:

> I found that naming the surface as in
> 
> Physical Surface("my circle") = 6;
> 
> makes sure (for some reason) that only the triangles are exported. Hackish..
> 
> --Nico
> 
> On Tue, Apr 2, 2013 at 4:19 PM, Nico Schlömer <nico.schloemer at gmail.com> wrote:
>> When creating an object, e.g.,
>> 
>> =========== *snip* ===========
>> R = 1.25 * 3.4;
>> 
>> lcar = 1.0e-1;
>> 
>> cl1 = 1;
>> Point(1) = {0, 0, 0, lcar};
>> Point(2) = {R, 0, 0, lcar};
>> Point(3) = {-R, 0, 0, lcar};
>> Point(4) = {0, R, 0, lcar};
>> Point(5) = {0, -R, 0, lcar};
>> Circle(1) = {2, 1, 4};
>> Circle(2) = {4, 1, 3};
>> Circle(3) = {3, 1, 5};
>> Circle(4) = {5, 1, 2};
>> Line Loop(5) = {1, 2, 3, 4};
>> Plane Surface(6) = {5};
>> =========== *snap* ===========
>> 
>> is it possible to only store the highest order elements? I'm not
>> interested in edges and points, just triangles here.
>> 
>> --Nico
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine