Skip to content

Commit

Permalink
Init elem_frac to 0.0 in cell version of GToM.
Browse files Browse the repository at this point in the history
  • Loading branch information
oehmke committed Oct 28, 2024
1 parent bfc47da commit 5354c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Infrastructure/Mesh/src/ESMCI_Mesh_GToM_Glue.C
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ Par::Out() << "\tnot in mesh!!" << std::endl;
// Init fracs
if (efields[GTOM_EFIELD_FRAC]) {
double *d=efields[GTOM_EFIELD_FRAC]->data(elem);
*d=1.0;
*d=0.0;
}

if (efields[GTOM_EFIELD_FRAC2]) {
Expand Down

0 comments on commit 5354c88

Please sign in to comment.