Skip to content

Commit

Permalink
fix: fix issue #2615
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Dec 5, 2024
1 parent b56762c commit 7485031
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/coreComponents/mesh/mpiCommunications/NeighborCommunicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ int NeighborCommunicator::packCommSizeForSync( FieldIdentifiers const & fieldsTo
} );
break;
}
default:
{
GEOS_ERROR( "Invalid field location" );
}
}
}
this->m_sendBufferSize[commID] = bufferSize;
Expand Down Expand Up @@ -596,6 +600,10 @@ void NeighborCommunicator::packCommBufferForSync( FieldIdentifiers const & field
} );
break;
}
default:
{
GEOS_ERROR( "Invalid field location" );
}
}
}

Expand Down Expand Up @@ -655,6 +663,10 @@ void NeighborCommunicator::unpackBufferForSync( FieldIdentifiers const & fieldsT
} );
break;
}
default:
{
GEOS_ERROR( "Invalid field location" );
}
}
}
}
Expand Down

0 comments on commit 7485031

Please sign in to comment.