Coder Social home page Coder Social logo

mlund / coulombgalore Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 4.0 556 KB

C++ Library for Electrostatics

License: MIT License

CMake 15.42% C++ 83.89% C 0.69%
molecular-simulation cpp14 molecular-dynamics monte-carlo physics chemistry electrostatics multipole dipole intermolecular-interactions

coulombgalore's People

Contributors

bjornstenqvist avatar mlund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coulombgalore's Issues

Vector direction

If I get it correctly, with the current definition of r, the function returns the force acting on charge "b". Perhaps we could change to @brief force on charge a due to charge b? Due to a lucky cancellation of signs, we got the right force in Faunus, but it's quite easy to make mistakes. I renamed distance vectors to a_towards_b to make it very explicit what is expected.

* @param r distance-vector between charges, @f$ {\bf r} = {\bf r}_{z_B} - {\bf r}_{z_A} @f$, UNIT: [ input length ]

Units

We should define a policy for the units for function arguments and return values. Currently there are suggestions for Hartree units in the comments(?)

ping @bjornstenqvist

Reciprocal ewald

Split reciprocal ewald part into a EwaldData object as in Faunus. The functions for calculating the surface and reciprocal energy should not be part of the base class (as they are specific to Ewald). Functions for updating when one or many particles have moved should be added.

ping @bjornstenqvist

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.