Changeset 7165


Ignore:
Timestamp:
Jun 9, 2009, 9:34:03 PM (15 years ago)
Author:
ole
Message:

Ported the use of memset in _update introduced in 7154

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/abstract_2d_finite_volumes/quantity_ext.c

    r6410 r7165  
    730730
    731731
    732         // MH080605 set semi_implicit_update[k] to 0.0 here, rather than in update_conserved_quantities.py
    733         for (k=0;k<N;k++){
    734                 semi_implicit_update[k]=0.0;
    735         }
     732        // Reset semi_implicit_update here ready for next time step
     733        memset(semi_implicit_update, 0, N*sizeof(double));
    736734
    737735        return 0;
Note: See TracChangeset for help on using the changeset viewer.