diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi index 961680c343663a3074ea291439ee55cb301c9ad3..bd119fa0435172df8b908c557c36f2088332230a 100644 --- a/doc/texinfo/gmsh.texi +++ b/doc/texinfo/gmsh.texi @@ -2010,15 +2010,16 @@ the OpenCASCADE kernel, this constructs a C2 BSpline. Creates a periodic curve if the first and last points are identical. @item Circle ( @var{expression} ) = @{ @var{expression}, @var{expression}, @var{expression} <, ...> @}; -Create a circle arc. The three @var{expression}s on the right-hand-side -define the start point, the center and the end point of the arc. With -the built-in geometry kernel the arc should be strictly smaller than Pi. -With the OpenCASCADE kernel additional @var{expression}s can be provided -to define a full circle (4th expression is the radius) or a circle arc -between two angles (next 2 expressions). +Create a circle arc. If three @var{expression}s are provided on the +right-hand-side they define the start point, the center and the end +point of the arc. With the built-in geometry kernel the arc should be +strictly smaller than Pi. With the OpenCASCADE kernel, if between 4 and +6 expressions are provided, the first three define the coordinates of +the center, the next one defines the radius, and the optional next two +the start and end angle. @c todo: document < Plane @{ @var{expression}, @var{expression}, @var{expression} @}; > -@item Ellipse ( @var{expression} ) = @{ @var{expression}, @var{expression}, @var{expression}, <, ...> @}; +@item Ellipse ( @var{expression} ) = @{ @var{expression}, @var{expression}, @var{expression} <, ...> @}; Create an ellipse arc. If four @var{expression}s are provided on the right-hand-side they define the start point, the center point, a point anywhere on the major axis and the end point. If the first point is a @@ -2543,7 +2544,7 @@ Remove all duplicate elementary entities (e.g., points having identical coordinates). Note that with the built-in geometry kernel Gmsh executes the @code{Coherence} command automatically after each geometrical transformation, unless @code{Geometry.AutoCoherence} is set to zero -(@pxref{Geometry options list}). With the OpenCASCADE geoemtry kernel, +(@pxref{Geometry options list}). With the OpenCASCADE geometry kernel, @code{Coherence} is simply a shortcut for a @code{BooleanFragments} operation on all entities, with the @code{Delete} operator applied to all operands. diff --git a/src/common/Options.cpp b/src/common/Options.cpp index e6afc04a5827bc7bba292bd62627631028b9f24d..c2ab1061613871682b8dcc6adcf312808c355dd3 100644 --- a/src/common/Options.cpp +++ b/src/common/Options.cpp @@ -950,6 +950,7 @@ void PrintOptionsDoc() FieldManager &fields = *GModel::current()->getFields(); for(auto it = fields.mapTypeName.begin(); it != fields.mapTypeName.end(); it++) { + if(it->first == "Attractor") continue; Field *f = (*it->second)(); if(f->isDeprecated()) continue; fprintf(file, "@item %s\n", it->first.c_str()); @@ -959,8 +960,7 @@ void PrintOptionsDoc() if(!f->options.empty()) { fprintf(file, "@*\nOptions:@*\n"); fprintf(file, "@table @code\n"); - for(auto it2 = - f->options.begin(); it2 != f->options.end(); it2++) { + for(auto it2 = f->options.begin(); it2 != f->options.end(); it2++) { if(it2->second->isDeprecated()) continue; fprintf(file, "@item %s\n", it2->first.c_str()); std::string val;