Ignore:
Timestamp:
Mar 11, 2008, 8:43:22 PM (17 years ago)
Author:
steve
Message:

Updated some methods for quantity. Looks like we can use old
limiting system with larger values of beta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/advection/advection_ext.c

    r4978 r5162  
    22//
    33// 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
    76//
    87//
     
    1918
    2019
     20//-------------------------------------------
     21// Low level routines (called from wrappers)
     22//------------------------------------------
    2123
    2224double _compute_fluxes(
     
    3840
    3941 
    40         //Loop
     42        //Local Variables
    4143
    4244        double qr,ql;
     
    5153        int k3;
    5254       
     55        //Loop through triangles
     56
    5357        timestep = max_timestep;
    5458
     
    5963            for (i=0; i<3; i++){
    6064                k_i = k3+i;
    61                 //Quantities inside volume facing neighbour i
     65                //Quantities inside triangle facing neighbour i
    6266                ql = quantity_edge[k_i];
    6367
     
    144148
    145149  PyObject *domain, *quantity;
     150 
    146151  PyArrayObject
    147152    * quantity_update,
Note: See TracChangeset for help on using the changeset viewer.