Comments (1)
I did some experiments and benchmarks that changes size_t
to uint16_t
in NeighborList
and ExclusionList
and found that it almost has no effect.
In the NeighborList
, each neighbor has not only its index but also the parameter for the pair, such as sigma_i + sigma_j / 2
in Lennard-Jones potential. Because of the alignment, changing size_t
to uint16_t
does not reduce the size of each neighbor type at all. It may affect when we choose float
instead of double
, but I think the effect is small compared to the complexity and the efforts to maintain it.
In the ExclusionList
case, it may affect because it contains indices directly, but the whole process does not take so much time.
It possibly accelerates simulations if there are many particles. I will keep the branch for the future. But currently, I will close this issue once.
from mjolnir.
Related Issues (20)
- enable to set positions of data points in FlexibleLocalAngle HOT 1
- remove deprecated features HOT 1
- simplify input for 3SPN2 HOT 1
- enable to generate initial velocities HOT 1
- energy calculation mode HOT 1
- support PDNS interaction HOT 1
- support PWMcos interaction
- documents in English HOT 1
- Multiple Basin Forcefield HOT 2
- update toml11 HOT 1
- try mdbook or docsify for docs HOT 2
- cmake option to skip tests
- pass string to Interactions.dump_energy() HOT 1
- Change MultipleBasin input format
- update sample input files HOT 1
- Add combination-rule class and simplify implementation in global potential HOT 2
- Consider moving to C++17
- DCD Header HOT 2
- merge calc_force and calc_energy via boolean template parameter HOT 1
- add `calc_force_and_virial` 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 mjolnir.