Git Product home page Git Product logo

Comments (5)

js850 avatar js850 commented on June 29, 2024

@jdf43 , do you know if there are any examples in Pele with charged particles?

from pele.

farrelljd avatar farrelljd commented on June 29, 2024

@WCEdison @js850 None of which I'm aware, sorry

from pele.

WCEdison avatar WCEdison commented on June 29, 2024

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.

smcantab avatar smcantab commented on June 29, 2024

@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.

js850 avatar js850 commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.