[cig-commits] r4682 - short/3D/PyLith/branches/pylith-0.8/pylith3d/module

willic3 at geodynamics.org willic3 at geodynamics.org
Tue Oct 3 09:36:32 PDT 2006


Author: willic3
Date: 2006-10-03 09:36:30 -0700 (Tue, 03 Oct 2006)
New Revision: 4682

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/bindings.cc
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/pylith3d_externs.h
Log:
Added missing entries for write_tractions and preshape2d.



Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/bindings.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/bindings.cc	2006-10-03 04:17:25 UTC (rev 4681)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/bindings.cc	2006-10-03 16:36:30 UTC (rev 4682)
@@ -163,6 +163,10 @@
     {pypylith3d_preshape__name__, pypylith3d_preshape,
      METH_VARARGS, pypylith3d_preshape__doc__},
 
+    // precompute shape function information for surfaces
+    {pypylith3d_preshape2d__name__, pypylith3d_preshape2d,
+     METH_VARARGS, pypylith3d_preshape2d__doc__},
+
     // read boundary conditions
     {pypylith3d_read_bc__name__, pypylith3d_read_bc,
      METH_VARARGS, pypylith3d_read_bc__doc__},
@@ -379,6 +383,10 @@
     {pypylith3d_write_timdat__name__, pypylith3d_write_timdat,
      METH_VARARGS, pypylith3d_write_timdat__doc__},
 
+    // write out traction information
+    {pypylith3d_write_tractions__name__, pypylith3d_write_tractions,
+     METH_VARARGS, pypylith3d_write_tractions__doc__},
+
     // write mesh info to UCD file
     {pypylith3d_write_ucd_mesh__name__, pypylith3d_write_ucd_mesh,
      METH_VARARGS, pypylith3d_write_ucd_mesh__doc__},

Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/pylith3d_externs.h
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/pylith3d_externs.h	2006-10-03 04:17:25 UTC (rev 4681)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/pylith3d_externs.h	2006-10-03 16:36:30 UTC (rev 4682)
@@ -47,6 +47,7 @@
 #define matmod_def_f FC_FUNC_(matmod_def, MATMOD_DEF)
 #define nfind_f FC_FUNC(nfind, NFIND)
 #define preshape_f FC_FUNC(preshape, PRESHAPE)
+#define preshape2d_f FC_FUNC(preshape2d, PRESHAPE2D)
 #define read_bc_f FC_FUNC_(read_bc, READ_BC)
 #define read_connect_f FC_FUNC_(read_connect, READ_CONNECT)
 #define read_coords_f FC_FUNC_(read_coords, READ_COORDS)
@@ -103,6 +104,7 @@
 #define write_strscomp_f FC_FUNC_(write_strscomp, WRITE_STRSCOMP)
 #define write_subiter_f FC_FUNC_(write_subiter, WRITE_SUBITER)
 #define write_timdat_f FC_FUNC_(write_timdat, WRITE_TIMDAT)
+#define write_tractions_f FC_FUNC_(write_tractions, WRITE_TRACTIONS)
 #define write_ucd_mesh_f FC_FUNC_(write_ucd_mesh, WRITE_UCD_MESH)
 #define write_wink_f FC_FUNC_(write_wink, WRITE_WINK)
 #define write_winkx_f FC_FUNC_(write_winkx, WRITE_WINKX)



More information about the cig-commits mailing list