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

Refactroring the Dirichlet boundary conditions.

parent 9754e4a2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ class tnlTestFunction
   bool setup( const tnlParameterContainer& parameters,
              const tnlString& prefix = "" );

   const tnlTestFunction& operator = ( const tnlTestFunction& function );

#ifdef HAVE_NOT_CXX11
   template< int XDiffOrder,
             int YDiffOrder,
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ template< typename Element >
   template< typename Array >
bool tnlStaticArray< 1, Element >::operator == ( const Array& array ) const
{
   return( size == Array::size && data[ 0 ] == array[ 0 ] );
   return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] );
}

template< typename Element >
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ template< typename Element >
   template< typename Array >
bool tnlStaticArray< 2, Element >::operator == ( const Array& array ) const
{
   return( size == Array::size &&
   return( ( int ) size == ( int ) Array::size &&
           data[ 0 ] == array[ 0 ] &&
           data[ 1 ] == array[ 1 ] );
}
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ template< typename Element >
   template< typename Array >
bool tnlStaticArray< 3, Element >::operator == ( const Array& array ) const
{
   return( size == Array::size &&
   return( ( int ) size == ( int ) Array::size &&
           data[ 0 ] == array[ 0 ] &&
           data[ 1 ] == array[ 1 ] &&
           data[ 2 ] == array[ 2 ] );
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ template< int Size, typename Element >
   template< typename Array >
bool tnlStaticArray< Size, Element >::operator == ( const Array& array ) const
{
   if( size != Array::size )
   if( ( int ) size != ( int ) Array::size )
      return false;
   for( int i = 0; i < size; i++ )
      if( data[ i ] != array[ i ] )
Loading