--- trunk/OOPSE/libmdtools/Thermo.cpp 2003/03/27 20:12:15 423 +++ trunk/OOPSE/libmdtools/Thermo.cpp 2003/03/27 21:07:14 428 @@ -86,16 +86,16 @@ double Thermo::getPotential(){ double potential_local; double potential; int el, nSRI; - SRI** sris; + Molecule* molecules; - sris = entry_plug->sr_interactions; + molecules = entry_plug->molecules; nSRI = entry_plug->n_SRI; potential_local = 0.0; potential_local += entry_plug->lrPot; for( el=0; eln_mol; el++ ){ - potential_local += entry_plug->molecules[el]->get_potential(); + potential_local += molecules[el].getPotential(); } // Get total potential for entire system from MPI.