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

Comparing trunk/OOPSE/libmdtools/SimInfo.cpp (file contents):
Revision 843 by mmeineke, Wed Oct 29 20:41:39 2003 UTC vs.
Revision 845 by gezelter, Thu Oct 30 18:59:20 2003 UTC

# Line 524 | Line 524 | void SimInfo::setDefaultRcut( double theRcut ){
524    haveOrigRcut = 1;
525    origRcut = theRcut;
526    rCut = theRcut;
527 +
528 +  ( rCut > ecr )? rList = rCut + 1.0: rList = ecr + 1.0;
529  
530    notifyFortranCutOffs( &rCut, &rList, &ecr, &est );
531   }
# Line 539 | Line 541 | void SimInfo::setDefaultEcr( double theEcr ){
541    haveOrigEcr = 1;
542    origEcr = theEcr;
543    
544 +  ( rCut > ecr )? rList = rCut + 1.0: rList = ecr + 1.0;
545 +
546    ecr = theEcr;
547 +
548    notifyFortranCutOffs( &rCut, &rList, &ecr, &est );
549   }
550  
# Line 622 | Line 627 | void SimInfo::checkCutOffs( void ){
627      ( rCut > ecr )? rList = rCut + 1.0: rList = ecr + 1.0;
628      
629      if( cutChanged ){
625      
630        notifyFortranCutOffs( &rCut, &rList, &ecr, &est );
631      }
632      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines