ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/UseTheForce/DUFF.cpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/UseTheForce/DUFF.cpp (file contents):
Revision 1653 by gezelter, Wed Oct 27 00:01:29 2004 UTC vs.
Revision 1670 by gezelter, Thu Oct 28 16:56:20 2004 UTC

# Line 767 | Line 767 | void DUFF::readParams( void ){
767      if( currentAtomType->name[0] != '\0' ){
768        
769        if (currentAtomType->isSSD || currentAtomType->isDipole)
770 <        DirectionalAtomType* at = new DirectionalAtomType();
770 >        at = new DirectionalAtomType();
771        else
772 <        AtomType* at = new AtomType();
772 >        at = new AtomType();
773        
774        if (currentAtomType->isSSD) {
775          ((DirectionalAtomType*)at)->setSticky();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines