Skip to content

Commit e7e3102

Browse files
committed
Add debugging print statements for each edge
1 parent 4a57e67 commit e7e3102

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/mesh/exodusII_io_helper.C

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,21 @@ void ExodusII_IO_Helper::read_edge_blocks(MeshBase & mesh)
15751575
bi.add_edge(elem_edge_pair.first,
15761576
elem_edge_pair.second,
15771577
edge_block_id);
1578+
1579+
// Debugging
1580+
libMesh::out << "Added (Elem=" << elem_edge_pair.first
1581+
<< ", Edge=" << elem_edge_pair.second
1582+
<< ", Id=" << edge_block_id
1583+
<< ") to BoundaryInfo." << std::endl;
1584+
}
1585+
// Debugging
1586+
else
1587+
{
1588+
// We didn't find a match for some reason
1589+
libMesh::out << "Skipped adding (Elem=" << elem_edge_pair.first
1590+
<< ", Edge=" << elem_edge_pair.second
1591+
<< ", Id=" << edge_block_id
1592+
<< ") to BoundaryInfo, orientation check failed." << std::endl;
15781593
}
15791594
} // end loop over elem_edge_pairs
15801595
} // end loop over connectivity array

0 commit comments

Comments
 (0)