--- trunk/src/integrators/Velocitizer.cpp 2005/09/22 00:04:56 621 +++ trunk/src/integrators/Velocitizer.cpp 2005/10/13 22:26:47 665 @@ -157,7 +157,7 @@ namespace oopse { removeComDrift(); // Remove angular drift if we are not using periodic boundary conditions. - if(!simParams->getPBC()) removeAngularDrift(); + if(!simParams->getUsePeriodicBoundaryConditions()) removeAngularDrift(); } @@ -210,9 +210,10 @@ namespace oopse { */ inertiaTensor =inertiaTensor.inverse(); + /* std::cerr << "Inertia Tensor after inverse is " << inertiaTensor << std::endl; - + */ omega = inertiaTensor*angularMomentum; SimInfo::MoleculeIterator i;