Changeset 14861


Ignore:
Timestamp:
05/02/13 14:42:59 (12 years ago)
Author:
utke
Message:

CHG: TODO uncomment lines 31-33 once testing is ready.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/mpi/patches/DetermineLocalSize.cpp

    r13622 r14861  
    2626        MPI_Comm_size(comm,&num_procs);
    2727
     28
     29        /* TODO replace the following with ->
     30
     31        local_size=global_size/num_procs; // integer division
     32        if (global_size%num_procs>my_rank) local_size++; // distribute the remainder
     33        return local_size;
     34
     35        <- to here  */
     36
    2837        /*We are  not bound by any library, just use what seems most logical*/
    2938        num_local_rows=xNew<int>(num_procs);   
Note: See TracChangeset for help on using the changeset viewer.