From a6f6978937852b821ae1dd2fff28fe298dd807b5 Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Tue, 21 Jan 2025 15:10:42 -0700 Subject: [PATCH] format --- src/TpetraLinearSystem.C | 5 ++++- src/TpetraSegregatedLinearSystem.C | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/TpetraLinearSystem.C b/src/TpetraLinearSystem.C index bfa43ba56..62efed9ff 100644 --- a/src/TpetraLinearSystem.C +++ b/src/TpetraLinearSystem.C @@ -1979,7 +1979,10 @@ TpetraLinearSystem::checkForZeroRow(bool useOwned, bool doThrow, bool doPrint) stk::mesh::EntityId nid = (gid - 1) / numDof_ + 1; stk::mesh::Entity node = bulkData.get_entity(stk::topology::NODE_RANK, nid); - const stk::mesh::EntityId naluGlobalId = bulkData.is_valid(node) ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) : -1; + const stk::mesh::EntityId naluGlobalId = + bulkData.is_valid(node) + ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) + : -1; int idof = (gid - 1) % numDof_; GlobalOrdinal GID_check = GID_(nid, numDof_, idof); diff --git a/src/TpetraSegregatedLinearSystem.C b/src/TpetraSegregatedLinearSystem.C index f41ad1ef8..0e3bf7b93 100644 --- a/src/TpetraSegregatedLinearSystem.C +++ b/src/TpetraSegregatedLinearSystem.C @@ -1763,7 +1763,10 @@ TpetraSegregatedLinearSystem::checkForZeroRow( stk::mesh::EntityId nid = static_cast(gid); stk::mesh::Entity node = bulkData.get_entity(stk::topology::NODE_RANK, nid); - const stk::mesh::EntityId naluGlobalId = bulkData.is_valid(node) ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) : -1; + const stk::mesh::EntityId naluGlobalId = + bulkData.is_valid(node) + ? *stk::mesh::field_data(*realm_.naluGlobalId_, node) + : -1; if (doPrint) {