Last change
on this file since 22498 was 22498, checked in by Mathieu Morlighem, 7 years ago |
CHG: renaming TriMesh Triangle, for consistency (we use a mesher whose name is triangle, Trimesh is another mesher that we do not uese)
|
File size:
714 bytes
|
Rev | Line | |
---|
[22498] | 1 | from Triangle_python import Triangle_python
|
---|
[20875] | 2 |
|
---|
[22498] | 3 | def Triangle(domainoutlinefilename,rifts,mesh_area):
|
---|
[20875] | 4 | """
|
---|
| 5 | TRIMESH - Mesh a domain using an .exp file
|
---|
| 6 |
|
---|
| 7 | Usage:
|
---|
[22498] | 8 | [index,x,y,segments,segmentmarkers]=Triangle(domainoutlinefilename,rifts,mesh_area);
|
---|
[20875] | 9 |
|
---|
| 10 | index,x,y: defines a triangulation
|
---|
| 11 | segments: An array made of exterior segments to the mesh domain outline
|
---|
| 12 | segmentmarkers: An array flagging each segment
|
---|
| 13 |
|
---|
| 14 | domainoutlinefilename: an Argus domain outline file
|
---|
| 15 | mesh_area: The maximum area desired for any element of the resulting mesh
|
---|
| 16 | """
|
---|
| 17 | # Call mex module
|
---|
[22498] | 18 | index,x,y,segments,segmentmarkers=Triangle_python(domainoutlinefilename,rifts,mesh_area)
|
---|
[20875] | 19 | # Return
|
---|
[20909] | 20 | return index,x,y,segments,segmentmarkers
|
---|
[20875] | 21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.