Loading src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Eikonal/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -15,4 +15,4 @@ set( tnl_implementation_operators_godunov_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov/ ) src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Godunov-Eikonal/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -21,4 +21,4 @@ set( tnl_implementation_operators_godunov-eikonal_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov-eikonal ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov-Eikonal/ ) src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Godunov/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -14,4 +14,4 @@ set( tnl_implementation_operators_godunov_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov/ ) src/core/tnlTypeInfo.hdeleted 100644 → 0 +0 −39 Original line number Diff line number Diff line /* * File: tnlTypeInfo.h * Author: oberhuber * * Created on July 14, 2016, 3:46 PM */ #pragma once #include <limits> template< typename Type > class tnlTypeInfo { }; template<> class tnlTypeInfo< double > { public: typedef double Type; static __cuda_callable__ Type getMaxValue() { return DBL_MAX; }; }; template<> class tnlTypeInfo< float > { public: typedef float Type; static __cuda_callable__ Type getMaxValue() { return FLT_MAX; }; }; src/functions/tnlFunctions.hdeleted 100644 → 0 +0 −52 Original line number Diff line number Diff line /* * File: tnlFunctions.h * Author: oberhuber * * Created on July 11, 2016, 6:01 PM */ #pragma once #include <core/tnlCuda.h> template< typename Real > __cuda_callable__ Real sign( const Real& x, const Real& smoothing = 0.0 ) { if( x > smoothing ) return 1.0; else if( x < -smoothing ) return -1.0; if( smoothing == 0.0 ) return 0.0; return sin( ( M_PI * x ) / ( 2.0 * smoothing ) ); } template< typename Real > __cuda_callable__ Real positivePart( const Real& arg) { return arg > 0.0 ? arg : 0.0; } template< typename Real > __cuda_callable__ Real negativePart( const Real& arg) { return arg < 0.0 ? arg : 0.0; } template< typename Real > __cuda_callable__ Real ArgAbsMin( const Real& x, const Real& y ) { return fabs( x ) < fabs( y ) ? x : y; } template< typename Real > __cuda_callable__ Real ArgAbsMax( const Real& x, const Real& y ) { return fabs( x ) > fabs( y ) ? x : y; } Loading
src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Eikonal/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -15,4 +15,4 @@ set( tnl_implementation_operators_godunov_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov/ )
src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Godunov-Eikonal/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -21,4 +21,4 @@ set( tnl_implementation_operators_godunov-eikonal_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov-eikonal ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov-Eikonal/ )
src/TNL/Experimental/Hamilton-Jacobi/Operators/Hamilton-Jacobi/Godunov/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -14,4 +14,4 @@ set( tnl_implementation_operators_godunov_SOURCES ${common_SOURCES} PARENT_SCOPE ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/implementation/operators/godunov ) INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/TNL/Operators/Godunov/ )
src/core/tnlTypeInfo.hdeleted 100644 → 0 +0 −39 Original line number Diff line number Diff line /* * File: tnlTypeInfo.h * Author: oberhuber * * Created on July 14, 2016, 3:46 PM */ #pragma once #include <limits> template< typename Type > class tnlTypeInfo { }; template<> class tnlTypeInfo< double > { public: typedef double Type; static __cuda_callable__ Type getMaxValue() { return DBL_MAX; }; }; template<> class tnlTypeInfo< float > { public: typedef float Type; static __cuda_callable__ Type getMaxValue() { return FLT_MAX; }; };
src/functions/tnlFunctions.hdeleted 100644 → 0 +0 −52 Original line number Diff line number Diff line /* * File: tnlFunctions.h * Author: oberhuber * * Created on July 11, 2016, 6:01 PM */ #pragma once #include <core/tnlCuda.h> template< typename Real > __cuda_callable__ Real sign( const Real& x, const Real& smoothing = 0.0 ) { if( x > smoothing ) return 1.0; else if( x < -smoothing ) return -1.0; if( smoothing == 0.0 ) return 0.0; return sin( ( M_PI * x ) / ( 2.0 * smoothing ) ); } template< typename Real > __cuda_callable__ Real positivePart( const Real& arg) { return arg > 0.0 ? arg : 0.0; } template< typename Real > __cuda_callable__ Real negativePart( const Real& arg) { return arg < 0.0 ? arg : 0.0; } template< typename Real > __cuda_callable__ Real ArgAbsMin( const Real& x, const Real& y ) { return fabs( x ) < fabs( y ) ? x : y; } template< typename Real > __cuda_callable__ Real ArgAbsMax( const Real& x, const Real& y ) { return fabs( x ) > fabs( y ) ? x : y; }