Skip to content

Commit

Permalink
Merge pull request #502 from GOMC-WSU/jpotoff-patch-1
Browse files Browse the repository at this point in the history
Update FFSetup.cpp
  • Loading branch information
GregorySchwing authored Jun 27, 2023
2 parents 012eaa3 + 1ab760d commit bf04333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FFSetup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ void Dihedral::Read(Reader &param, std::string const &firstVar) {
if (index == 0) {
// set phase shift for n=0 to 90 degree
// We will have C0 = Kchi (1 + cos(0 * phi + 90)) = Kchi
//this avoids double counting the C0 (constant offset) term, which is used force fields like TraPPE
def = 90.00;
}
Add(merged, coeff, index, def);
Expand Down

0 comments on commit bf04333

Please sign in to comment.