|
Lines 892-900
Link Here
|
| 892 |
double cut_on_vdw_2 = SQR(cut_on_vdw_); |
892 |
double cut_on_vdw_2 = SQR(cut_on_vdw_); |
| 893 |
|
893 |
|
| 894 |
SwitchingCutOnOff cutoffs_es |
894 |
SwitchingCutOnOff cutoffs_es |
| 895 |
= { cut_off_electrostatic_2, cut_on_electrostatic_2, inverse_distance_off_on_electrostatic_3_ }; |
895 |
= { (float)cut_off_electrostatic_2, (float)cut_on_electrostatic_2, (float)inverse_distance_off_on_electrostatic_3_ }; |
| 896 |
SwitchingCutOnOff cutoffs_vdw |
896 |
SwitchingCutOnOff cutoffs_vdw |
| 897 |
= { cut_off_vdw_2, cut_on_vdw_2, inverse_distance_off_on_vdw_3_ }; |
897 |
= { (float)cut_off_vdw_2, (float)cut_on_vdw_2, (float)inverse_distance_off_on_vdw_3_ }; |
| 898 |
|
898 |
|
| 899 |
// Define the different components of the non-bonded energy |
899 |
// Define the different components of the non-bonded energy |
| 900 |
double vdw_energy = 0.0; |
900 |
double vdw_energy = 0.0; |