Loading src/TNL/Meshes/DistributedMeshes/SubdomainOverlapsGetter.hpp +16 −4 Original line number Diff line number Diff line Loading @@ -32,6 +32,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, IndexType subdomainOverlapSize, const SubdomainOverlapsType& periodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( ! MPI::isDistributed() ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -70,6 +73,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -101,6 +107,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -143,6 +152,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading
src/TNL/Meshes/DistributedMeshes/SubdomainOverlapsGetter.hpp +16 −4 Original line number Diff line number Diff line Loading @@ -32,6 +32,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, IndexType subdomainOverlapSize, const SubdomainOverlapsType& periodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( ! MPI::isDistributed() ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -70,6 +73,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -101,6 +107,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading Loading @@ -143,6 +152,9 @@ getOverlaps( const DistributedMeshType* distributedMesh, const SubdomainOverlapsType& lowerPeriodicBoundariesOverlapSize, const SubdomainOverlapsType& upperPeriodicBoundariesOverlapSize ) { // initialize to 0 lower = upper = 0; if( MPI::GetSize() == 1 ) return; TNL_ASSERT_TRUE( distributedMesh != NULL, "" ); Loading