Ignore:
Timestamp:
09/20/12 16:59:40 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: lots of cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/MassFluxx/MassFluxx.cpp

    r13073 r13412  
    1212void MassFluxx(IssmDouble* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters,bool process_units){
    1313
    14         int i,j;
    15         extern int num_procs;
    16         extern int my_rank;
    17        
    18         Element* element=NULL;
    19         int element_id;
     14        int      i,j;
     15        Element *element    = NULL;
     16        int      element_id;
    2017       
    2118        /*output: */
    2219        IssmDouble mass_flux=0;
    2320        IssmDouble all_mass_flux=0;
    24 
    2521        int  counter;
    2622
    2723        /*all segments: */
    28         IssmDouble** array=NULL;
    29         int      M;
    30         int*     mdims_array=NULL;
    31         int*     ndims_array=NULL;
     24        IssmDouble **array       = NULL;
     25        int          M;
     26        int         *mdims_array = NULL;
     27        int         *ndims_array = NULL;
    3228
    3329        /*our segments of interest: */
    34         IssmDouble*  segments=NULL;
    35         int      num_segments;
     30        IssmDouble *segments     = NULL;
     31        int         num_segments;
    3632
    3733        /*First, figure out which segment to compute our mass flux on. Start with retrieving qmu_mass_flux_segments: */
Note: See TracChangeset for help on using the changeset viewer.