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

Merge branch 'hamilton-jacobi' into transport-equation

parents 352c9274 673c333d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ if( WITH_CUDA STREQUAL "yes" )
    endif( CUDA_FOUND )
endif( WITH_CUDA STREQUAL "yes" )


####
# Check for OpenMP
#
+5 −3
Original line number Diff line number Diff line
@@ -16,9 +16,6 @@ TODO:


TODO:
 - zrejme bude potreba udrzovat ke kazdemu objektu jeho obraz na GPU/MIC
 - to by zarizovala metoda syncToDevice() napr. kazdy objekt by mel promennou modified, ktera by rikala, jestli se zmenil a zda je nutne ho
   prekopirovavat

TODO:
 - zavest namespaces
@@ -31,6 +28,11 @@ TODO: CUDA unified memory
se s nimi pracovat postaru
 - bylo by dobre to obalit unique poinetry, aby se nemusela delat dealokace rucne

TODO: shared pointery
 - mohli bysme pomoci nich odstranit Shared objekty
 - asi by bylo lepsi datcounter z shared pointeru primo do array a tento counter by se alokoval az po porvnim sdileni dat
 - diky tomu by se array mohlo vytvaret i na gpu bez nutnosti dynamicke alokace, jen by nebylo mozne delat bind (nebo nejaky zjednoduseny)

TODO: Mesh
 * vsechny traits zkusit presunout do jednotneho MeshTraits, tj. temer MeshConfigTraits ale pojmenovat jako MeshTraits
 * omezit tnlDimesnionsTag - asi to ale nepujde
+9 −0
Original line number Diff line number Diff line
add_subdirectory( heat-equation )
add_subdirectory( navier-stokes )

#add_subdirectory( mean-curvature-flow )
#add_subdirectory( hamilton-jacobi )
#add_subdirectory( hamilton-jacobi-parallel )
#add_subdirectory( fast-sweeping )
#add_subdirectory( hamilton-jacobi-parallel-map )
#add_subdirectory( fast-sweeping-map )
#add_subdirectory( narrow-band )
add_subdirectory( advection )
add_subdirectory( inviscid-flow )
#add_subdirectory( mean-curvature-flow )
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ class heatEquationConfig
         config.addEntry< String >( "boundary-conditions-file", "File with the values of the boundary conditions.", "boundary.tnl" );
         config.addEntry< double >( "boundary-conditions-constant", "This sets a value in case of the constant boundary conditions." );
         config.addEntry< double >( "right-hand-side-constant", "This sets a constant value for the right-hand side.", 0.0 );
         //config.addEntry< String >( "initial-condition", "File with the initial condition.", "initial.tnl");
         config.addEntry< String >( "initial-condition", "File with the initial condition.", "initial.tnl");
      };
};

+22 −0
Original line number Diff line number Diff line
set( tnl_narrow_band_SOURCES
#     MainBuildConfig.h
#     tnlNarrowBand2D_impl.h
#     tnlNarrowBand.h
#     narrowBandConfig.h 
     main.cpp)


IF(  BUILD_CUDA ) 
	CUDA_ADD_EXECUTABLE(narrow-band${debugExt} main.cu)
ELSE(  BUILD_CUDA )                
	ADD_EXECUTABLE(narrow-band${debugExt} main.cpp)
ENDIF( BUILD_CUDA )
target_link_libraries (narrow-band${debugExt} tnl${debugExt}-${tnlVersion} )


INSTALL( TARGETS narrow-band${debugExt}
         RUNTIME DESTINATION bin
         PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
        
#INSTALL( FILES ${tnl_narrow_band_SOURCES}
#         DESTINATION share/tnl-${tnlVersion}/examples/narrow-band )
Loading