Search found 11 matches
- Wed Dec 09, 2020 1:32 pm
- Forum: OpenMM
- Topic: Single and double precision produce different result
- Replies: 3
- Views: 340
Re: Single and double precision produce different result
I wonder if there have been any updates on this problem.
- Tue Nov 03, 2020 1:13 pm
- Forum: OpenMM
- Topic: Single and double precision produce different result
- Replies: 3
- Views: 340
Re: Single and double precision produce different result
Dear Peter, I just wanted to add to this discussion that the single precision version of the code get the same results as the CPU and Reference platforms. With double precision we get other errors in other computers. (Quadro K600) $ python simplified_code.py TotalEnergy 120.0 kJ/mol $ python simplif...
- Thu Feb 20, 2020 12:43 pm
- Forum: OpenMM
- Topic: Rounding error in acos function
- Replies: 6
- Views: 297
Re: Rounding error in acos function
Yes. I'm implementing the Cross-Stacking term of the 3SPN.2C potential. The Cross-Stacking potential is a function of 5 particles: B0, S1, B1, S2 and B2, where B0, S1, and B1 are part of one chain and S2 and B2 are part of another chain (B stands for base and S for Sugar). The potential is a functio...
- Mon Feb 17, 2020 7:44 pm
- Forum: OpenMM
- Topic: Rounding error in acos function
- Replies: 6
- Views: 297
Re: Rounding error in acos function
Hi Peter, Sorry for the late response. I tried to use the compute Angle function, but I don't seem to be able to reach it from the python API or the XML setup. I want to compute the angle between 2 vectors defined by 4 particles, so the angle(...) function from customHBondForce doesn't meet my needs...
- Fri Dec 13, 2019 12:56 pm
- Forum: OpenMM
- Topic: Rounding error in acos function
- Replies: 6
- Views: 297
Re: Rounding error in acos function
Thank you.
Is there a way to incorporate that computeAngle function on a CustomHbond force expresion using the python API?
Is there a way to incorporate that computeAngle function on a CustomHbond force expresion using the python API?
- Thu Dec 12, 2019 1:05 pm
- Forum: OpenMM
- Topic: Rounding error in acos function
- Replies: 6
- Views: 297
Rounding error in acos function
Hi, I was working with the CustomHbond force using an acos function to calculate the angle between two vectors. In order to compute the angle between two vectors I used the function: t3 = acos(cost3lim); cost3 = sin(t1)*sin(t2)*cos(phi)-cos(t1)*cos(t2); This function shouldn't be more than 1 or less...
- Thu Aug 16, 2018 3:18 pm
- Forum: OpenMM
- Topic: CustomHBondForce with repeated atom in different donor groups.
- Replies: 11
- Views: 547
Re: CustomHBondForce with repeated atom in different donor groups.
Yes, I just noticed that it may be easier to see the error with the sum of force on the system.
On this simulation the error becomes noticeable around frames 75-76.
The particle with indices 1235, 1236, 1237 starts drifting away.
I attached the states.
On this simulation the error becomes noticeable around frames 75-76.
The particle with indices 1235, 1236, 1237 starts drifting away.
I attached the states.
- Thu Aug 16, 2018 2:08 pm
- Forum: OpenMM
- Topic: CustomHBondForce with repeated atom in different donor groups.
- Replies: 11
- Views: 547
Re: CustomHBondForce with repeated atom in different donor groups.
When I traced back the particles that move fast during the simulation, they accelerate when they are still far from the Hbond aceptor. They don't seem to accelerate as a result of a collision, and they don't seem to be attracted to any other particle. The cutoff for the CustomHBondFoce is 12 nm, whi...
- Thu Aug 16, 2018 1:27 pm
- Forum: OpenMM
- Topic: CustomHBondForce with repeated atom in different donor groups.
- Replies: 11
- Views: 547
Re: CustomHBondForce with repeated atom in different donor groups.
The temperature should raise faster on OpenCl than on the CPU platform. Temperature_increase.png For example on the CPU platform at 3 000 000 steps: #"Step","Time (ps)","Potential Energy (kJ/mole)","Kinetic Energy (kJ/mole)","Total Energy (kJ/mole)","Temperature (K)" 3000000,300000.0000019568,-355.8...
- Thu Aug 16, 2018 10:47 am
- Forum: OpenMM
- Topic: CustomHBondForce with repeated atom in different donor groups.
- Replies: 11
- Views: 547
Re: CustomHBondForce with repeated atom in different donor groups.
I was using the OpenCL platform. I tried to use the CPU platform and the Reference platform but I could not reproduce the unexpected results.
I attach an example of the problem. Some CAM particles outside the non-bonded cutoff seem to experience a high force.
I attach an example of the problem. Some CAM particles outside the non-bonded cutoff seem to experience a high force.