ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE_old/src/mdtools/libmdCode/SimSetup.cpp
(Generate patch)

Comparing trunk/OOPSE_old/src/mdtools/libmdCode/SimSetup.cpp (file contents):
Revision 308 by mmeineke, Mon Mar 10 21:44:31 2003 UTC vs.
Revision 311 by mmeineke, Tue Mar 11 16:27:34 2003 UTC

# Line 745 | Line 745 | void SimSetup::makeBends( void ){
745                  switch( current_extra->getType() ){
746                    
747                  case 0:
748 <                  the_bends[index].ghost = current_extra->getInt();
748 >                  the_bends[index].ghost =
749 >                    current_extra->getInt() + offset;
750                    the_bends[index].isGhost = 1;
751                    break;
752                    
753                  case 1:
754 <                  the_bends[index].ghost = (int)current_extra->getDouble();
754 >                  the_bends[index].ghost =
755 >                    (int)current_extra->getDouble() + offset;
756                    the_bends[index].isGhost = 1;
757                    break;
758                    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines