Open Change72 opened 9 months ago
@guj do you want to comment first? :)
Sorry I missed this one.
For 1, yes, the number of ADIOS blocks for field related variables equals the number of sub grids. Looks like you know how to adjust number of sub grids via blocking factor/max_grid_size. I am aware of any way to predict number of blocks for particles. @ax3l can comment.
The keys you mentioned are names of ADIOS variables. Looks like you are using openPMD's group based outputs, so the time steps are embedded in the names. It has no relation with number of blocks.
For 2, Sorry I am not sure I understand the question. Maybe @ax3l can help.
@ax3l any idea? :)
I want to increase the ADIOS2 block number. I notice the
field
number is matched withgrids
number. For example,key = /data/600/fields/E/x
. However, for particle blockNum, it seems a magic number:key = /data/600/particles/electrons/momentum/x
. I didn't find any parameter to control it, and I guess there should be one in the openPMD layer.electrons.injection_style = "NRandomPerCell"
. The first two lines satisfy the exception, but the third and fourth lines are quite weird.