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

Comparing trunk/src/visitors/AtomVisitor.cpp (file contents):
Revision 991 by tim, Sat Jun 17 17:02:33 2006 UTC vs.
Revision 992 by chrisfen, Wed Jun 21 18:28:27 2006 UTC

# Line 254 | Line 254 | namespace oopse {
254         if (gayBerneData != NULL) {
255             GayBerneParam gayBerneParam = gayBerneData->getData();
256  
257 <                                          double halfLen = gayBerneParam.GB_sigma * gayBerneParam.GB_l2b_ratio/2.0;
258 <                                                        c1[2] = -halfLen;
257 >                          // double halfLen = gayBerneParam.GB_sigma * gayBerneParam.GB_l2b_ratio/2.0;
258 >                          double halfLen = gayBerneParam.GB_l/2.0;
259 >                          c1[2] = -halfLen;
260                c2[2] = -halfLen /2;
261                c3[2] = halfLen/2;
262                c4[2] = halfLen;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines