From 1ecd272838e5ddb0b427123005503db20e245981 Mon Sep 17 00:00:00 2001 From: Matthew Abruzzo Date: Tue, 13 Aug 2024 08:59:25 -0400 Subject: [PATCH] add forgotten call to gr_initialize_field_data into cxx_example.C --- src/example/cxx_example.C | 1 + 1 file changed, 1 insertion(+) 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.