Commit d1678765 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Deguging GMRES solver.

parent eacaeaf6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -278,8 +278,9 @@ assemblyLinearSystem( const RealType& time,
      this->uPointer,
      matrixPointer,
      bPointer );
   /*matrix.print( cout );
   cout << endl << b << endl;
   //matrixPointer->print( std::cout );
   //getchar();
   /*cout << endl << b << endl;
   cout << endl << u << endl;
   abort();*/
   /*cout << "Matrix multiplication test ..." << std::endl;
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
#include <cstring>


//#define TNL_DEBUG_SHARED_POINTERS
#define TNL_DEBUG_SHARED_POINTERS

#ifdef TNL_DEBUG_SHARED_POINTERS
   #include <typeinfo>
+0 −1
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@ setup( const Config::ParameterContainer& parameters,
   /****
    * Setup the problem
    */
  
   if( ! problem->setup( this->meshPointer, parameters, prefix ) )
   {
      std::cerr << "The problem initiation failed!" << std::endl;
+0 −6
Original line number Diff line number Diff line
@@ -79,12 +79,6 @@ bool SolverStarter< ConfigTag > :: run( const Config::ParameterContainer& parame
       ! Devices::Cuda::setup( parameters ) )
      return false;
   Problem problem;
   /*if( ! problem.setup( parameters ) )
   {
      std::cerr << "The problem initiation failed!" << std::endl;
      return false;
   }*/

   return tnlUserDefinedTimeDiscretisationSetter< Problem, ConfigTag >::run( problem, parameters );
}

src/TNL/core/CMakeLists.txt

deleted100755 → 0
+0 −40
Original line number Diff line number Diff line
set (headers 
             tnlConstants.h
             tnlIndexedSet.h
             mfilename.h 
             mfuncs.h 
             mpi-supp.h 
             param-types.h )

SET( CURRENT_DIR ${CMAKE_SOURCE_DIR}/src/TNL/core )
set( common_SOURCES
     ${CURRENT_DIR}/mfilename.cpp 
     ${CURRENT_DIR}/mpi-supp.cpp )

IF( BUILD_CUDA )
   set( tnl_core_CUDA__SOURCES
        ${tnl_core_arrays_CUDA__SOURCES}
        ${tnl_core_containers_CUDA__SOURCES}
        ${tnl_core_cuda_CUDA__SOURCES}
        ${tnl_core_vectors_CUDA__SOURCES}
        ${tnl_core_images_CUDA__SOURCES}
        ${common_SOURCES} 
        PARENT_SCOPE )
ENDIF()    

set( tnl_core_SOURCES     
     ${tnl_core_arrays_SOURCES}
     ${tnl_core_containers_SOURCES}
     ${tnl_core_cuda_SOURCES}
     ${tnl_core_vectors_SOURCES}
     ${tnl_core_images_SOURCES}
     ${common_SOURCES}
     PARENT_SCOPE )
    

#SET( libtnlcoreincludedir ${TNL_INCLUDE_DIR}/core )
#SET( libtnlcoreinclude_HEADERS ${headers} )
INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/core )