Comments (4)
It would be good to hear the properties people are interested in. It would even be nice to pass arbitrary properties, but the issue is how to calculate them in the simulator to pass them to the interaction functions.
I guess you could also store orientations in the atom type, which would make them available in the interaction function, but then the question arises of how to update that property over the simulation.
One idea would be to allow the user to define and have multiple simulators. One could be a classic simulator, and the other one could take care of the additional atom properties. For example, one could define a simulator to just integrate over orientation. It would also be powerful to be able to give the atom-type properties as arguments to the simulator. This way, built-in integrators like Langevin could be used for updating orientation. I think JAX-MD gives you this freedom.
from molly.jl.
Related to this, have you considered designing the possibility of passing properties other than velocities in the future? For example, in many cases, particles can have orientations, and being able to pass this information to pairwise forces would open up many applications for Molly.jl in Active Matter and Granular Matter physics, for example.
from molly.jl.
It would be good to hear the properties people are interested in. It would even be nice to pass arbitrary properties, but the issue is how to calculate them in the simulator to pass them to the interaction functions.
I guess you could also store orientations in the atom type, which would make them available in the interaction function, but then the question arises of how to update that property over the simulation.
from molly.jl.
We may also want to think about passing the zero force/energy to these functions. At the minute there is a clunky setup where for forces we define the units in the struct and then strip the coordinates to get a zero vector. This means more setup and likely has performance implications.
from molly.jl.
Related Issues (20)
- Links in Docs are broken HOT 2
- Boltzmann Constant in LAMMPS 'real' units does not work HOT 5
- AtomsBase not properly implemented HOT 4
- GPU error with custom pairwise interactions HOT 5
- Inconsistent Units Crash Simulation HOT 5
- apply_coupling! method is not found for custom coupling function HOT 2
- Example for new MC membrane barostat HOT 12
- How to cite? HOT 6
- [feature request] velocity-dependent forces HOT 2
- Should we have functions to add and remove atoms to/from a `System`? HOT 3
- open an sdf file HOT 10
- Molly.jl: AD with Enyzme returns 0 gradient HOT 1
- Units in Nose Hoover temperature HOT 1
- GPU error with the example HOT 4
- return type for force for pairwise potential in CUDA HOT 1
- sys.coords does not work as Vector{Vector} HOT 2
- EAM implementation and dimension error HOT 5
- Boundary Conditions HOT 1
- UndefVarError: `σ6` not defined ERROR when simulating the NPT ensemble HOT 1
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 molly.jl.