656

edits

Jump to navigation
Jump to search

m

→Meshing Octave

</pre>}}

As you can see the polygon has lots of points. We need to simplify the polygon in order to obtain a mesh of reasonable size. Otherwise gmsh will have problems meshing and the result could be huge (or a segmentation fault :( ). THe package geometry comes with a simplification function but as of version 1.4.0, this function is very naive and wont fix this problem. If you know how to simplify polygons you can contribute!

We are going to reduce the amount of points of ~~th epolygon ~~the polygon in a drastic and destructive way (i.e. the shape may be considerably damaged). The codes to do so follows, in the future a better procedure will be published here.

{{Code|Symplification of a polygon compatible with geometry package|<pre>

656

edits

Retrieved from "https://wiki.octave.org/Special:MobileDiff/851"

- Not logged in
- Talk
- Contributions
- Create account
- Log in