ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/GhostBend.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/GhostBend.cpp (file contents):
Revision 670 by mmeineke, Thu Aug 7 21:47:18 2003 UTC vs.
Revision 707 by mmeineke, Wed Aug 20 19:42:31 2003 UTC

# Line 10 | Line 10 | GhostBend::GhostBend( Atom &a, Atom &b ){
10  
11  
12   GhostBend::GhostBend( Atom &a, Atom &b ){
13 <
13 >  
14    c_p_a = &a;
15    
16    if( !b.isDirectional() ){
# Line 52 | Line 52 | void GhostBend::calc_forces(){
52    double aF[3], bF[3], bTrq[3];
53  
54    c_p_a->getPos( aR );
55 <  c_p_b->getPos( bR );
55 >  atomB->getPos( bR );
56    
57  
58    dx = aR[0] - bR[0];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines