| # | Line 100 | Line 100 | double Thermo::getPotential(){ | |
|---|---|---|
| 100 | #ifdef IS_MPI | |
| 101 | MPI::COMM_WORLD.Allreduce(&potential,&potential_global,1,MPI_DOUBLE,MPI_SUM); | |
| 102 | potential = potential_global; | |
| 103 | + | |
| 104 | #endif // is_mpi | |
| 105 | ||
| 106 | return potential; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |