Loading src/Benchmarks/HeatEquation/TestGridEntity.h +1 −2 Original line number Diff line number Diff line Loading @@ -78,8 +78,7 @@ class TestGridEntity< Meshes::Grid< Dimension, Real, Device, Index >, Dimension typedef Containers::StaticVector< meshDimension, IndexType > EntityOrientationType; typedef Containers::StaticVector< meshDimension, IndexType > EntityBasisType; typedef TestGridEntity< GridType, entityDimension > ThisType; typedef TestNeighborGridEntitiesStorage< ThisType > NeighborGridEntitiesStorageType; typedef TestNeighborGridEntitiesStorage< TestGridEntity > NeighborGridEntitiesStorageType; __cuda_callable__ inline TestGridEntity( const GridType& grid ) Loading src/Benchmarks/HeatEquation/Tuning/SimpleCell.h +1 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,7 @@ class SimpleCell typedef typename GridType::IndexType IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef typename GridType::PointType PointType; typedef SimpleCell< GridType, Config > ThisType; typedef Meshes::NeighborGridEntitiesStorage< ThisType, Config > typedef Meshes::NeighborGridEntitiesStorage< SimpleCell, Config > NeighborGridEntitiesStorageType; typedef Config ConfigType; Loading src/Benchmarks/HeatEquation/tnlTestGrid2D.h +0 −6 Original line number Diff line number Diff line Loading @@ -52,9 +52,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject typedef Index IndexType; typedef Containers::StaticVector< 2, Real > PointType; typedef Containers::StaticVector< 2, Index > CoordinatesType; typedef Meshes::Grid< 2, Real, Devices::Host, Index > HostType; typedef Meshes::Grid< 2, Real, tnlCuda, Index > CudaType; typedef Meshes::Grid< 2, Real, Device, Index > ThisType; static const int meshDimension = 2; Loading Loading @@ -808,9 +805,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject typedef Index IndexType; typedef Containers::StaticVector< 2, Real > PointType; typedef Containers::StaticVector< 2, Index > CoordinatesType; typedef Meshes::Grid< 2, Real, Devices::Host, Index > HostType; typedef Meshes::Grid< 2, Real, tnlCuda, Index > CudaType; typedef Meshes::Grid< 2, Real, Device, Index > ThisType; static const int meshDimension = 2; Loading src/Benchmarks/HeatEquation/tnlTestGridEntity.h +0 −2 Original line number Diff line number Diff line Loading @@ -55,8 +55,6 @@ class tnlTestGridEntity< Meshes::Grid< Dimension, Real, Device, Index >, Dimensi typedef TNL::Containers::StaticVector< meshDimension, IndexType > EntityOrientationType; typedef TNL::Containers::StaticVector< meshDimension, IndexType > EntityBasisType; typedef tnlTestGridEntity< GridType, entityDimension, Config > ThisType; //typedef tnlTestNeighborGridEntitiesStorage< ThisType > NeighborGridEntitiesStorageType; /*template< int NeighborEntityDimension = entityDimension > using NeighborEntities = Loading src/Benchmarks/HeatEquation/tnlTestNeighbourGridEntityGetter2D_impl.h +2 −3 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ class tnlTestNeighborGridEntityGetter< typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighborGridEntityType > GridEntityGetter; typedef GridEntityStencilStorageTag< GridEntityCrossStencil > StencilStorage; typedef tnlTestNeighborGridEntityGetter< GridEntityType, 2, StencilStorage > ThisType; static const int stencilSize = Config::getStencilSize(); Loading @@ -110,7 +109,7 @@ class tnlTestNeighborGridEntityGetter< public: __cuda_callable__ static void exec( ThisType& neighborEntityGetter, const IndexType& entityIndex ) static void exec( tnlTestNeighborGridEntityGetter& neighborEntityGetter, const IndexType& entityIndex ) { neighborEntityGetter.stencilX[ index + stencilSize ] = entityIndex + index; } Loading @@ -122,7 +121,7 @@ class tnlTestNeighborGridEntityGetter< public: __cuda_callable__ static void exec( ThisType& neighborEntityGetter, const IndexType& entityIndex ) static void exec( tnlTestNeighborGridEntityGetter& neighborEntityGetter, const IndexType& entityIndex ) { neighborEntityGetter.stencilY[ index + stencilSize ] = entityIndex + index * neighborEntityGetter.entity.getMesh().getDimensions().x(); Loading Loading
src/Benchmarks/HeatEquation/TestGridEntity.h +1 −2 Original line number Diff line number Diff line Loading @@ -78,8 +78,7 @@ class TestGridEntity< Meshes::Grid< Dimension, Real, Device, Index >, Dimension typedef Containers::StaticVector< meshDimension, IndexType > EntityOrientationType; typedef Containers::StaticVector< meshDimension, IndexType > EntityBasisType; typedef TestGridEntity< GridType, entityDimension > ThisType; typedef TestNeighborGridEntitiesStorage< ThisType > NeighborGridEntitiesStorageType; typedef TestNeighborGridEntitiesStorage< TestGridEntity > NeighborGridEntitiesStorageType; __cuda_callable__ inline TestGridEntity( const GridType& grid ) Loading
src/Benchmarks/HeatEquation/Tuning/SimpleCell.h +1 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,7 @@ class SimpleCell typedef typename GridType::IndexType IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef typename GridType::PointType PointType; typedef SimpleCell< GridType, Config > ThisType; typedef Meshes::NeighborGridEntitiesStorage< ThisType, Config > typedef Meshes::NeighborGridEntitiesStorage< SimpleCell, Config > NeighborGridEntitiesStorageType; typedef Config ConfigType; Loading
src/Benchmarks/HeatEquation/tnlTestGrid2D.h +0 −6 Original line number Diff line number Diff line Loading @@ -52,9 +52,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject typedef Index IndexType; typedef Containers::StaticVector< 2, Real > PointType; typedef Containers::StaticVector< 2, Index > CoordinatesType; typedef Meshes::Grid< 2, Real, Devices::Host, Index > HostType; typedef Meshes::Grid< 2, Real, tnlCuda, Index > CudaType; typedef Meshes::Grid< 2, Real, Device, Index > ThisType; static const int meshDimension = 2; Loading Loading @@ -808,9 +805,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject typedef Index IndexType; typedef Containers::StaticVector< 2, Real > PointType; typedef Containers::StaticVector< 2, Index > CoordinatesType; typedef Meshes::Grid< 2, Real, Devices::Host, Index > HostType; typedef Meshes::Grid< 2, Real, tnlCuda, Index > CudaType; typedef Meshes::Grid< 2, Real, Device, Index > ThisType; static const int meshDimension = 2; Loading
src/Benchmarks/HeatEquation/tnlTestGridEntity.h +0 −2 Original line number Diff line number Diff line Loading @@ -55,8 +55,6 @@ class tnlTestGridEntity< Meshes::Grid< Dimension, Real, Device, Index >, Dimensi typedef TNL::Containers::StaticVector< meshDimension, IndexType > EntityOrientationType; typedef TNL::Containers::StaticVector< meshDimension, IndexType > EntityBasisType; typedef tnlTestGridEntity< GridType, entityDimension, Config > ThisType; //typedef tnlTestNeighborGridEntitiesStorage< ThisType > NeighborGridEntitiesStorageType; /*template< int NeighborEntityDimension = entityDimension > using NeighborEntities = Loading
src/Benchmarks/HeatEquation/tnlTestNeighbourGridEntityGetter2D_impl.h +2 −3 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ class tnlTestNeighborGridEntityGetter< typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighborGridEntityType > GridEntityGetter; typedef GridEntityStencilStorageTag< GridEntityCrossStencil > StencilStorage; typedef tnlTestNeighborGridEntityGetter< GridEntityType, 2, StencilStorage > ThisType; static const int stencilSize = Config::getStencilSize(); Loading @@ -110,7 +109,7 @@ class tnlTestNeighborGridEntityGetter< public: __cuda_callable__ static void exec( ThisType& neighborEntityGetter, const IndexType& entityIndex ) static void exec( tnlTestNeighborGridEntityGetter& neighborEntityGetter, const IndexType& entityIndex ) { neighborEntityGetter.stencilX[ index + stencilSize ] = entityIndex + index; } Loading @@ -122,7 +121,7 @@ class tnlTestNeighborGridEntityGetter< public: __cuda_callable__ static void exec( ThisType& neighborEntityGetter, const IndexType& entityIndex ) static void exec( tnlTestNeighborGridEntityGetter& neighborEntityGetter, const IndexType& entityIndex ) { neighborEntityGetter.stencilY[ index + stencilSize ] = entityIndex + index * neighborEntityGetter.entity.getMesh().getDimensions().x(); Loading