Search found 45 matches

by Wei Lu
Sat Feb 06, 2021 8:59 pm
Forum: OpenMM
Topic: Attempted Tutorial, got: Particle coordinate is nan
Replies: 0
Views: 129

Attempted Tutorial, got: Particle coordinate is nan

Hello, I'm trying to run the script from here: http://openmm.org/tutorials/alchemical-free-energy/ But got "Particle coordinate is nan" while running. Do you know why? Thanks. Here is my version. and I tested with openCL and CPU, both got the error. openmm 7.4.1 py36_cuda101_rc_1 omnia openmmtools 0...
by Wei Lu
Thu Jan 21, 2021 2:09 pm
Forum: OpenMM
Topic: Could atoms change parameters on the fly?
Replies: 3
Views: 200

Re: Could atoms change parameters on the fly?

Can I update the parameter when some condition are met. for example, when two atom are close to each other and their total kinetic energy is larger than certain threshold?
Thanks.
by Wei Lu
Tue Jan 19, 2021 4:27 pm
Forum: OpenMM
Topic: Could atoms change parameters on the fly?
Replies: 3
Views: 200

Could atoms change parameters on the fly?

In CustomNonBonded force, we can specify the parameters for each atoms. But If I want to simulate a possible reaction: when two atoms come close enough, they react to each other, how can I change the parameters after the step the reaction happened. It will be great if OpenMM can support this.
Thanks.
by Wei Lu
Wed Nov 18, 2020 11:04 am
Forum: OpenMM
Topic: Single and double precision produce different result
Replies: 3
Views: 318

Re: Single and double precision produce different result

I'm using openMM 7.4.1, py36_cuda101_rc_1.
by Wei Lu
Tue Nov 03, 2020 12:40 pm
Forum: OpenMM
Topic: Single and double precision produce different result
Replies: 3
Views: 318

Single and double precision produce different result

Hello Peter, We encounter a strange bug: the single and double precision gives different energy for our CustomHbondForce force. In the attachment is a much simplified code, so you should be able to reproduce easily. (by doing "python simplified_code.py" to use single precision, and "python simplifie...
by Wei Lu
Tue Jun 30, 2020 6:53 pm
Forum: OpenMM
Topic: Can we give CustomCompoundBondForce a computation cutoff
Replies: 6
Views: 347

Re: Can we give CustomCompoundBondForce a computation cutoff

great advice. I didn't realize I could using addExclusion() to prevent the self interaction. I will test it out. Thanks!
by Wei Lu
Mon Jun 29, 2020 4:19 pm
Forum: OpenMM
Topic: Can we give CustomCompoundBondForce a computation cutoff
Replies: 6
Views: 347

Re: Can we give CustomCompoundBondForce a computation cutoff

right. It is a coarse grained force field. Only one term for each pair of residues. The function will be pairwise between the CB of all residues.(but modulated by the CB of residues near them in sequence) the term for each pair will be a function depends on r_ij, r_(i+4,j+4) and some parameters wher...
by Wei Lu
Mon Jun 29, 2020 3:47 pm
Forum: OpenMM
Topic: Can we give CustomCompoundBondForce a computation cutoff
Replies: 6
Views: 347

Re: Can we give CustomCompoundBondForce a computation cutoff

Thanks for the quick reply. It should be a non-bonded force. and it is a pairwise term at its core, so it will be n^2. but with some additional information required. for example, when compute the interaction between residue i and residue j, I want the energy modulated by the distance between the CB ...
by Wei Lu
Mon Jun 29, 2020 3:07 pm
Forum: OpenMM
Topic: Can we give CustomCompoundBondForce a computation cutoff
Replies: 6
Views: 347

Can we give CustomCompoundBondForce a computation cutoff

Hello, I want to implement a complex potential for coarse grained simulation. The potential is a pairwise function, but requires the positions of four atoms. There is one interaction between each pair of residues. The force is applied to the CB atom of each residues. the interaction of two CB atoms ...
by Wei Lu
Wed May 13, 2020 10:57 am
Forum: OpenMM
Topic: CustomNonbondedForce with pair dependent constants
Replies: 9
Views: 55073

Re: CustomNonbondedForce with pair dependent constants

Hello Peter, I have a similar problem. but a little more complicate. The potential I want to add is not a LJ potential.(it's defined by tabulated continuous function) so I would hope to have a mixed Discrete-Continuous tabulated function. To be more specific, the input array will be 3D. The first 2 ...