Changeset 4973


Ignore:
Timestamp:
Jan 25, 2008, 2:33:13 PM (17 years ago)
Author:
steve
Message:
 
Location:
anuga_core/source/anuga/advection
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/advection/advection.py

    r4969 r4973  
    263263        #print 'huge_timestep = ',huge_timestep
    264264               
    265         timestep = compute_fluxes(stage_edge,stage_bdry,stage_update,
     265        timestep = compute_fluxes(stage_update,stage_edge,stage_bdry,
    266266                                  neighbours,neighbour_edges,normals,
    267267                                  areas,radii,edgelengths,
  • anuga_core/source/anuga/advection/advection_ext.c

    r4969 r4973  
    22#include "stdio.h"
    33
    4 double compute_fluxes(double* stage_edge,
     4double compute_fluxes(
     5                    double* stage_update,
     6                    double* stage_edge,
    57                    double* stage_bdry,
    6                     double* stage_update,
    78                    int* neighbours,
    89                    int* neighbour_edges,
     
    3637        for (k=0; k<N; k++){
    3738            optimal_timestep = huge_timestep;
    38             flux = 0.0;  //Reset work array
     39            flux = 0.0;
    3940            for (i=0; i<3; i++){
    4041                k_i = 3*k+i;
  • anuga_core/source/anuga/advection/advection_ext.pyf

    r4972 r4973  
    99                intent(c) compute_fluxes
    1010                intent(c)
    11        
     11
     12                double precision dimension(n) ::      stage_update,     
    1213                double precision dimension(3,n) ::    stage_edge
    1314                double precision dimension(3,n) ::    stage_bdry,
    14                 double precision dimension(n) ::      stage_update,
    1515                integer dimension(3,n) ::             neighbours,
    1616                integer dimension(3,n) ::             neighbour_edges,
  • anuga_core/source/anuga/advection/compile_all.py

    r4967 r4973  
    88print separation_line
    99
    10 command = 'python setup.py build_src build_ext --inplace'
     10command = 'python setup.py build_src build_ext --inplace --compiler=mingw32'
    1111print 'Trying to run %s in directory %s' % (command, os.getcwd())
    1212os.system(command)
Note: See TracChangeset for help on using the changeset viewer.