515 |
|
|
516 |
|
void SimInfo::setRcut( double theRcut ){ |
517 |
|
|
518 |
– |
if( !haveOrigRcut ){ |
519 |
– |
haveOrigRcut = 1; |
520 |
– |
origRcut = theRcut; |
521 |
– |
} |
522 |
– |
|
518 |
|
rCut = theRcut; |
519 |
|
checkCutOffs(); |
520 |
|
} |
521 |
|
|
522 |
< |
void SimInfo::setEcr( double theEcr ){ |
522 |
> |
void SimInfo::setDefaultRcut( double theRcut ){ |
523 |
|
|
524 |
< |
if( !haveOrigEcr ){ |
525 |
< |
haveOrigEcr = 1; |
526 |
< |
origEcr = theEcr; |
527 |
< |
} |
524 |
> |
haveOrigRcut = 1; |
525 |
> |
origRcut = theRcut; |
526 |
> |
rCut = theRcut; |
527 |
> |
} |
528 |
|
|
529 |
+ |
void SimInfo::setEcr( double theEcr ){ |
530 |
+ |
|
531 |
|
ecr = theEcr; |
532 |
|
checkCutOffs(); |
533 |
|
} |
534 |
|
|
535 |
+ |
void SimInfo::setDefaultEcr( double theEcr ){ |
536 |
+ |
|
537 |
+ |
haveOrigEcr = 1; |
538 |
+ |
origEcr = theEcr; |
539 |
+ |
|
540 |
+ |
ecr = theEcr; |
541 |
+ |
} |
542 |
+ |
|
543 |
|
void SimInfo::setEcr( double theEcr, double theEst ){ |
544 |
|
|
545 |
|
est = theEst; |
546 |
|
setEcr( theEcr ); |
547 |
|
} |
548 |
|
|
549 |
+ |
void SimInfo::setDefaultEcr( double theEcr, double theEst ){ |
550 |
|
|
551 |
+ |
est = theEst; |
552 |
+ |
setDefaultEcr( theEcr ); |
553 |
+ |
} |
554 |
+ |
|
555 |
+ |
|
556 |
|
void SimInfo::checkCutOffs( void ){ |
557 |
|
|
558 |
|
int cutChanged = 0; |