Loading TODO.txt +13 −0 Original line number Diff line number Diff line TODO: implementovat tridu tnlFileName pro generovani jmen souboru TODO: implementovat tridu tnlParabolicSolver pro odvozovani resicu k casove promennym uloham TODO: Nahradit mGrid2D, mGrid3D za mGrid obecne dimenze TODO: zavets iteratory pres uzle site misto for cyklu TODO: implementovat Mersona v CUDA TODO: metoda Test do tnlObject TODO: trida tnlTester pro rizeni testu No newline at end of file src/debug/tnlDebug.h +11 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ tnlDebug.h - description ------------------- begin : 2004/09/05 copyright : (C) 2004 by Tom Oberhuber copyright : (C) 2004 by Tom� Oberhuber email : oberhuber@seznam.cz ***************************************************************************/ Loading Loading @@ -64,6 +64,16 @@ extern int __tnldbg_mpi_i_proc; << __LINE__ << " | " << #expr << " -> " \ << expr << endl << flush; #define dbgCondExpr( condition, expr ) \ if( _tnldbg_debug_func( _tnldbg_debug_class_name, \ _tnldbg_debug_func_name ) ) \ if( condition ) \ cout << "# MPI proc. " << __tnldbg_mpi_i_proc << " | " \ << _tnldbg_debug_class_name << " :: " \ << _tnldbg_debug_func_name << " @ " \ << __LINE__ << " | " \ << #expr << " -> " << expr << flush << endl; #else // now non-MPI definitions #define dbgCout( args ) \ Loading src/dist/Makefile.am +0 −1 Original line number Diff line number Diff line ## Process this file with automake to produce Makefile.in headers = \ debug.h \ direct.h \ fmm2d.h \ fsm2d.h \ Loading src/dist/Makefile.in +9 −10 Original line number Diff line number Diff line Loading @@ -69,9 +69,9 @@ libtnldist_dbg_0_1_la_LIBADD = am__libtnldist_dbg_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_3 = libtnldist_dbg_0_1_la-direct.lo \ libtnldist_dbg_0_1_la-fmm2d.lo libtnldist_dbg_0_1_la-fsm2d.lo \ libtnldist_dbg_0_1_la-ftm2d.lo \ Loading @@ -94,9 +94,9 @@ libtnldist_mpi_0_1_la_LIBADD = am__libtnldist_mpi_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_4 = libtnldist_mpi_0_1_la-direct.lo \ libtnldist_mpi_0_1_la-fmm2d.lo libtnldist_mpi_0_1_la-fsm2d.lo \ libtnldist_mpi_0_1_la-ftm2d.lo \ Loading @@ -119,9 +119,9 @@ libtnldist_mpi_dbg_0_1_la_LIBADD = am__libtnldist_mpi_dbg_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_5 = libtnldist_mpi_dbg_0_1_la-direct.lo \ libtnldist_mpi_dbg_0_1_la-fmm2d.lo \ libtnldist_mpi_dbg_0_1_la-fsm2d.lo \ Loading Loading @@ -322,7 +322,6 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ headers = \ debug.h \ direct.h \ fmm2d.h \ fsm2d.h \ Loading src/dist/debug.hdeleted 100644 → 0 +0 −40 Original line number Diff line number Diff line /*************************************************************************** debug.h - description ------------------- begin : 2005/07/02 copyright : (C) 2005 by Tom� Oberhuber email : oberhuber@seznam.cz ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef debugH #define debugH #include <config.h> #ifdef HAVE_POUND_H #include <pound.h> #else #define dbgInit( file_name ) #define dbgFunctionName( _class, _func ) #define dbgCout( args ) #define DBG_PRINTF( expr ) #define dbgExpr( expr ) #define DBG_CALL( expr ) #define DBG_WAIT( ) #define DBG_COND_COUT( condition, args ) #define DBG_COND_PRINTF( condition, expr ) #define DBG_COND_EXPR( condition, expr ) #define DBG_COND_CALL( condition, expr ) #define DBG_COND_WAIT( condition ) #endif #endif Loading
TODO.txt +13 −0 Original line number Diff line number Diff line TODO: implementovat tridu tnlFileName pro generovani jmen souboru TODO: implementovat tridu tnlParabolicSolver pro odvozovani resicu k casove promennym uloham TODO: Nahradit mGrid2D, mGrid3D za mGrid obecne dimenze TODO: zavets iteratory pres uzle site misto for cyklu TODO: implementovat Mersona v CUDA TODO: metoda Test do tnlObject TODO: trida tnlTester pro rizeni testu No newline at end of file
src/debug/tnlDebug.h +11 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ tnlDebug.h - description ------------------- begin : 2004/09/05 copyright : (C) 2004 by Tom Oberhuber copyright : (C) 2004 by Tom� Oberhuber email : oberhuber@seznam.cz ***************************************************************************/ Loading Loading @@ -64,6 +64,16 @@ extern int __tnldbg_mpi_i_proc; << __LINE__ << " | " << #expr << " -> " \ << expr << endl << flush; #define dbgCondExpr( condition, expr ) \ if( _tnldbg_debug_func( _tnldbg_debug_class_name, \ _tnldbg_debug_func_name ) ) \ if( condition ) \ cout << "# MPI proc. " << __tnldbg_mpi_i_proc << " | " \ << _tnldbg_debug_class_name << " :: " \ << _tnldbg_debug_func_name << " @ " \ << __LINE__ << " | " \ << #expr << " -> " << expr << flush << endl; #else // now non-MPI definitions #define dbgCout( args ) \ Loading
src/dist/Makefile.am +0 −1 Original line number Diff line number Diff line ## Process this file with automake to produce Makefile.in headers = \ debug.h \ direct.h \ fmm2d.h \ fsm2d.h \ Loading
src/dist/Makefile.in +9 −10 Original line number Diff line number Diff line Loading @@ -69,9 +69,9 @@ libtnldist_dbg_0_1_la_LIBADD = am__libtnldist_dbg_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_3 = libtnldist_dbg_0_1_la-direct.lo \ libtnldist_dbg_0_1_la-fmm2d.lo libtnldist_dbg_0_1_la-fsm2d.lo \ libtnldist_dbg_0_1_la-ftm2d.lo \ Loading @@ -94,9 +94,9 @@ libtnldist_mpi_0_1_la_LIBADD = am__libtnldist_mpi_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_4 = libtnldist_mpi_0_1_la-direct.lo \ libtnldist_mpi_0_1_la-fmm2d.lo libtnldist_mpi_0_1_la-fsm2d.lo \ libtnldist_mpi_0_1_la-ftm2d.lo \ Loading @@ -119,9 +119,9 @@ libtnldist_mpi_dbg_0_1_la_LIBADD = am__libtnldist_mpi_dbg_0_1_la_SOURCES_DIST = direct.cpp fmm2d.cpp \ fsm2d.cpp ftm2d.cpp init_band.cpp iter1d.cpp iter2d.cpp \ iter3d.cpp param-crv-dst.cpp msdfSussmanFatemi.cpp \ msdfIterBase.cpp debug.h direct.h fmm2d.h fsm2d.h ftm2d.h \ init_band.h iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h \ param-crv-dst.h msdfSussmanFatemi.h msdfIterBase.h msdfIterBase.cpp direct.h fmm2d.h fsm2d.h ftm2d.h init_band.h \ iter1d.h iter2d.h iter3d.h mdist.h mDistAux.h param-crv-dst.h \ msdfSussmanFatemi.h msdfIterBase.h debug.h am__objects_5 = libtnldist_mpi_dbg_0_1_la-direct.lo \ libtnldist_mpi_dbg_0_1_la-fmm2d.lo \ libtnldist_mpi_dbg_0_1_la-fsm2d.lo \ Loading Loading @@ -322,7 +322,6 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ headers = \ debug.h \ direct.h \ fmm2d.h \ fsm2d.h \ Loading
src/dist/debug.hdeleted 100644 → 0 +0 −40 Original line number Diff line number Diff line /*************************************************************************** debug.h - description ------------------- begin : 2005/07/02 copyright : (C) 2005 by Tom� Oberhuber email : oberhuber@seznam.cz ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef debugH #define debugH #include <config.h> #ifdef HAVE_POUND_H #include <pound.h> #else #define dbgInit( file_name ) #define dbgFunctionName( _class, _func ) #define dbgCout( args ) #define DBG_PRINTF( expr ) #define dbgExpr( expr ) #define DBG_CALL( expr ) #define DBG_WAIT( ) #define DBG_COND_COUT( condition, args ) #define DBG_COND_PRINTF( condition, expr ) #define DBG_COND_EXPR( condition, expr ) #define DBG_COND_CALL( condition, expr ) #define DBG_COND_WAIT( condition ) #endif #endif