Torsion Angle with 5 parameters (Trappe)
- MonteCarlo83
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 2
7 years 3 months ago #288
by MonteCarlo83
Dear Cassandra-developer and Cassandra-User,
I want to simulate butadiene with the Trappe force-field.
Dihedral interaction is described by the following function:
u = c0 + c1 cos(a) + c2 cos(2a) + c3 cos(3a) + c4 cos(4a)
Can Cassandra handle five parameters, if I use OPLS-form?
Thank you very much in advance
Mark
I want to simulate butadiene with the Trappe force-field.
Dihedral interaction is described by the following function:
u = c0 + c1 cos(a) + c2 cos(2a) + c3 cos(3a) + c4 cos(4a)
Can Cassandra handle five parameters, if I use OPLS-form?
Thank you very much in advance
Mark
Please Log in to join the conversation.
- jdmoore
- Offline
- Junior Member
Less
More
- Posts: 32
- Thank you received: 3
7 years 3 months ago #290
by jdmoore
It looks like it might not be too difficult, but I might be missing some things and the developers can comment more.
1) You would have to change input_routines.f90, in the Get_Dihedral_Info subroutine, where it reads in the OPLS parameters. You'd have to change this to read in 5 parameters
2) Then in energy_routines.f90 you'd have to change the Compute_Molecule_Dihedral_Energy subroutine to change the assigning of the parameters to add an "a4" and then change the edihed to include the a4 term.
Josh
1) You would have to change input_routines.f90, in the Get_Dihedral_Info subroutine, where it reads in the OPLS parameters. You'd have to change this to read in 5 parameters
2) Then in energy_routines.f90 you'd have to change the Compute_Molecule_Dihedral_Energy subroutine to change the assigning of the parameters to add an "a4" and then change the edihed to include the a4 term.
Josh
Please Log in to join the conversation.
- MonteCarlo83
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 2
Time to create page: 0.296 seconds