Search found 2593 matches

by Peter Eastman
Thu Nov 14, 2024 7:05 pm
Forum: OpenMM
Topic: Does the neighbor list update when setPositions is called using C++ API?
Replies: 1
Views: 145

Re: Does the neighbor list update when setPositions is called using C++ API?

Yes. Neighbor lists and similar structures are strictly an implementation detail. They're used to speed up calculations without changing any results. Similarly for the reordering done internally by some platforms: it's never visible to the user. The forces reported by getState() are the correct forc...
by Peter Eastman
Mon Nov 11, 2024 5:11 pm
Forum: OpenMM
Topic: Reflective wall to prevent water from penetrating the lipid bilayer
Replies: 6
Views: 282

Re: Reflective wall to prevent water from penetrating the lipid bilayer

There aren't really "periodic coordinates", just coordinates. But if you intend your system to be periodic, you need to consider the periodicity correctly. Otherwise you'll get unexpected results if the coordinate isn't in the range you expect. Periodic boundary conditions are complicated and confus...
by Peter Eastman
Mon Nov 11, 2024 4:45 pm
Forum: OpenMM
Topic: Reflective wall to prevent water from penetrating the lipid bilayer
Replies: 6
Views: 282

Re: Reflective wall to prevent water from penetrating the lipid bilayer

That expression is not periodic. It just depends on the absolute z coordinate, and has no dependence on the size of the box. Are you sure that's what you want?
by Peter Eastman
Mon Nov 11, 2024 1:42 pm
Forum: OpenMM
Topic: Reflective wall to prevent water from penetrating the lipid bilayer
Replies: 6
Views: 282

Re: Reflective wall to prevent water from penetrating the lipid bilayer

Can you give the exact equation for what you want the potential to be as a function of z? If you can define it mathematically, it should be easy to translate into a custom force.
by Peter Eastman
Tue Oct 29, 2024 5:07 pm
Forum: OpenMM
Topic: How to introduce mutation/modification
Replies: 4
Views: 1861

Re: How to introduce mutation/modification

It doesn't. There are two possible workflows. One is to do your modelling in OpenMM, and then parameterize it with OpenMM. The other is to do your modelling with CHARMM, parameterize it with CHARMM, and then load the PSF file into OpenMM. OpenMM can't modify the structure loaded from the PSF while p...
by Peter Eastman
Tue Oct 29, 2024 1:30 pm
Forum: OpenMM
Topic: OpenMM 8.2 release candidate
Replies: 1
Views: 693

OpenMM 8.2 release candidate

The release candidate of 8.2 is now up. See https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=161&t=18880&p=0&start=0&view=&sid=d5a1dddcf6221cbe6b2145c20e6a684e for details about what's new in it. You can install it with conda or mamba using the command mamba install -c conda-forge/label/openmm_r...
by Peter Eastman
Tue Oct 29, 2024 12:08 pm
Forum: OpenMM
Topic: How to introduce mutation/modification
Replies: 4
Views: 1861

Re: How to introduce mutation/modification

PDBFixer has an applyMutations() function that might be what you want.
by Peter Eastman
Fri Oct 25, 2024 11:13 am
Forum: OpenMM
Topic: Crazy segmentation fault (core dumped) for openmm simulation
Replies: 12
Views: 8442

Re: Crazy segmentation fault (core dumped) for openmm simulation

That's entirely inside the Python interpreter. It doesn't involve any OpenMM code.