ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/Thermo.cpp
(Generate patch)

Comparing trunk/mdtools/md_code/Thermo.cpp (file contents):
Revision 254 by chuckv, Thu Jan 30 20:03:37 2003 UTC vs.
Revision 264 by chuckv, Tue Feb 4 20:16:08 2003 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines