Changeset 5162 for anuga_core/source/anuga/advection/advection_ext.c
- Timestamp:
- Mar 11, 2008, 8:43:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/advection/advection_ext.c
r4978 r5162 2 2 // 3 3 // To compile (Python2.X): 4 // use python ../utilities/compile.py 5 // 6 // See the module advection.py 4 // use python ../utilities/compile.py to 5 // compile all C files within a directory 7 6 // 8 7 // … … 19 18 20 19 20 //------------------------------------------- 21 // Low level routines (called from wrappers) 22 //------------------------------------------ 21 23 22 24 double _compute_fluxes( … … 38 40 39 41 40 //Lo op42 //Local Variables 41 43 42 44 double qr,ql; … … 51 53 int k3; 52 54 55 //Loop through triangles 56 53 57 timestep = max_timestep; 54 58 … … 59 63 for (i=0; i<3; i++){ 60 64 k_i = k3+i; 61 //Quantities inside volume facing neighbour i65 //Quantities inside triangle facing neighbour i 62 66 ql = quantity_edge[k_i]; 63 67 … … 144 148 145 149 PyObject *domain, *quantity; 150 146 151 PyArrayObject 147 152 * quantity_update,
Note: See TracChangeset
for help on using the changeset viewer.