diff --git a/src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h b/src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h index d4587e75f0f851f555a71cd17649e8ec69e70f76..6a29ec9380f0d5b04d31f42b431ffb93d66bdd68 100644 --- a/src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h +++ b/src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h @@ -52,13 +52,14 @@ HeatEquationBenchmarkProblem< Mesh, BoundaryCondition, RightHandSide, Differenti getPrologHeader() const { if( this->cudaKernelType == "pure-c" ) - return String( "Heat Equation Benchmark PURE-C test" ); + return "Heat Equation Benchmark PURE-C test"; if( this->cudaKernelType == "templated" ) - return String( "Heat Equation Benchmark TEMPLATED test" ); + return "Heat Equation Benchmark TEMPLATED test"; if( this->cudaKernelType == "templated-compact" ) - return String( "Heat Equation Benchmark TEMPLATED COMPACT test" ); + return "Heat Equation Benchmark TEMPLATED COMPACT test"; if( this->cudaKernelType == "tunning" ) - return String( "Heat Equation Benchmark TUNNIG test" ); + return "Heat Equation Benchmark TUNNIG test"; + return ""; } template< typename Mesh, @@ -706,11 +707,12 @@ applyBoundaryConditions( const RealType& time, #endif userData.boundaryConditions = &this->boundaryConditionPointer.template getData< Devices::Cuda >(); Meshes::Traverser< MeshType, Cell > meshTraverser; + // */ /*meshTraverser.template processBoundaryEntities< UserData, BoundaryEntitiesProcessor > ( mesh, userData );*/ - // */ + /*_boundaryConditionsKernel< BoundaryEntitiesProcessor, UserData, MeshType, RealType, IndexType > <<< cudaGridSize, cudaBlockSize >>> ( &mesh.template getData< Devices::Cuda >(), diff --git a/src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h b/src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h index dd4f33bc2225fe51796654b2b473b62fe4ea4e06..b2fef66caada72c2c098a1c937635b0ccae1a108 100644 --- a/src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h +++ b/src/Benchmarks/HeatEquation/HeatEquationBenchmarkRhs.h @@ -20,8 +20,8 @@ template< typename Mesh, typename Real >class HeatEquationBenchmarkRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { - typedef typename MeshEntity::MeshType::PointType PointType; - PointType v = entity.getCenter(); + //typedef typename MeshEntity::MeshType::PointType PointType; + //PointType v = entity.getCenter(); return 0.0; } }; diff --git a/src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h b/src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h index a617dcc6bf1f1ba9085aec8d81e3a1a90d20f75e..1906508db4360794ae48ffd218cd07d62670b349 100644 --- a/src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h +++ b/src/Benchmarks/HeatEquation/tnl-benchmark-heat-equation.h @@ -100,6 +100,7 @@ class HeatEquationBenchmarkSetter typedef HeatEquationBenchmarkProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator, CommunicatorType > Problem; SolverStarter solverStarter; return solverStarter.template run< Problem >( parameters );*/ + return false; } };