ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/hydrodynamics/ShapeBuilder.cpp
(Generate patch)

Comparing trunk/src/applications/hydrodynamics/ShapeBuilder.cpp (file contents):
Revision 907 by tim, Fri Mar 17 23:51:54 2006 UTC vs.
Revision 908 by tim, Mon Mar 20 19:12:14 2006 UTC

# Line 97 | Line 97 | Shape* ShapeBuilder::internalCreateShape(DirectionalAt
97  
98              if (gayBerneData != NULL) {  
99                  GayBerneParam gayBerneParam = gayBerneData->getData();
100 <                currShape = new Ellipsoid(datom->getPos(), gayBerneParam.GB_sigma, gayBerneParam.GB_l2b_ratio, datom->getA());
100 >                currShape = new Ellipsoid(datom->getPos(), gayBerneParam.GB_sigma/2.0, gayBerneParam.GB_l2b_ratio*gayBerneParam.GB_sigma/2.0, datom->getA());
101              } else {
102                  sprintf( painCave.errMsg,
103                         "Can not cast GenericData to GayBerneParam\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines