Commit 5984c90e authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Shut up compiler warnings due to heat equation

parent 7cbaaba5
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -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 >(),
+2 −2
Original line number Diff line number Diff line
@@ -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;
      }
};
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ class HeatEquationBenchmarkSetter
          typedef HeatEquationBenchmarkProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator, CommunicatorType > Problem;
          SolverStarter solverStarter;
          return solverStarter.template run< Problem >( parameters );*/
          return false;
      }

};