[Gmsh] only store highest-order elements?

Nico Schlömer nico.schloemer at gmail.com
Tue Apr 2 18:43:02 CEST 2013


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