66 |
|
|
67 |
|
deprecatedKeywords_.insert("cutoffPolicy"); |
68 |
|
} |
69 |
– |
|
70 |
– |
|
71 |
– |
void ForceFieldOptions::makeFortranOptions(ForceOptions& fortranForceOptions){ |
72 |
– |
|
73 |
– |
fortranForceOptions.vdw12scale = this->getvdw12scale(); |
74 |
– |
fortranForceOptions.vdw13scale = this->getvdw13scale(); |
75 |
– |
fortranForceOptions.vdw14scale = this->getvdw14scale(); |
76 |
– |
fortranForceOptions.electrostatic12scale = this->getelectrostatic12scale(); |
77 |
– |
fortranForceOptions.electrostatic13scale = this->getelectrostatic13scale(); |
78 |
– |
fortranForceOptions.electrostatic14scale = this->getelectrostatic14scale(); |
79 |
– |
fortranForceOptions.GayBerneMu = this->getGayBerneMu(); |
80 |
– |
fortranForceOptions.GayBerneNu = this->getGayBerneNu(); |
81 |
– |
|
82 |
– |
|
83 |
– |
std::string DistanceMix = this->getDistanceMixingRule(); |
84 |
– |
toUpper(DistanceMix); |
85 |
– |
if(DistanceMix == "ARITHMETIC"){ |
86 |
– |
fortranForceOptions.DistanceMixingRule = ARITHMETIC_MIXING_RULE; |
87 |
– |
}else if(DistanceMix == "GEOMETRIC"){ |
88 |
– |
fortranForceOptions.DistanceMixingRule = GEOMETRIC_MIXING_RULE; |
89 |
– |
}else if(DistanceMix == "CUBIC"){ |
90 |
– |
fortranForceOptions.DistanceMixingRule = CUBIC_MIXING_RULE; |
91 |
– |
}else{ |
92 |
– |
fortranForceOptions.DistanceMixingRule = ARITHMETIC_MIXING_RULE; |
93 |
– |
} |
94 |
– |
std::string EnergyMix = this->getEnergyMixingRule(); |
95 |
– |
toUpper(EnergyMix); |
96 |
– |
if(EnergyMix == "ARITHMETIC"){ |
97 |
– |
fortranForceOptions.EnergyMixingRule = ARITHMETIC_MIXING_RULE; |
98 |
– |
}else if(EnergyMix == "GEOMETRIC"){ |
99 |
– |
fortranForceOptions.EnergyMixingRule = GEOMETRIC_MIXING_RULE; |
100 |
– |
}else if(EnergyMix == "HHG"){ |
101 |
– |
fortranForceOptions.EnergyMixingRule = HHG_MIXING_RULE; |
102 |
– |
}else{ |
103 |
– |
fortranForceOptions.EnergyMixingRule = GEOMETRIC_MIXING_RULE; |
104 |
– |
} |
105 |
– |
} |
106 |
– |
|
69 |
|
} |