Skip to content
Snippets Groups Projects
Commit 0f099411 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add access to edge/face orientation in API

parent aa669af7
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ void Print_Usage(const char *name) ...@@ -62,7 +62,7 @@ void Print_Usage(const char *name)
Msg::Direct(" -bin Use binary format when available"); Msg::Direct(" -bin Use binary format when available");
Msg::Direct(" -parametric Save vertices with their parametric coordinates"); Msg::Direct(" -parametric Save vertices with their parametric coordinates");
Msg::Direct(" -numsubedges Set the number of subdivisions when displaying high order elements"); Msg::Direct(" -numsubedges Set the number of subdivisions when displaying high order elements");
Msg::Direct(" -algo string Select mesh algorithm (de, del2d, frontal, iso, netgen, tetgen)"); Msg::Direct(" -algo string Select mesh algorithm (iso, frontal, del2d, del3d, netgen)");
Msg::Direct(" -smooth int Set number of mesh smoothing steps"); Msg::Direct(" -smooth int Set number of mesh smoothing steps");
Msg::Direct(" -optimize[_netgen] Optimize quality of tetrahedral elements"); Msg::Direct(" -optimize[_netgen] Optimize quality of tetrahedral elements");
Msg::Direct(" -order int Set mesh order (1, ..., 5)"); Msg::Direct(" -order int Set mesh order (1, ..., 5)");
......
...@@ -79,6 +79,7 @@ class GFace : public GEntity ...@@ -79,6 +79,7 @@ class GFace : public GEntity
// edges that bound the face // edges that bound the face
virtual std::list<GEdge*> edges() const { return l_edges; } virtual std::list<GEdge*> edges() const { return l_edges; }
virtual std::list<int> edgeOrientations() const { return l_dirs; }
// edges that are embedded in the face // edges that are embedded in the face
virtual std::list<GEdge*> embeddedEdges() const { return embedded_edges; } virtual std::list<GEdge*> embeddedEdges() const { return embedded_edges; }
......
...@@ -36,6 +36,7 @@ class GRegion : public GEntity { ...@@ -36,6 +36,7 @@ class GRegion : public GEntity {
// get/set faces that bound the region // get/set faces that bound the region
virtual std::list<GFace*> faces() const{ return l_faces; } virtual std::list<GFace*> faces() const{ return l_faces; }
virtual std::list<int> faceOrientations() const{ return l_dirs; }
void set(std::list<GFace*> &f) { l_faces = f; } void set(std::list<GFace*> &f) { l_faces = f; }
// edges that bound the region // edges that bound the region
......
$Id: TODO.txt,v 1.15 2009-01-18 11:44:36 geuzaine Exp $ $Id: TODO.txt,v 1.16 2009-01-18 18:51:48 geuzaine Exp $
********************************************************************
cleanup API for orientation of edges/faces
******************************************************************** ********************************************************************
......
.\" $Id: gmsh.1,v 1.84 2008-12-17 21:14:48 geuzaine Exp $ .TH Gmsh 1 "18 january 2009" "Gmsh 2.3" "Gmsh Manual Pages"
.TH Gmsh 1 "23 February 2008" "Gmsh 2.2" "Gmsh Manual Pages"
.UC 4 .UC 4
.\" ******************************************************************** .\" ********************************************************************
.SH NAME .SH NAME
...@@ -58,7 +57,7 @@ set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, m ...@@ -58,7 +57,7 @@ set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, m
use binary format when available. use binary format when available.
.TP 4 .TP 4
.B \-algo string .B \-algo string
select mesh algorithm (iso, netgen, tetgen). select mesh algorithm (iso, frontal, del2d, del3d, netgen).
.TP 4 .TP 4
.B \-smooth int .B \-smooth int
set number of mesh smoothing steps. set number of mesh smoothing steps.
...@@ -86,10 +85,6 @@ set random perturbation factor. ...@@ -86,10 +85,6 @@ set random perturbation factor.
.TP 4 .TP 4
.B \-bgm file .B \-bgm file
load the post-processing view in file as the current background mesh. load the post-processing view in file as the current background mesh.
.TP 4
.B \-constrain
constrain the background mesh with the characteristic lengths of the
model.
.\" ******************************************************************** .\" ********************************************************************
.SH POST-PROCESSING OPTIONS .SH POST-PROCESSING OPTIONS
.TP 4 .TP 4
......
...@@ -25,7 +25,7 @@ Set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, m ...@@ -25,7 +25,7 @@ Set output mesh format (msh, msh1, msh2, unv, vrml, stl, mesh, bdf, p3d, cgns, m
@item -bin @item -bin
Use binary format when available Use binary format when available
@item -algo string @item -algo string
Select mesh algorithm (iso, netgen, tetgen) Select mesh algorithm (iso, frontal, del2d, del3d, netgen)
@item -smooth int @item -smooth int
Set number of mesh smoothing steps Set number of mesh smoothing steps
@item -optimize[_netgen] @item -optimize[_netgen]
...@@ -44,8 +44,6 @@ Compute characteristic lengths from curvatures ...@@ -44,8 +44,6 @@ Compute characteristic lengths from curvatures
Set random perturbation factor Set random perturbation factor
@item -bgm file @item -bgm file
Load background mesh from file Load background mesh from file
@item -constrain
Constrain background mesh with characteristic lengths
@end ftable @end ftable
@sp 1 @sp 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment