Skip to content

Commit

Permalink
Debugging and test a potential fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
oehmke committed Oct 25, 2024
1 parent c5b94cf commit c413a87
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Infrastructure/Mesh/src/ESMCI_MeshDual.C
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ void MeshDual(Mesh *src_mesh, Mesh **_dual_mesh) {
elemMaskII=elemMaskII_wsplit;
}
#endif
}
}


// Build elements
Expand Down Expand Up @@ -910,8 +910,11 @@ void MeshDual(Mesh *src_mesh, Mesh **_dual_mesh) {

dual_mesh->RegisterField("elem_coordinates",
MEFamilyDG0::instance(), MeshObj::ELEMENT, ctxt, sdim, true);

if (elemOrigCoords) {
// if (elemOrigCoords) {
if (src_node_orig_coords) {
char buff[1024];
sprintf(buff,"BOB: MeshDual: adding elem_orig_coordinates");
ESMC_LogDefault.Write(buff, ESMC_LOGMSG_INFO);
dual_mesh->RegisterField("elem_orig_coordinates",
MEFamilyDG0::instance(), MeshObj::ELEMENT, ctxt, orig_sdim, true);

Expand Down

0 comments on commit c413a87

Please sign in to comment.