Option 2: Call yt_add_grid()num_grids_local times ->yt_inline
[x] Input called python function name in every round of inline-analyze
[x] User should input different fig_basename, otherwise they will be over-written. Solution: Append number of calls to inline script at the end of the fig_basename.
[x] Do inline-analysis other than yt_inline_ProjectionPlot(). Make it can perform input parameter to function like yt_inline_ProjectionPlot(a,b,c) ...etc.
[ ] Support yt_add_user_parameter_* can add type other than scalar or a 3-dim vector.
45
[x] Check the python reference counting
Polishment and Optimization
[ ] Set MPI root rank, for now, it's fixed to rank0.
45
[x] Error message format
[x] Names for input parameter, some might be a little bit confusing
Tasks
_validate_parent_children_relasionship
inyt/frontends/gamer/data_structures.py
but make it more generalyt_check_grid
0
~num_grids - 1
0
.-1
.libyt.param_user
dictionary toclass libytDataset
.dimensionality < 3
45
int
, solibyt
abort whenlong num_grids
exceed size ofint
periodic[3]
andgrid_left_edge[3]
andgrid_right_edge[3]
( #5 )45
yt_get_gridsPtr
andyt_add_grids
. Changeyt_add_grids
toyt_commit_grids
yt_get_gridsPtr
->yt_commit_grids()
->yt_inline
->yt_free_grids()
yt_add_grid()
num_grids_local
times ->yt_inline
yt_inline_ProjectionPlot()
. Make it can perform input parameter to function likeyt_inline_ProjectionPlot(a,b,c)
...etc.yt_add_user_parameter_*
can add type other than scalar or a 3-dim vector.45
Polishment and Optimization
45
data_dim
todata_dimensions
.libyt
API