| # | Line 18 | Line 18 | Thermo::Thermo( SimInfo* the_entry_plug ) { | |
|---|---|---|
| 18 | entry_plug = the_entry_plug; | |
| 19 | int baseSeed = BASE_SEED; | |
| 20 | ||
| 21 | – | cerr << "creating thermo stream\n"; |
| 21 | gaussStream = new gaussianSPRNG( baseSeed ); | |
| 23 | – | cerr << "created thermo stream\n"; |
| 22 | } | |
| 23 | ||
| 24 | Thermo::~Thermo(){ | |
| # | Line 102 | 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 |