ludwigboess / gadgetio.jl Goto Github PK
View Code? Open in Web Editor NEWBinary IO for the cosmological Tree-SPH code Gadget
License: MIT License
Binary IO for the cosmological Tree-SPH code Gadget
License: MIT License
We need to check if we can properly re-implement thread-safe parallel IO and if it brings consistent performance improvements.
As per Anna's request we should re-implement IO for Format 1.
Ideally even with a simple function to re-write snapshots from Format 1 to Format 2.
When any mass block is present, GadgetIO will return spurious masses for dark matter due to the check_block_positions returning false.
Suspected line https://github.com/LudwigBoess/GadgetIO.jl/blame/bf51401f73965c4e31d5991a619fbc95fa2d6a97/src/read_snapshot/read_format_2.jl#L142
It would be useful to be able to directly read a Gadget snapshot into a DistributedArray
.
However it needs to be checked how the indexing behaves for a Dict
of DistributedArray
s.
Add SnoopPrecompile functions to pre-compile some typical function calls and speed up first time a file is read.
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
We should refactor reading of parttype=-1
.
Currently we need to handle a lot of exceptions which makes the code hard to maintain.
A simpler approach could be to write a seperate function at the beginning of read_block
that handles read-in of all particles by first checking which particles are present in the simulation and then looping over the individual particles.
At the end we can then stack the Array
s and return them as one large Array
, so the user wouldn't feel the difference.
Add IO for log files to simplify analysis and plotting.
Done:
balance.txt
cpu.txt
timings.txt
timebins.txt
We should add support for Format 3 / HDF5.
This would also allow for some interoperability with Arepo.
Currently when reading all particles with read_block and parttype=-1, individual arrays for each particle type are first created and then copied into the final array. One could improve the performance by directly reading in the full block at once, as the values are saved consecutively.
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.