Skip to content
Snippets Groups Projects

Periodic BC in distributed grid

Merged Jakub Klinkovský requested to merge periodic-bc into develop
All threads resolved!
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
@@ -12,6 +12,8 @@
#pragma once
#include <ostream>
#include <TNL/Assert.h>
#include <TNL/String.h>
#include <TNL/param-types.h>
@@ -119,5 +121,12 @@ protected:
Index end = 0;
};
// due to formatting in TNL::Assert
template< typename Index >
std::ostream& operator<<( std::ostream& str, const Subrange< Index >& range )
{
return str << Subrange< Index >::getType() << "( " << range.getBegin() << ", " << range.getEnd() << " )";
}
} // namespace DistributedContainers
} // namespace TNL
Loading