ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/applications/randomBuilder/randomBuilder.cpp
(Generate patch)

Comparing branches/development/src/applications/randomBuilder/randomBuilder.cpp (file contents):
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC vs.
Revision 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC

# Line 231 | Line 231 | int main(int argc, char *argv []) {
231    for (int i=0; i < nComponents; i++) {
232      molFractions[i] = (RealType)(nMol.at(i))/(RealType)nSites;
233      totalMolecules += nMol.at(i);
234 <    molecularMasses.push_back(getMolMass(oldInfo->getMoleculeStamp(i),
235 <                                         oldInfo->getForceField()));
234 >    molecularMasses.push_back(MoLocator::getMolMass(oldInfo->getMoleculeStamp(i),
235 >                                                    oldInfo->getForceField()));
236      totalMass += (RealType)(nMol.at(i)) * molecularMasses.at(i);
237    }
238    RealType avgMass = totalMass / (RealType) totalMolecules;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines