Commit d5827249 authored by Illia Kolesnik's avatar Illia Kolesnik
Browse files

Removed output files

parent 86606e04
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ const string INDECIES_FILE = "indecies.txt";
const string DISTRIBUTION_FILE = "distribution.txt";

constexpr Index TEST_ITERATIONS = 20;
constexpr Index BENCHMARK_VERBOSE = 1;
constexpr Index BENCHMARK_VERBOSE = 0;

using Device = TNL::Devices::Host;
using LinearOcreee = TNL::Meshes::LinearOctree::AdaptiveGrid< Real, TNL::Devices::Host, Index >;
@@ -138,7 +138,7 @@ refineGrid( AbsOctree& grid, const vector< TNL::Containers::StaticArray< 3, Real
Results
benchmarkRefinement( const vector< TNL::Containers::StaticArray< 3, Real > >& coords )
{
   ofstream output( "refine.txt" );
   ofstream output( "/dev/null" );

   Benchmark b( output, TEST_ITERATIONS, BENCHMARK_VERBOSE );
   auto linear = [ & ]()
@@ -161,7 +161,7 @@ benchmarkRefinement( const vector< TNL::Containers::StaticArray< 3, Real > >& co
Results
benchmarkSearching( const AbsOctree& linearOctree, const AbsOctree& classicOctree, const vector< Index >& indecies )
{
   ofstream output( "searching.txt" );
   ofstream output( "/dev/null" );

   Benchmark b( output, TEST_ITERATIONS, BENCHMARK_VERBOSE );
   auto linear = [ & ]()
@@ -196,7 +196,7 @@ benchmarkSearchingNotRefined( const AbsOctree& linearOctree,
   for( const auto& coord : coords )
      indecies.push_back( *linearOctree.getCellByCoordinates( coord ) );

   ofstream output( "searching_noref.txt" );
   ofstream output( "/dev/null" );

   Benchmark b( output, TEST_ITERATIONS, BENCHMARK_VERBOSE );
   auto linear = [ & ]()
@@ -225,7 +225,7 @@ benchmarkSearchingNotRefined( const AbsOctree& linearOctree,
Results
benchmarkSearchingAll( const AbsOctree& linearOctree, const AbsOctree& classicOctre, const vector< Index >& indecies )
{
   ofstream output( "searching_all.txt" );
   ofstream output( "/dev/null" );

   Benchmark b( output, TEST_ITERATIONS, BENCHMARK_VERBOSE );
   auto linear = [ & ]()
@@ -260,7 +260,7 @@ benchmarkSearchingAllNotRefined( const AbsOctree& linearOctree,
   for( const auto& coord : coords )
      indecies.push_back( *linearOctree.getCellByCoordinates( coord ) );

   ofstream output( "searching_all_noref.txt" );
   ofstream output( "/dev/null" );

   Benchmark b( output, TEST_ITERATIONS, BENCHMARK_VERBOSE );
   auto linear = [ & ]()