Loading install +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ TARGET=TNL INSTALL_PREFIX=${HOME}/local WITH_CUDA=yes WITH_CUDA=no TEMPLATE_EXPLICIT_INSTANTIATION=yes #VERBOSE="VERBOSE=1" Loading src/functions/tnlConstantFunction.h +2 −4 Original line number Diff line number Diff line Loading @@ -48,14 +48,14 @@ class tnlConstantFunction int ZDiffOrder, typename Vertex > #else template< int XDiffOrder = 0, template< int XDiffOrder, int YDiffOrder = 0, int ZDiffOrder = 0, typename Vertex = VertexType > #endif RealType getValue( const Vertex& v, const Real& time = 0.0 ) const; #ifdef HAVE_NOT_CXX11 template< typename Vertex > RealType getValue( const Vertex& v, const Real& time = 0.0 ) const Loading @@ -63,8 +63,6 @@ class tnlConstantFunction return getValue< 0, 0, 0, Vertex >( v, time ); } #endif protected: RealType value; Loading src/implementation/core/arrays/tnlMultiArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ template< typename Element, typename Device, typename Index > Index tnlMultiArray< 1, Element, Device, Index > :: getElementIndex( const Index i ) const { tnlAssert( i >= 0 && i < this -> dimensions[ 0 ], printf( "i = %d this -> dimensions[ 0 ] = %d \n", ( int ) i, ( int ) this -> dimensions[ 0 ] ) ); cerr << "i = " << i << " this -> dimensions[ 0 ] = " << this -> dimensions[ 0 ] ); return i; } Loading src/implementation/core/arrays/tnlMultiArray2D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -115,8 +115,8 @@ template< typename Element, typename Device, typename Index > Index tnlMultiArray< 2, Element, Device, Index > :: getElementIndex( const Index j, const Index i ) const { tnlAssert( i >= 0 && i < this -> dimensions[ 0 ] && j >= 0 && j < this -> dimensions[ 1 ], printf( "i = %d j = %d this -> dimensions[ 0 ] = %d this -> dimensions[ 1 ] = %d \n", i, j, this -> dimensions[ 0 ], this -> dimensions[ 1 ] ) ); cerr << "i = " << i << " j = " << j << " this -> dimensions[ 0 ] = " << this -> dimensions[ 0 ] << " this -> dimensions[ 1 ] = " << this -> dimensions[ 1 ] ); return j * this -> dimensions[ 0 ] + i; } Loading src/implementation/functions/tnlConstantFunction_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ tnlConstantFunction< Dimensions, Real >:: setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { this->setValue( parameters.GetParameter< double >( prefix + "-value") ); this->setValue( parameters.GetParameter< double >( prefix + "value") ); return true; } Loading Loading
install +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ TARGET=TNL INSTALL_PREFIX=${HOME}/local WITH_CUDA=yes WITH_CUDA=no TEMPLATE_EXPLICIT_INSTANTIATION=yes #VERBOSE="VERBOSE=1" Loading
src/functions/tnlConstantFunction.h +2 −4 Original line number Diff line number Diff line Loading @@ -48,14 +48,14 @@ class tnlConstantFunction int ZDiffOrder, typename Vertex > #else template< int XDiffOrder = 0, template< int XDiffOrder, int YDiffOrder = 0, int ZDiffOrder = 0, typename Vertex = VertexType > #endif RealType getValue( const Vertex& v, const Real& time = 0.0 ) const; #ifdef HAVE_NOT_CXX11 template< typename Vertex > RealType getValue( const Vertex& v, const Real& time = 0.0 ) const Loading @@ -63,8 +63,6 @@ class tnlConstantFunction return getValue< 0, 0, 0, Vertex >( v, time ); } #endif protected: RealType value; Loading
src/implementation/core/arrays/tnlMultiArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ template< typename Element, typename Device, typename Index > Index tnlMultiArray< 1, Element, Device, Index > :: getElementIndex( const Index i ) const { tnlAssert( i >= 0 && i < this -> dimensions[ 0 ], printf( "i = %d this -> dimensions[ 0 ] = %d \n", ( int ) i, ( int ) this -> dimensions[ 0 ] ) ); cerr << "i = " << i << " this -> dimensions[ 0 ] = " << this -> dimensions[ 0 ] ); return i; } Loading
src/implementation/core/arrays/tnlMultiArray2D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -115,8 +115,8 @@ template< typename Element, typename Device, typename Index > Index tnlMultiArray< 2, Element, Device, Index > :: getElementIndex( const Index j, const Index i ) const { tnlAssert( i >= 0 && i < this -> dimensions[ 0 ] && j >= 0 && j < this -> dimensions[ 1 ], printf( "i = %d j = %d this -> dimensions[ 0 ] = %d this -> dimensions[ 1 ] = %d \n", i, j, this -> dimensions[ 0 ], this -> dimensions[ 1 ] ) ); cerr << "i = " << i << " j = " << j << " this -> dimensions[ 0 ] = " << this -> dimensions[ 0 ] << " this -> dimensions[ 1 ] = " << this -> dimensions[ 1 ] ); return j * this -> dimensions[ 0 ] + i; } Loading
src/implementation/functions/tnlConstantFunction_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ tnlConstantFunction< Dimensions, Real >:: setup( const tnlParameterContainer& parameters, const tnlString& prefix ) { this->setValue( parameters.GetParameter< double >( prefix + "-value") ); this->setValue( parameters.GetParameter< double >( prefix + "value") ); return true; } Loading