diff --git a/src/example/cxx_example.C b/src/example/cxx_example.C index c91f4f20..b7589e8f 100644 --- a/src/example/cxx_example.C +++ b/src/example/cxx_example.C @@ -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.