Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
I think I accidentally removed index_offset in the example.
  • Loading branch information
cindytsai committed May 31, 2024
1 parent 848eeac commit a8c45c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/amr-example/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ int main(int argc, char* argv[]) {
param_yt.current_time = time; // simulation time in code units
param_yt.dimensionality = 3; // dimensionality, support 3 only
param_yt.refine_by = REFINE_BY; // refinement factor between a grid and its subgrid
param_yt.index_offset = 1; // grid id starts at 1. (default is 0-indexed)
param_yt.num_grids = num_grids; // number of grids
param_yt.num_grids_local = num_grids_local; // number of local grids
param_yt.num_fields = num_fields + 1; // number of fields, addition one for derived field demo
Expand Down

0 comments on commit a8c45c7

Please sign in to comment.