Commit fe24f286 authored by Christophe Geuzaine's avatar Christophe Geuzaine

pp

parent e642cbc1
Pipeline #1468 passed with stage
in 36 minutes and 14 seconds
......@@ -223,7 +223,7 @@ field.add('setAsBoundaryLayer',doc,None,iint('tag'))
geo = model.add_module('geo','Internal per-model GEO CAD kernel functions')
doc = '''Adds a geometrical point in the internal GEO CAD representation, at coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at that point. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the point. (Note that the point will be added in the current model only after synchronize() is called. This behavior holds for all the entities added in the geo module.)'''
doc = '''Adds a geometrical point in the internal GEO CAD representation, at coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at that point. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the point. (Note that the point will be added in the current model only after `synchronize' is called. This behavior holds for all the entities added in the geo module.)'''
geo.add('addPoint',doc,oint,idouble('x'),idouble('y'),idouble('z'),idouble('meshSize','0.'),iint('tag','-1'))
doc = '''Adds a straight line segment between the two points with tags `startTag' and `endTag'. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the line.'''
......@@ -321,7 +321,7 @@ mesh.add('setReverse',doc,None,iint('dim'),iint('tag'),ibool('val','true','True'
occ = model.add_module('occ','Internal per-model OpenCASCADE CAD kernel functions')
doc = '''Adds a geometrical point in the internal OpenCASCADE CAD representation, at coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at that point. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the point. (Note that the point will be added in the current model only after synchronize() is called. This behavior holds for all the entities added in the occ module.)'''
doc = '''Adds a geometrical point in the internal OpenCASCADE CAD representation, at coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at that point. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the point. (Note that the point will be added in the current model only after `synchronize' is called. This behavior holds for all the entities added in the occ module.)'''
occ.add('addPoint',doc,oint,idouble('x'),idouble('y'),idouble('z'),idouble('meshSize','0.'),iint('tag','-1'))
doc = '''Adds a straight line segment between the two points with tags `startTag' and `endTag'. If `tag' is positive, sets the tag explicitly; otherwise a new tag is selected automatically. Returns the tag of the line.'''
......@@ -517,7 +517,7 @@ fltk.add('initialize',doc,None)
doc = '''Waits at most `time' seconds for user interface events and returns. If `time' < 0, waits indefinitely. First automatically creates the user interface if it has not yet been initialized.'''
fltk.add('wait',doc,None,idouble('time', '-1.'))
doc = '''Runs the event loop of the Fltk graphical user interface, i.e. repeatedly calls `wait()'. First automatically creates the user interface if it has not yet been initialized.'''
doc = '''Runs the event loop of the Fltk graphical user interface, i.e. repeatedly calls `wait'. First automatically creates the user interface if it has not yet been initialized.'''
fltk.add('run',doc,None)
################################################################################
......
......@@ -469,7 +469,7 @@ namespace gmsh { // Top-level functions
// coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at
// that point. If `tag' is positive, sets the tag explicitly; otherwise a new
// tag is selected automatically. Returns the tag of the point. (Note that
// the point will be added in the current model only after synchronize() is
// the point will be added in the current model only after `synchronize' is
// called. This behavior holds for all the entities added in the geo module.)
GMSH_API int addPoint(const double x,
const double y,
......@@ -752,7 +752,7 @@ namespace gmsh { // Top-level functions
// at coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint
// at that point. If `tag' is positive, sets the tag explicitly; otherwise a
// new tag is selected automatically. Returns the tag of the point. (Note
// that the point will be added in the current model only after synchronize()
// that the point will be added in the current model only after `synchronize'
// is called. This behavior holds for all the entities added in the occ
// module.)
GMSH_API int addPoint(const double x,
......@@ -1327,7 +1327,7 @@ namespace gmsh { // Top-level functions
GMSH_API void wait(const double time = -1.);
// Runs the event loop of the Fltk graphical user interface, i.e. repeatedly
// calls `wait()'. First automatically creates the user interface if it has not
// calls `wait'. First automatically creates the user interface if it has not
// yet been initialized.
GMSH_API void run();
......
......@@ -1387,7 +1387,7 @@ class model:
coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at
that point. If `tag' is positive, sets the tag explicitly; otherwise a new
tag is selected automatically. Returns the tag of the point. (Note that the
point will be added in the current model only after synchronize() is
point will be added in the current model only after `synchronize' is
called. This behavior holds for all the entities added in the geo module.)
return int
......@@ -2077,7 +2077,7 @@ class model:
coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at
that point. If `tag' is positive, sets the tag explicitly; otherwise a new
tag is selected automatically. Returns the tag of the point. (Note that the
point will be added in the current model only after synchronize() is
point will be added in the current model only after `synchronize' is
called. This behavior holds for all the entities added in the occ module.)
return int
......@@ -3508,8 +3508,8 @@ class fltk:
def run():
"""
Runs the event loop of the Fltk graphical user interface, i.e. repeatedly
calls `wait()'. First automatically creates the user interface if it has
not yet been initialized.
calls `wait'. First automatically creates the user interface if it has not
yet been initialized.
"""
ierr = c_int()
lib.gmshFltkRun(
......
......@@ -497,7 +497,7 @@ GMSH_API void gmshModelMeshFieldSetAsBoundaryLayer(const int tag,
* coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at
* that point. If `tag' is positive, sets the tag explicitly; otherwise a new
* tag is selected automatically. Returns the tag of the point. (Note that the
* point will be added in the current model only after synchronize() is
* point will be added in the current model only after `synchronize' is
* called. This behavior holds for all the entities added in the geo module.) */
GMSH_API int gmshModelGeoAddPoint(const double x,
const double y,
......@@ -797,7 +797,7 @@ GMSH_API void gmshModelGeoMeshSetReverse(const int dim,
* coordinates (x, y, z). If `meshSize' is > 0, adds a meshing constraint at
* that point. If `tag' is positive, sets the tag explicitly; otherwise a new
* tag is selected automatically. Returns the tag of the point. (Note that the
* point will be added in the current model only after synchronize() is
* point will be added in the current model only after `synchronize' is
* called. This behavior holds for all the entities added in the occ module.) */
GMSH_API int gmshModelOccAddPoint(const double x,
const double y,
......@@ -1406,8 +1406,8 @@ GMSH_API void gmshFltkWait(const double time,
int * ierr);
/* Runs the event loop of the Fltk graphical user interface, i.e. repeatedly
* calls `wait()'. First automatically creates the user interface if it has
* not yet been initialized. */
* calls `wait'. First automatically creates the user interface if it has not
* yet been initialized. */
GMSH_API void gmshFltkRun(int * ierr);
/* Gets data from the Onelab server. */
......
......@@ -867,8 +867,8 @@ Adds a geometrical point in the internal GEO CAD representation, at coordinates
(x, y, z). If @code{meshSize} is > 0, adds a meshing constraint at that point.
If @code{tag} is positive, sets the tag explicitly; otherwise a new tag is
selected automatically. Returns the tag of the point. (Note that the point will
be added in the current model only after synchronize() is called. This behavior
holds for all the entities added in the geo module.)
be added in the current model only after @code{synchronize} is called. This
behavior holds for all the entities added in the geo module.)
@table @asis
@item Input:
......@@ -1325,8 +1325,8 @@ Adds a geometrical point in the internal OpenCASCADE CAD representation, at
coordinates (x, y, z). If @code{meshSize} is > 0, adds a meshing constraint at
that point. If @code{tag} is positive, sets the tag explicitly; otherwise a new
tag is selected automatically. Returns the tag of the point. (Note that the
point will be added in the current model only after synchronize() is called.
This behavior holds for all the entities added in the occ module.)
point will be added in the current model only after @code{synchronize} is
called. This behavior holds for all the entities added in the occ module.)
@table @asis
@item Input:
......@@ -2222,7 +2222,7 @@ interface if it has not yet been initialized.
@item run
Runs the event loop of the Fltk graphical user interface, i.e. repeatedly calls
@code{wait()}. First automatically creates the user interface if it has not yet
@code{wait}. First automatically creates the user interface if it has not yet
been initialized.
@table @asis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment