Loading buildAll +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 WITH_CUSPARSE=no CUDA_ARCHITECTURE=2.0 TEMPLATE_EXPLICIT_INSTANTIATION=yes Loading src/core/tnlMultiArray.h +16 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,10 @@ class tnlMultiArray< 1, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 1, Index > dimensions; Loading Loading @@ -162,6 +166,10 @@ class tnlMultiArray< 2, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 2, Index > dimensions; Loading Loading @@ -232,6 +240,10 @@ class tnlMultiArray< 3, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 3, Index > dimensions; Loading Loading @@ -302,6 +314,10 @@ class tnlMultiArray< 4, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 4, Index > dimensions; Loading src/core/tnlMultiVector.h +16 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,10 @@ class tnlMultiVector< 1, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 1, Index > dimensions; Loading Loading @@ -161,6 +165,10 @@ class tnlMultiVector< 2, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 2, Index > dimensions; Loading Loading @@ -231,6 +239,10 @@ class tnlMultiVector< 3, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 3, Index > dimensions; Loading Loading @@ -301,6 +313,10 @@ class tnlMultiVector< 4, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 4, Index > dimensions; Loading src/implementation/core/tnlMultiArray1D_impl.h +12 −0 Original line number Diff line number Diff line Loading @@ -204,6 +204,18 @@ bool tnlMultiArray< 1, Element, Device, Index > :: load( tnlFile& file ) return true; } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 1, Element, Device, Index > :: save( const tnlString& fileName ) const { return tnlObject :: save( fileName ); } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 1, Element, Device, Index > :: load( const tnlString& fileName ) { return tnlObject :: load( fileName ); } template< typename Element, typename Device, typename Index > ostream& operator << ( ostream& str, const tnlMultiArray< 1, Element, Device, Index >& array ) { Loading src/implementation/core/tnlMultiArray2D_impl.h +12 −0 Original line number Diff line number Diff line Loading @@ -212,6 +212,18 @@ bool tnlMultiArray< 2, Element, Device, Index > :: load( tnlFile& file ) return true; } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 2, Element, Device, Index > :: save( const tnlString& fileName ) const { return tnlObject :: save( fileName ); } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 2, Element, Device, Index > :: load( const tnlString& fileName ) { return tnlObject :: load( fileName ); } template< typename Element, typename Device, typename Index > ostream& operator << ( ostream& str, const tnlMultiArray< 2, Element, Device, Index >& array ) { Loading Loading
buildAll +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 WITH_CUSPARSE=no CUDA_ARCHITECTURE=2.0 TEMPLATE_EXPLICIT_INSTANTIATION=yes Loading
src/core/tnlMultiArray.h +16 −0 Original line number Diff line number Diff line Loading @@ -93,6 +93,10 @@ class tnlMultiArray< 1, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 1, Index > dimensions; Loading Loading @@ -162,6 +166,10 @@ class tnlMultiArray< 2, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 2, Index > dimensions; Loading Loading @@ -232,6 +240,10 @@ class tnlMultiArray< 3, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 3, Index > dimensions; Loading Loading @@ -302,6 +314,10 @@ class tnlMultiArray< 4, Element, Device, Index > : public tnlArray< Element, Dev //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 4, Index > dimensions; Loading
src/core/tnlMultiVector.h +16 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,10 @@ class tnlMultiVector< 1, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 1, Index > dimensions; Loading Loading @@ -161,6 +165,10 @@ class tnlMultiVector< 2, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 2, Index > dimensions; Loading Loading @@ -231,6 +239,10 @@ class tnlMultiVector< 3, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 3, Index > dimensions; Loading Loading @@ -301,6 +313,10 @@ class tnlMultiVector< 4, Element, Device, Index > : public tnlVector< Element, D //! Method for restoring the object from a file bool load( tnlFile& file ); bool save( const tnlString& fileName ) const; bool load( const tnlString& fileName ); protected: tnlTuple< 4, Index > dimensions; Loading
src/implementation/core/tnlMultiArray1D_impl.h +12 −0 Original line number Diff line number Diff line Loading @@ -204,6 +204,18 @@ bool tnlMultiArray< 1, Element, Device, Index > :: load( tnlFile& file ) return true; } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 1, Element, Device, Index > :: save( const tnlString& fileName ) const { return tnlObject :: save( fileName ); } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 1, Element, Device, Index > :: load( const tnlString& fileName ) { return tnlObject :: load( fileName ); } template< typename Element, typename Device, typename Index > ostream& operator << ( ostream& str, const tnlMultiArray< 1, Element, Device, Index >& array ) { Loading
src/implementation/core/tnlMultiArray2D_impl.h +12 −0 Original line number Diff line number Diff line Loading @@ -212,6 +212,18 @@ bool tnlMultiArray< 2, Element, Device, Index > :: load( tnlFile& file ) return true; } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 2, Element, Device, Index > :: save( const tnlString& fileName ) const { return tnlObject :: save( fileName ); } template< typename Element, typename Device, typename Index > bool tnlMultiArray< 2, Element, Device, Index > :: load( const tnlString& fileName ) { return tnlObject :: load( fileName ); } template< typename Element, typename Device, typename Index > ostream& operator << ( ostream& str, const tnlMultiArray< 2, Element, Device, Index >& array ) { Loading