Skip to content

Commit

Permalink
add forgotten call to gr_initialize_field_data into cxx_example.C
Browse files Browse the repository at this point in the history
  • Loading branch information
mabruzzo committed Aug 13, 2024
1 parent a65338e commit 1ecd272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/example/cxx_example.C
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ int main(int argc, char *argv[])

// Create struct for storing grackle field data
grackle_field_data my_fields;
gr_initialize_field_data(&my_fields);

// Set grid dimension and size.
// grid_start and grid_end are used to ignore ghost zones.
Expand Down

0 comments on commit 1ecd272

Please sign in to comment.