[cig-commits] r13271 - in mc/3D/CitcomS/trunk: CitcomS/Components module

tan2 at geodynamics.org tan2 at geodynamics.org
Fri Nov 7 15:31:29 PST 2008


Author: tan2
Date: 2008-11-07 15:31:29 -0800 (Fri, 07 Nov 2008)
New Revision: 13271

Modified:
   mc/3D/CitcomS/trunk/CitcomS/Components/Output.py
   mc/3D/CitcomS/trunk/module/setProperties.c
Log:
Added parameter 'use_cbf_topo' to pyre binding, default to off.


Modified: mc/3D/CitcomS/trunk/CitcomS/Components/Output.py
===================================================================
--- mc/3D/CitcomS/trunk/CitcomS/Components/Output.py	2008-11-07 23:14:19 UTC (rev 13270)
+++ mc/3D/CitcomS/trunk/CitcomS/Components/Output.py	2008-11-07 23:31:29 UTC (rev 13271)
@@ -67,6 +67,9 @@
         # self-gravitation, for geoid only
         self_gravitation = inv.bool("self_gravitation", default=False)
 
+        # compute stress/topography by consistent-boundary-flux method
+        use_cbf_topo = inv.bool("use_cbf_topo", default=False)
+
         mega1 = 1024*1024
         #megaq = 256*1024
 

Modified: mc/3D/CitcomS/trunk/module/setProperties.c
===================================================================
--- mc/3D/CitcomS/trunk/module/setProperties.c	2008-11-07 23:14:19 UTC (rev 13270)
+++ mc/3D/CitcomS/trunk/module/setProperties.c	2008-11-07 23:31:29 UTC (rev 13271)
@@ -324,6 +324,7 @@
 
     getIntProperty(properties, "output_ll_max", E->output.llmax, fp);
     getIntProperty(properties, "self_gravitation", E->control.self_gravitation, fp);
+    getIntProperty(properties, "use_cbf_topo", E->control.use_cbf_topo, fp);
 
     getIntProperty(properties, "cb_block_size", E->output.cb_block_size, fp);
     getIntProperty(properties, "cb_buffer_size", E->output.cb_buffer_size, fp);



More information about the CIG-COMMITS mailing list