| 578 |
|
if (j_is_Charge) { |
| 579 |
|
if (screeningMethod_ == DAMPED) { |
| 580 |
|
// assemble the damping variables |
| 581 |
< |
//res = erfcSpline_->getValueAndDerivativeAt( *(idat.rij) ); |
| 582 |
< |
//erfcVal = res.first; |
| 583 |
< |
//derfcVal = res.second; |
| 581 |
> |
res = erfcSpline_->getValueAndDerivativeAt( *(idat.rij) ); |
| 582 |
> |
erfcVal = res.first; |
| 583 |
> |
derfcVal = res.second; |
| 584 |
|
|
| 585 |
< |
erfcVal = erfc(dampingAlpha_ * *(idat.rij)); |
| 586 |
< |
derfcVal = - alphaPi_ * exp(-alpha2_ * *(idat.r2)); |
| 585 |
> |
//erfcVal = erfc(dampingAlpha_ * *(idat.rij)); |
| 586 |
> |
//derfcVal = - alphaPi_ * exp(-alpha2_ * *(idat.r2)); |
| 587 |
|
|
| 588 |
|
c1 = erfcVal * riji; |
| 589 |
|
c2 = (-derfcVal + c1) * riji; |