Commit eb4c6cb6 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Nyni lze přeložit celé TNL s ICPC.

parent c67ededc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ mv ./initial.tnl init.tnl
                  --discrete-solver euler \
                  --snapshot-period 0.0005 \
                  --final-time 0.1 \
                  --time-step 0.000001
                  --time-step 0.00005

 ./tnl-view-dbg --mesh mesh.tnl \
          --input-files *.tnl \ 
+2 −2
Original line number Diff line number Diff line
@@ -374,9 +374,9 @@ class tnlStaticArray< 3, Element >

};

template< int Size, typename Element >
/*template< int Size, typename Element >
ostream& operator << ( ostream& str, const tnlStaticArray< Size, Element >& a );

*/
#include <core/arrays/tnlStaticArray_impl.h>
#include <core/arrays/tnlStaticArray1D_impl.h>
#include <core/arrays/tnlStaticArray2D_impl.h>
+1 −0
Original line number Diff line number Diff line
@@ -194,6 +194,7 @@ void tnlStaticArray< 1, Element >::sort()
}

template< typename Element >
__device_callable__
ostream& tnlStaticArray< 1, Element >::write( ostream& str, const char* separator ) const
{
   str << data[ 0 ];
+1 −0
Original line number Diff line number Diff line
@@ -221,6 +221,7 @@ void tnlStaticArray< 2, Element >::sort()
}

template< typename Element >
__device_callable__
ostream& tnlStaticArray< 2, Element >::write( ostream& str, const char* separator ) const
{
   str << data[ 0 ] << separator << data[ 1 ];
+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ void tnlStaticArray< 3, Element >::sort()
}

template< typename Element >
__device_callable__
ostream& tnlStaticArray< 3, Element >::write( ostream& str, const char* separator ) const
{
   str << data[ 0 ] << separator << data[ 1 ] << separator << data[ 2 ];
Loading