Commit 201de642 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed 'using namespace std;' from DistributedMeshes/Directions.h

parent 8f0daede
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@
#include <TNL/Assert.h>
#include <TNL/Containers/StaticVector.h>

using namespace std;

namespace TNL {
namespace Meshes { 
namespace DistributedMeshes {
+3 −1
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@

#pragma once

#include <iostream>

#include <TNL/Meshes/Grid.h>
#include <TNL/Logger.h>
#include <TNL/Meshes/DistributedMeshes/Directions.h>
@@ -136,7 +138,7 @@ class DistributedMesh< Grid< Dimension, Real, Device, Index > >

      void setupNeighbors();
      
      void print( ostream& str ) const;
      void print( std::ostream& str ) const;

      GridType globalGrid;
      PointType localOrigin;
+1 −3
Original line number Diff line number Diff line
@@ -13,8 +13,6 @@
#include <cstdlib>
#include <TNL/Communicators/MpiCommunicator.h>

#include <iostream>

#include "DistributedGrid.h"

namespace TNL {
@@ -538,7 +536,7 @@ writeProlog( Logger& logger )
template< int Dimension, typename Real, typename Device, typename Index >    
void
DistributedMesh< Grid< Dimension, Real, Device, Index > >::
print( ostream& str ) const
print( std::ostream& str ) const
{
   using Communicator = Communicators::MpiCommunicator;
   for( int j = 0; j < Communicator::GetSize( Communicator::AllGroup ); j++ )