Loading src/TNL/Matrices/DistributedMatrix.h +2 −2 Original line number Diff line number Diff line Loading @@ -36,8 +36,8 @@ public: using RowsCapacitiesType = Containers::DistributedVector< IndexType, DeviceType, IndexType >; using MatrixRow = typename Matrix::RowViewType; using ConstMatrixRow = typename Matrix::ConstRowViewType; using MatrixRow = typename Matrix::RowView; using ConstMatrixRow = typename Matrix::ConstRowView; template< typename _Real = RealType, typename _Device = DeviceType, Loading src/TNL/Meshes/MeshDetails/initializer/SubentitySeedsCreator.h +2 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ class SubentitySeedsCreator using LocalIndexType = typename MeshTraitsType::LocalIndexType; using EntityTraitsType = typename MeshTraitsType::template EntityTraits< EntityDimensionTag::value >; using EntityTopology = typename EntityTraitsType::EntityTopology; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowViewType; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowView; using SubentityTraits = typename MeshTraitsType::template SubentityTraits< EntityTopology, SubentityDimensionTag::value >; using SubentityTopology = typename SubentityTraits::SubentityTopology; Loading Loading @@ -82,7 +82,7 @@ class SubentitySeedsCreator< MeshConfig, EntityDimensionTag, DimensionTag< 0 > > using LocalIndexType = typename MeshTraitsType::LocalIndexType; using EntityTraitsType = typename MeshTraitsType::template EntityTraits< EntityDimensionTag::value >; using EntityTopology = typename EntityTraitsType::EntityTopology; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowViewType; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowView; using SubentityTraits = typename MeshTraitsType::template SubentityTraits< EntityTopology, 0 >; using SubentityTopology = typename SubentityTraits::SubentityTopology; Loading src/UnitTests/Matrices/DenseMatrixTest.h +2 −2 Original line number Diff line number Diff line Loading @@ -816,8 +816,8 @@ void test_ForRows() const IndexType rows = 8; Matrix m( rows, cols ); using RowViewType = typename Matrix::RowViewType; m.forAllRows( [] __cuda_callable__ ( RowViewType& row ) mutable { using RowView = typename Matrix::RowView; m.forAllRows( [] __cuda_callable__ ( RowView& row ) mutable { for( IndexType localIdx = 0; localIdx <= row.getRowIndex(); localIdx++ ) { row.setValue( localIdx, row.getRowIndex() - localIdx + 1.0 ); Loading src/UnitTests/Matrices/LambdaMatrixTest.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ void test_ForRows() TNL::Matrices::DenseMatrix< RealType, DeviceType, IndexType > denseMatrix( size, size ); denseMatrix.setValue( 0.0 ); auto dense_view = denseMatrix.getView(); auto f = [=] __cuda_callable__ ( const typename MatrixType::RowViewType& row ) mutable { auto f = [=] __cuda_callable__ ( const typename MatrixType::RowView& row ) mutable { auto dense_row = dense_view.getRow( row.getRowIndex() ); for( IndexType localIdx = 0; localIdx < row.getSize(); localIdx++ ) dense_row.setElement( row.getColumnIndex( localIdx ), row.getValue( localIdx ) ); Loading src/UnitTests/Matrices/MultidiagonalMatrixTest.h +1 −1 Original line number Diff line number Diff line Loading @@ -798,7 +798,7 @@ void test_ForRows() const IndexType size( 5 ); Matrix m( size, size, { -1, 0, 1 } ); auto f = [=] __cuda_callable__ ( typename Matrix::RowViewType& row ) mutable { auto f = [=] __cuda_callable__ ( typename Matrix::RowView& row ) mutable { const IndexType rowIdx = row.getRowIndex(); if( rowIdx > 0 ) row.setElement( 0, -2.0 ); Loading Loading
src/TNL/Matrices/DistributedMatrix.h +2 −2 Original line number Diff line number Diff line Loading @@ -36,8 +36,8 @@ public: using RowsCapacitiesType = Containers::DistributedVector< IndexType, DeviceType, IndexType >; using MatrixRow = typename Matrix::RowViewType; using ConstMatrixRow = typename Matrix::ConstRowViewType; using MatrixRow = typename Matrix::RowView; using ConstMatrixRow = typename Matrix::ConstRowView; template< typename _Real = RealType, typename _Device = DeviceType, Loading
src/TNL/Meshes/MeshDetails/initializer/SubentitySeedsCreator.h +2 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ class SubentitySeedsCreator using LocalIndexType = typename MeshTraitsType::LocalIndexType; using EntityTraitsType = typename MeshTraitsType::template EntityTraits< EntityDimensionTag::value >; using EntityTopology = typename EntityTraitsType::EntityTopology; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowViewType; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowView; using SubentityTraits = typename MeshTraitsType::template SubentityTraits< EntityTopology, SubentityDimensionTag::value >; using SubentityTopology = typename SubentityTraits::SubentityTopology; Loading Loading @@ -82,7 +82,7 @@ class SubentitySeedsCreator< MeshConfig, EntityDimensionTag, DimensionTag< 0 > > using LocalIndexType = typename MeshTraitsType::LocalIndexType; using EntityTraitsType = typename MeshTraitsType::template EntityTraits< EntityDimensionTag::value >; using EntityTopology = typename EntityTraitsType::EntityTopology; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowViewType; using SubvertexAccessorType = typename MeshTraitsType::SubentityMatrixType::RowView; using SubentityTraits = typename MeshTraitsType::template SubentityTraits< EntityTopology, 0 >; using SubentityTopology = typename SubentityTraits::SubentityTopology; Loading
src/UnitTests/Matrices/DenseMatrixTest.h +2 −2 Original line number Diff line number Diff line Loading @@ -816,8 +816,8 @@ void test_ForRows() const IndexType rows = 8; Matrix m( rows, cols ); using RowViewType = typename Matrix::RowViewType; m.forAllRows( [] __cuda_callable__ ( RowViewType& row ) mutable { using RowView = typename Matrix::RowView; m.forAllRows( [] __cuda_callable__ ( RowView& row ) mutable { for( IndexType localIdx = 0; localIdx <= row.getRowIndex(); localIdx++ ) { row.setValue( localIdx, row.getRowIndex() - localIdx + 1.0 ); Loading
src/UnitTests/Matrices/LambdaMatrixTest.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ void test_ForRows() TNL::Matrices::DenseMatrix< RealType, DeviceType, IndexType > denseMatrix( size, size ); denseMatrix.setValue( 0.0 ); auto dense_view = denseMatrix.getView(); auto f = [=] __cuda_callable__ ( const typename MatrixType::RowViewType& row ) mutable { auto f = [=] __cuda_callable__ ( const typename MatrixType::RowView& row ) mutable { auto dense_row = dense_view.getRow( row.getRowIndex() ); for( IndexType localIdx = 0; localIdx < row.getSize(); localIdx++ ) dense_row.setElement( row.getColumnIndex( localIdx ), row.getValue( localIdx ) ); Loading
src/UnitTests/Matrices/MultidiagonalMatrixTest.h +1 −1 Original line number Diff line number Diff line Loading @@ -798,7 +798,7 @@ void test_ForRows() const IndexType size( 5 ); Matrix m( size, size, { -1, 0, 1 } ); auto f = [=] __cuda_callable__ ( typename Matrix::RowViewType& row ) mutable { auto f = [=] __cuda_callable__ ( typename Matrix::RowView& row ) mutable { const IndexType rowIdx = row.getRowIndex(); if( rowIdx > 0 ) row.setElement( 0, -2.0 ); Loading