Changeset 2738
- Timestamp:
- Apr 20, 2006, 4:59:53 PM (19 years ago)
- Location:
- inundation
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/parallel/run_parallel_sw_merimbula_metis.py
r2654 r2738 203 203 domain.set_quantity('elevation', quantities['elevation']) 204 204 205 #domain.store = True205 domain.store = False 206 206 #domain.filename = 'merimbula-%d' %domain.processor 207 207 -
inundation/utilities/util_ext.c
r2510 r2738 13 13 //this will also work on 32 bit systems 14 14 15 #include <float.h> 15 16 16 17 #include "Python.h" … … 68 69 } 69 70 71 PyObject * double_precision(PyObject * self, PyObject * args){ 72 // Get the precision of the double datatype on this system. 73 return Py_BuildValue("i", DBL_DIG); 74 } 75 70 76 // Method table for python module 71 77 static struct PyMethodDef MethodTable[] = { … … 78 84 {"gradient", gradient, METH_VARARGS, "Print out"}, 79 85 {"gradient2", gradient2, METH_VARARGS, "Print out"}, 86 {"double_precision", double_precision, METH_VARARGS, "Precision of this machine\'s \'double\' type"}, 80 87 {NULL, NULL, 0, NULL} /* sentinel */ 81 88 };
Note: See TracChangeset
for help on using the changeset viewer.