# GMSH: issue to load small element

**URL:** <https://community.freefem.org/t/gmsh-issue-to-load-small-element/1618>\
**Category:** General Discussion\
**Created:** [March 22, 2022, 8:10am UTC](https://community.freefem.org/t/gmsh-issue-to-load-small-element/1618 "2022-03-22T08:10:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loic](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@Loic](https://community.freefem.org/u/Loic)\
**Post date:** [March 22, 2022, 8:10am UTC](https://community.freefem.org/t/gmsh-issue-to-load-small-element/1618/1 "2022-03-22T08:10:19Z")

</div>

Hello all,

It seems that GMSH (with `gmshload`) cannot load triangle whose the measure is smaller than 1e-8.

```auto
Triangles 40 1227 127 54
mes=4.64389e-09
bug : mes < 1e-8 !

```

Had someone already faced the same issue ?  
And how this problem has been solved ?

Thank you in advance,

Best regards,

Loïc,

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [March 22, 2022, 3:59pm UTC](https://community.freefem.org/t/gmsh-issue-to-load-small-element/1618/2 "2022-03-22T15:59:58Z")

</div>

You can change the code in gmsh.cpp line 436

```auto
              if (tff[it].area < 1e-8) {
                cout << "bug : mes < 1e-8 !" << endl;
                exit(1);
              }

```

or make a homothety on the mesh to remove this problem.

---

<div class="post-metadata">

**Author:** ![Loic](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@Loic](https://community.freefem.org/u/Loic)\
**Post date:** [March 23, 2022, 6:13am UTC](https://community.freefem.org/t/gmsh-issue-to-load-small-element/1618/3 "2022-03-23T06:13:09Z")

</div>

Thank you @frederichecht !

Best regards,

Loïc,
