ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/brains/ForceField.hpp
(Generate patch)

Comparing branches/development/src/UseTheForce/ForceField.hpp (file contents):
Revision 1467 by gezelter, Sat Jul 17 15:33:03 2010 UTC vs.
Revision 1476 by gezelter, Wed Jul 21 18:31:05 2010 UTC

# Line 139 | Line 139 | namespace OpenMD {
139        return atomTypeCont_.size();
140      }
141  
142 <    AtomTypeContainer getAtomTypes() {
143 <      return atomTypeCont_;
142 >    AtomTypeContainer* getAtomTypes() {
143 >      return &atomTypeCont_;
144      }
145      
146 <    NonBondedInteractionTypeContainer getNonBondedInteractionTypes() {
147 <      return nonBondedInteractionTypeCont_;
146 >    NonBondedInteractionTypeContainer* getNonBondedInteractionTypes() {
147 >      return &nonBondedInteractionTypeCont_;
148      }
149          
150      bool addAtomType(const std::string &at, AtomType* atomType);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines