bkmi / non-bonded-periodic Goto Github PK
View Code? Open in Web Editor NEWA Python package for non-bonded interactions in periodic systems.
License: MIT License
A Python package for non-bonded interactions in periodic systems.
License: MIT License
be able to switch energy from coulomb versus lenard jones energy calc
Don't use a quad deep look in k space. Build a grid of k vectors ahead of time and apply it. In addition, use symmetry to reduce the problem to only real space k vectors
And a more obtuse suggestion:
Take the equations from long range ewald, substitute structure factors, use Euler or symmetry... This process will yield coupled interactions between two particles (but still manage to avoid incorporating any images.) this notion of energy contributions from pairs of particles can be used for the forces. (Another small hint, it involves the complex square of the structure factor)
we need a max sigma and a sigma for every interaction.
Check lennard-jones defs
Sigma should be added as a public variable or a method is needed to access it.
Calling the particle number is somewhat complicated and it would be easier if it was directly an accessible variable.
This is how the class neighbour calls it right now:
__particle_number = System.state().positions().shape[0]
I think the title is self-explanatory
Calculation of the neighbour list needs following variables from SystemInfo:
sigma
cutoff radius
How is the box dimension represented?
Proposel for cutoff radius:
`
def set_cutoff_radius(self, sigma):
# sigma * 2.5 is a standard approximation
self.__cutoff_radius = sigma * 2.5
return self.__cutoff_radius
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.