Commands in contacts.dat file
Posted: Thu Jan 28, 2010 1:24 pm
I have been using a particular contacts.dat file for RNA simulation. I want to set the parameters from contacts.dat file directly in main() using Molmodel functions.
I was able to figure out the relevant functions for most of the commands in contacts.dat file in the class SimTK::DuMMForceFieldSubsystem. There is one command for which i could not find the equivalent function.
1) The command is,
leontisWesthofInFileName Base-interaction-parameters.4.csv
How do i set this directly in main() ?
2) Also, I have the following two commands
setTemperature 1
temperature 300 1
in my contacts.dat file. To include this, I have added the following two lines in main().
GeneralForceSubsystem Fsub(system);
Force::Thermostat(Fsub, matter,SimTK_BOLTZMANN_CONSTANT_MD,300,100);
Is this equivalent to the commands in contacts.dat file ?
Where i am headed with this: At this point, I can simulate coarse grain RNA chains without using the Simbody Integrators. Right now, I am attempting to reproduce the results for a particular RNA simulation of interest to us which was originally done using RNABuilder. For this, I have to set the MD simulation parameters manually from the contacts.dat file and then perform time-stepping using the solver i wrote.
I can always edit the runDynamics() function in Repel.h for this. However, it is preferable if I can simply call pre-compiled functions, instead of actively editing the source, which is what we have been doing till date.
Thanks,
Kishor Bhalerao
I was able to figure out the relevant functions for most of the commands in contacts.dat file in the class SimTK::DuMMForceFieldSubsystem. There is one command for which i could not find the equivalent function.
1) The command is,
leontisWesthofInFileName Base-interaction-parameters.4.csv
How do i set this directly in main() ?
2) Also, I have the following two commands
setTemperature 1
temperature 300 1
in my contacts.dat file. To include this, I have added the following two lines in main().
GeneralForceSubsystem Fsub(system);
Force::Thermostat(Fsub, matter,SimTK_BOLTZMANN_CONSTANT_MD,300,100);
Is this equivalent to the commands in contacts.dat file ?
Where i am headed with this: At this point, I can simulate coarse grain RNA chains without using the Simbody Integrators. Right now, I am attempting to reproduce the results for a particular RNA simulation of interest to us which was originally done using RNABuilder. For this, I have to set the MD simulation parameters manually from the contacts.dat file and then perform time-stepping using the solver i wrote.
I can always edit the runDynamics() function in Repel.h for this. However, it is preferable if I can simply call pre-compiled functions, instead of actively editing the source, which is what we have been doing till date.
Thanks,
Kishor Bhalerao