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

fix #2908

parent 1a83a1ab
No related branches found
No related tags found
No related merge requests found
......@@ -48,15 +48,11 @@ void cheeseHole(double x, double y, double z, double r, double lc,
// We need non-plane surfaces to define the spherical holes. Here we use the
// `gmsh::model::geo::addSurfaceFilling()' function, which can be used for
// surfaces with 3 or 4 curves on their boundary. With the he built-in kernel,
// if the curves are circle arcs, ruled surfaces are created; otherwise
// transfinite interpolation is used.
//
// With the OpenCASCADE kernel, `gmsh::model::occ::addSurfaceFilling()' uses a
// much more general generic surface filling algorithm, creating a BSpline
// surface passing through an arbitrary number of boundary curves. The
// `gmsh::model::geo::addThruSections()' allows to create ruled surfaces (see
// `t19.cpp').
// surfaces with 3 or 4 curves on their boundary. If the curves are circle
// arcs with the same center, a spherical patch is created; otherwise
// transfinite interpolation is used. With the OpenCASCADE kernel,
// `gmsh::model::occ::addSurfaceFilling()' can be used with an arbitrary
// number of boundary curves, and will fit a BSpline patch through them.
int s1 = gmsh::model::geo::addSurfaceFilling({l1});
int s2 = gmsh::model::geo::addSurfaceFilling({l2});
......
......@@ -216,15 +216,11 @@ integer(c_int) function cheeseHole(x, y, z, r, lc, shells) result(v)
! We need non-plane surfaces to define the spherical holes. Here we use the
! `gmsh%model%geo%addSurfaceFilling()' function, which can be used for
! surfaces with 3 or 4 curves on their boundary. With the he built-in
! kernel, if the curves are circle arcs, ruled surfaces are created;
! otherwise transfinite interpolation is used.
!
! With the OpenCASCADE kernel, `gmsh%model%occ.addSurfaceFilling()' uses a
! much more general generic surface filling algorithm, creating a BSpline
! surface passing through an arbitrary number of boundary curves. The
! `gmsh%model%geo%addThruSections()' allows to create ruled surfaces (see
! `t19.f90').
! surfaces with 3 or 4 curves on their boundary. If the curves are circle arcs
! with the same center, a spherical patch is created; otherwise transfinite
! interpolation is used. With the OpenCASCADE kernel,
! `gmsh%model%occ.addSurfaceFilling()' can be used with an arbitrary number of
! boundary curves, and will fit a BSpline patch through them.
s1 = gmsh%model%geo%addSurfaceFilling([l1])
s2 = gmsh%model%geo%addSurfaceFilling([l2])
......
......@@ -137,15 +137,11 @@ function cheeseHole(x, y, z, r, lc, shells)
# We need non-plane surfaces to define the spherical holes. Here we use the
# `gmsh.model.geo.addSurfaceFilling()' function, which can be used for
# surfaces with 3 or 4 curves on their boundary. With the he built-in
# kernel, if the curves are circle arcs, ruled surfaces are created;
# otherwise transfinite interpolation is used.
#
# With the OpenCASCADE kernel, `gmsh.model.occ.addSurfaceFilling()' uses a
# much more general generic surface filling algorithm, creating a BSpline
# surface passing through an arbitrary number of boundary curves. The
# `gmsh.model.geo.addThruSections()' allows to create ruled surfaces (see
# `t19.jl').
# surfaces with 3 or 4 curves on their boundary. If the curves are circle
# arcs with the same center, a spherical patch is created; otherwise
# transfinite interpolation is used. With the OpenCASCADE kernel,
# `gmsh.model.occ.addSurfaceFilling()' can be used with an arbitrary number
# of boundary curves, and will fit a BSpline patch through them.
s1 = gmsh.model.geo.addSurfaceFilling([l1])
s2 = gmsh.model.geo.addSurfaceFilling([l2])
......
......@@ -140,15 +140,11 @@ def cheeseHole(x, y, z, r, lc, shells):
# We need non-plane surfaces to define the spherical holes. Here we use the
# `gmsh.model.geo.addSurfaceFilling()' function, which can be used for
# surfaces with 3 or 4 curves on their boundary. With the he built-in
# kernel, if the curves are circle arcs, ruled surfaces are created;
# otherwise transfinite interpolation is used.
#
# With the OpenCASCADE kernel, `gmsh.model.occ.addSurfaceFilling()' uses a
# much more general generic surface filling algorithm, creating a BSpline
# surface passing through an arbitrary number of boundary curves. The
# `gmsh.model.geo.addThruSections()' allows to create ruled surfaces (see
# `t19.py').
# surfaces with 3 or 4 curves on their boundary. If the curves are circle
# arcs with the same center, a spherical patch is created; otherwise
# transfinite interpolation is used. With the OpenCASCADE kernel,
# `gmsh.model.occ.addSurfaceFilling()' can be used with an arbitrary number
# of boundary curves, and will fit a BSpline patch through them.
s1 = gmsh.model.geo.addSurfaceFilling([l1])
s2 = gmsh.model.geo.addSurfaceFilling([l2])
......
......@@ -91,13 +91,11 @@ Macro CheeseHole
// We need non-plane surfaces to define the spherical holes. Here we use
// `Surface', which can be used for surfaces with 3 or 4 curves on their
// boundary. With the he built-in kernel, if the curves are circle arcs, ruled
// surfaces are created; otherwise transfinite interpolation is used.
//
// With the OpenCASCADE kernel, `Surface' uses a much more general generic
// surface filling algorithm, creating a BSpline surface passing through an
// arbitrary number of boundary curves; and `ThruSections' allows to create
// ruled surfaces (see `t19.geo').
// boundary. With the built-in kernel, if all the curves are circle arcs with
// the same center, a spherical patch is created; otherwise transfinite
// interpolation is used. With the OpenCASCADE kernel, `Surface' can be used
// with an arbitrary number of boundary curves, and will fit a BSpline patch
// through them.
l1 = newcl; Curve Loop(l1) = {c5,c10,c4};
l2 = newcl; Curve Loop(l2) = {c9,-c5,c1};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment