-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a more general way to read gadget2 file blocks #9
Comments
Could you provide a test file? I've got an unrefined idea to read non-standard blocks if not Lines 312 to 347 in d219923
However, these non-standard data would be orgnized outside the particle array. It also need users to define the data type. So I suggest that, user should provide two things, which could be packed in a function read_CHEM!(...) # constrain data type here
...
end
arg = Dict("CHEM" => read_CHEM!, ...) # provide to read_gadget2_particle_format2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a non standard block is present into the file, read it and put it into the relative StructArray with the correct
Collection
label.For example blocks relative to the chemical composition of the gas particles...
The text was updated successfully, but these errors were encountered: