[cig-commits] [commit] baagaard/add-missing-files-dist, baagaard/fix-meshing-examples-trelis, knepley/fix-dm-composition, maint, master, next: Updated to remove vertices while creating splines. (a3f0b9d)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 25 17:18:19 PDT 2014
- Previous message: [cig-commits] [commit] baagaard/add-missing-files-dist, baagaard/fix-meshing-examples-trelis, knepley/fix-dm-composition, maint, master, next: Fixed meshing for examples/2d/greensfns/reverse. No object ids used. (de19572)
- Next message: [cig-commits] [commit] baagaard/add-missing-files-dist, baagaard/fix-meshing-examples-trelis, knepley/fix-dm-composition, maint, master, next: Switched to IDless journal files. Minor cleanup. (6075897)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : https://github.com/geodynamics/pylith
On branches: baagaard/add-missing-files-dist,baagaard/fix-meshing-examples-trelis,knepley/fix-dm-composition,maint,master,next
Link : https://github.com/geodynamics/pylith/compare/9e9b3eb32aeee3851bb285945375cc28a2c0fdcf...ffaa715d19b1a8a79173ca5af7d64b65529244c8
>---------------------------------------------------------------
commit a3f0b9d99eb2fc8cf91b50cc0a765cad99c4ee7c
Author: Brad Aagaard <baagaard at usgs.gov>
Date: Sun Jun 22 08:22:30 2014 -0700
Updated to remove vertices while creating splines.
>---------------------------------------------------------------
a3f0b9d99eb2fc8cf91b50cc0a765cad99c4ee7c
examples/meshing/surface_nurbs/subduction/interface_netsurf.py | 6 ++----
examples/meshing/surface_nurbs/subduction/splay_skinsurf.py | 3 +--
examples/meshing/surface_nurbs/subduction/topobath_netsurf.py | 6 ++----
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/examples/meshing/surface_nurbs/subduction/interface_netsurf.py b/examples/meshing/surface_nurbs/subduction/interface_netsurf.py
index 41f8bf7..ebde6c2 100644
--- a/examples/meshing/surface_nurbs/subduction/interface_netsurf.py
+++ b/examples/meshing/surface_nurbs/subduction/interface_netsurf.py
@@ -49,11 +49,10 @@ for iContour in range(numContours):
if 0 == iPoint:
j.write("#{idBeg=Id('vertex')}\n")
j.write("#{idEnd=Id('vertex')}\n")
- j.write("create curve spline vertex {idBeg} to {idEnd}\n")
+ j.write("create curve spline vertex {idBeg} to {idEnd} delete\n")
if 0 == iContour:
j.write("#{idCBeg=Id('curve')}\n")
j.write("#{idCEnd=Id('curve')}\n\n")
-j.write("delete vertex all\n")
# Loop over profiles (v-lines).
for iProfile in range(pointsPerContour):
@@ -65,11 +64,10 @@ for iProfile in range(pointsPerContour):
if 0 == iPoint:
j.write("#{idBeg=Id('vertex')}\n")
j.write("#{idEnd=Id('vertex')}\n")
- j.write("create curve spline vertex {idBeg} to {idEnd}\n")
+ j.write("create curve spline vertex {idBeg} to {idEnd} delete\n")
if 0 == iProfile:
j.write("#{idPBeg=Id('curve')}\n")
j.write("#{idPEnd=Id('curve')}\n\n")
-j.write("delete vertex all\n")
# Create net surface.
j.write("create surface net u curve {idCBeg} to {idCEnd} v curve {idPBeg} to {idPEnd}\n")
diff --git a/examples/meshing/surface_nurbs/subduction/splay_skinsurf.py b/examples/meshing/surface_nurbs/subduction/splay_skinsurf.py
index 682629a..06055d2 100644
--- a/examples/meshing/surface_nurbs/subduction/splay_skinsurf.py
+++ b/examples/meshing/surface_nurbs/subduction/splay_skinsurf.py
@@ -49,11 +49,10 @@ for iProfile in range(numProfiles):
if 0 == iPoint:
j.write("#{idBeg=Id('vertex')}\n")
j.write("#{idEnd=Id('vertex')}\n")
- j.write("create curve spline vertex {idBeg} to {idEnd}\n")
+ j.write("create curve spline vertex {idBeg} to {idEnd} delete\n")
if 0 == iProfile:
j.write("#{idCBeg=Id('curve')}\n")
j.write("#{idCEnd=Id('curve')}\n\n")
-j.write("delete vertex all\n")
# Create skin surface.
j.write("create surface skin curve {idCBeg} to {idCEnd}\n")
diff --git a/examples/meshing/surface_nurbs/subduction/topobath_netsurf.py b/examples/meshing/surface_nurbs/subduction/topobath_netsurf.py
index 6e25cfa..2bebc10 100644
--- a/examples/meshing/surface_nurbs/subduction/topobath_netsurf.py
+++ b/examples/meshing/surface_nurbs/subduction/topobath_netsurf.py
@@ -48,11 +48,10 @@ for iProfile in range(numProfiles):
if 0 == iPoint:
j.write("#{idBeg=Id('vertex')}\n")
j.write("#{idEnd=Id('vertex')}\n")
- j.write("create curve spline vertex {idBeg} to {idEnd}\n")
+ j.write("create curve spline vertex {idBeg} to {idEnd} delete\n")
if 0 == iProfile:
j.write("#{idPBeg=Id('curve')}\n")
j.write("#{idPEnd=Id('curve')}\n\n")
-j.write("delete vertex all\n")
# Loop over contours (v-lines).
for iContour in range(pointsPerProfile):
@@ -64,11 +63,10 @@ for iContour in range(pointsPerProfile):
if 0 == iPoint:
j.write("#{idBeg=Id('vertex')}\n")
j.write("#{idEnd=Id('vertex')}\n")
- j.write("create curve spline vertex {idBeg} to {idEnd}\n")
+ j.write("create curve spline vertex {idBeg} to {idEnd} delete\n")
if 0 == iContour:
j.write("#{idCBeg=Id('curve')}\n")
j.write("#{idCEnd=Id('curve')}\n\n")
-j.write("delete vertex all\n")
# Create net surface.
j.write("create surface net u curve {idCBeg} to {idCEnd} v curve {idPBeg} to {idPEnd}\n")
- Previous message: [cig-commits] [commit] baagaard/add-missing-files-dist, baagaard/fix-meshing-examples-trelis, knepley/fix-dm-composition, maint, master, next: Fixed meshing for examples/2d/greensfns/reverse. No object ids used. (de19572)
- Next message: [cig-commits] [commit] baagaard/add-missing-files-dist, baagaard/fix-meshing-examples-trelis, knepley/fix-dm-composition, maint, master, next: Switched to IDless journal files. Minor cleanup. (6075897)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the CIG-COMMITS
mailing list