Changeset 8237
- Timestamp:
- Oct 25, 2011, 6:29:12 PM (12 years ago)
- Location:
- trunk/anuga_work/development/2010-projects/anuga_1d
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/2010-projects/anuga_1d/sqpipe/sqpipe_dual_fixed_width_a_d_comp_flux.c
r8236 r8237 9 9 #include "util_ext.h" 10 10 #include "solver.h" 11 #include "python_ routines.h"11 #include "python_solver.h" 12 12 #include "sqpipe_dual_fixed_width_a_d.h" 13 13 #include "sqpipe_python.h" -
trunk/anuga_work/development/2010-projects/anuga_1d/sqpipe/sqpipe_python.h
r8236 r8237 8 8 9 9 // Get a generic domain 10 D = domain_python_get(D, domain, timestep);10 D = get_python_domain(D, domain, timestep); 11 11 12 12 // Get the specific quantities for square pipes -
trunk/anuga_work/development/2010-projects/anuga_1d/utilities/util_ext.h
r7884 r8237 268 268 } 269 269 */ 270 270 271 271 B = (PyArrayObject*) PyObject_GetAttrString(O, name); 272 272 … … 362 362 return Oout; 363 363 364 } 365 366 double* get_python_array_data_from_dict(PyObject *O, char *name, char *array) { 367 PyObject *A; 368 PyArrayObject *B; 369 370 A = PyDict_GetItemString(O, name); 371 B = get_consecutive_array(A, array); 372 373 return (double *) B->data; 364 374 } 365 375
Note: See TracChangeset
for help on using the changeset viewer.