Skip to content

Commit

Permalink
Add deserialize debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
oehmke committed Oct 25, 2024
1 parent f2ba5d0 commit 8f14304
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Infrastructure/Mesh/src/ESMCI_Mesh_Glue.C
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,12 @@ void ESMCI_meshdeserialize(Mesh **meshpp,

// printf(" is_split=%d mnsi=%d\n",meshp->is_split,meshp->max_non_split_id);


for (int i=0; i<ESMF_RECONCILE_MESH_NUM_FIELDS; i++) {
char buff[1024];
sprintf(buff,"BOB: deserialize field %d present=%d",i,fields_present[i]);
ESMC_LogDefault.Write(buff, ESMC_LOGMSG_INFO);
}

// Register fields
Context ctxt; ctxt.flip(); // Needed below for element registration
if (fields_present[0]) meshp->RegisterNodalField(*meshp, "coordinates", spatial_dim);
Expand Down

0 comments on commit 8f14304

Please sign in to comment.