Comments (5)
@jdf43 , do you know if there are any examples in Pele with charged particles?
from pele.
@WCEdison @js850 None of which I'm aware, sorry
from pele.
Hi, I wonder if there is any way that i can call or define a potential such that i can run the system with charged particle? As it is not mentioned in the documentations, but I will need a simulation to see the LJ potential and disconnnectivity graph of a charged water molecule. if I have the ways to define it I am happy to see if it builds and provide the result for others.
from pele.
@WCEdison as far as I know, currently we do not have an implementation of potentials that supports Ewald or Wolff Summation (necessary for electrostatics), though we used to in one of the earlier implementations. You can write one that fits the current structure of the potentials and contribute it to the library through a pull request, or you can write a wrapper class that inherits from pele.BasePotential and the potential of a library that implements electrostatic interactions. For instance see pele/pele/amber/openmm_potential.py Then as long as you implement the get_energy and get_energy_gradient methods, you should be able to use all other tools from pele.
from pele.
There are a bunch of examples of how to create a new potential in this folder https://github.com/pele-python/pele/tree/master/examples/new_potential
some information about the System class here: https://github.com/pele-python/pele/blob/master/examples/using_the_system_class/using_the_system_class.py
If you need parallel boundary conditions there is a system class that supports that (to some extent). https://github.com/pele-python/pele/blob/master/pele/systems/blj_bulk.py At the very least you can use that as a starting point.
As @smcantab says, if you do implement new potentials or a new system we would welcome a pull request so others can take advantage of your work.
from pele.
Related Issues (20)
- Minimizer associated with NEB HOT 3
- FindLowestEigenvector cannot set parameter from system class HOT 1
- Get a DOI code for pele HOT 1
- Combined distance policy
- Parallelization
- Ceres solver HOT 1
- Installation errors on MacOS X HOT 4
- Query about Pele and McPele
- Error installing in ubuntu 18.04.1 LTS HOT 3
- a
- License for images? HOT 4
- hungarian package installation HOT 3
- Error with GUI HOT 4
- Conflict with munkres 1.1.2 HOT 2
- Error writing the sqlite database file
- import gmin_ as GMIN; No module named gmin_ HOT 4
- Missing an explicit mention to Cython dependency in documentation
- IndexError in disconnectivity_graph.py", line 643
- How to only create a graph without a database?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pele.