ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/integrators/LDForceManager.cpp
(Generate patch)

Comparing trunk/OOPSE-4/src/integrators/LDForceManager.cpp (file contents):
Revision 3118 by chuckv, Fri Feb 2 18:55:21 2007 UTC vs.
Revision 3126 by gezelter, Fri Apr 6 21:53:43 2007 UTC

# Line 247 | Line 247 | namespace oopse {
247      return props;
248    }
249    
250 <  void LDForceManager::postCalculation() {
250 >  void LDForceManager::postCalculation(bool needStress){
251      SimInfo::MoleculeIterator i;
252      Molecule::IntegrableObjectIterator  j;
253      Molecule* mol;
# Line 362 | Line 362 | namespace oopse {
362      if(!simParams->getUsePeriodicBoundaryConditions())
363        veloMunge->removeAngularDrift();
364  
365 <    ForceManager::postCalculation();  
365 >    ForceManager::postCalculation(needStress);  
366    }
367  
368   void LDForceManager::genRandomForceAndTorque(Vector3d& force, Vector3d& torque, unsigned int index, RealType variance) {
# Line 370 | Line 370 | void LDForceManager::genRandomForceAndTorque(Vector3d&
370  
371      Vector<RealType, 6> Z;
372      Vector<RealType, 6> generalForce;
373
373          
374      Z[0] = randNumGen_.randNorm(0, variance);
375      Z[1] = randNumGen_.randNorm(0, variance);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines