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

Comparing branches/development/src/brains/MoleculeCreator.cpp (file contents):
Revision 1718 by gezelter, Thu May 24 01:29:59 2012 UTC vs.
Revision 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC

# Line 44 | Line 44
44   * @file MoleculeCreator.cpp
45   * @author tlin
46   * @date 11/04/2004
47 * @time 13:44am
47   * @version 1.0
48   */
49  
# Line 206 | Line 205 | namespace OpenMD {
205        painCave.isFatal = 1;
206        simError();
207      }
208 <    
208 >
209      //below code still have some kind of hard-coding smell
210      if (atomType->isDirectional()){
211 +
212        DirectionalAtom* dAtom;
213        dAtom = new DirectionalAtom(atomType);
214        atom = dAtom;    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines