Loading src/TNL/Meshes/GridDetails/NeighbourGridEntityGetter2D_impl.h +4 −6 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ class NeighbourGridEntityGetter< entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) < entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ), < entity.getMesh().getDimensions() + CoordinatesType( ( stepX > 0 ), ( stepY > 0 ) ), std::cerr << "entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) = " << entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) << " entity.getMesh().getDimensions() = " << entity.getMesh().getDimensions() Loading @@ -290,8 +290,8 @@ class NeighbourGridEntityGetter< return NeighbourGridEntityType( this->entity.getMesh(), CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, ! stepY ) ); } Loading Loading @@ -338,7 +338,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading @@ -360,7 +359,7 @@ class NeighbourGridEntityGetter< CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) >= CoordinatesType( 0, 0 ) && entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) < entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ), < entity.getMesh().getDimensions() + CoordinatesType( ( stepX > 0 ), ( stepY > 0 ) ), std::cerr << "entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) = " << entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) << " entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ) = " Loading Loading @@ -416,7 +415,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading src/TNL/Meshes/GridDetails/NeighbourGridEntityGetter3D_impl.h +6 −8 Original line number Diff line number Diff line Loading @@ -317,9 +317,9 @@ class NeighbourGridEntityGetter< CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ), entity.getCoordinates().z() + stepZ + ( stepZ < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1, stepZ > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0, stepZ ? (stepZ > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, !stepY, !stepZ ) ); } Loading Loading @@ -406,9 +406,9 @@ class NeighbourGridEntityGetter< CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ), entity.getCoordinates().z() + stepZ + ( stepZ < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1, stepZ > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0, stepZ ? (stepZ > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, !stepY, !stepZ ) ); } Loading Loading @@ -544,7 +544,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading Loading @@ -628,7 +627,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading Loading
src/TNL/Meshes/GridDetails/NeighbourGridEntityGetter2D_impl.h +4 −6 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ class NeighbourGridEntityGetter< entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) < entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ), < entity.getMesh().getDimensions() + CoordinatesType( ( stepX > 0 ), ( stepY > 0 ) ), std::cerr << "entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) = " << entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) << " entity.getMesh().getDimensions() = " << entity.getMesh().getDimensions() Loading @@ -290,8 +290,8 @@ class NeighbourGridEntityGetter< return NeighbourGridEntityType( this->entity.getMesh(), CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, ! stepY ) ); } Loading Loading @@ -338,7 +338,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading @@ -360,7 +359,7 @@ class NeighbourGridEntityGetter< CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) >= CoordinatesType( 0, 0 ) && entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) < entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ), < entity.getMesh().getDimensions() + CoordinatesType( ( stepX > 0 ), ( stepY > 0 ) ), std::cerr << "entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) = " << entity.getCoordinates() + CoordinatesType( stepX + ( stepX < 0 ), stepY + ( stepY < 0 ) ) << " entity.getMesh().getDimensions() + CoordinatesType( sign( stepX ), sign( stepY ) ) = " Loading Loading @@ -416,7 +415,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading
src/TNL/Meshes/GridDetails/NeighbourGridEntityGetter3D_impl.h +6 −8 Original line number Diff line number Diff line Loading @@ -317,9 +317,9 @@ class NeighbourGridEntityGetter< CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ), entity.getCoordinates().z() + stepZ + ( stepZ < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1, stepZ > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0, stepZ ? (stepZ > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, !stepY, !stepZ ) ); } Loading Loading @@ -406,9 +406,9 @@ class NeighbourGridEntityGetter< CoordinatesType( entity.getCoordinates().x() + stepX + ( stepX < 0 ), entity.getCoordinates().y() + stepY + ( stepY < 0 ), entity.getCoordinates().z() + stepZ + ( stepZ < 0 ) ), EntityOrientationType( stepX > 0 ? 1 : -1, stepY > 0 ? 1 : -1, stepZ > 0 ? 1 : -1 ), EntityOrientationType( stepX ? (stepX > 0 ? 1 : -1) : 0, stepY ? (stepY > 0 ? 1 : -1) : 0, stepZ ? (stepZ > 0 ? 1 : -1) : 0 ), EntityBasisType( ! stepX, !stepY, !stepZ ) ); } Loading Loading @@ -544,7 +544,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading Loading @@ -628,7 +627,6 @@ class NeighbourGridEntityGetter< typedef Index IndexType; typedef typename GridType::CoordinatesType CoordinatesType; typedef GridEntityGetter< GridType, NeighbourGridEntityType > GridEntityGetterType; typedef typename GridEntityType::EntityOrientationType EntityOrientationType; __cuda_callable__ inline NeighbourGridEntityGetter( const GridEntityType& entity ) Loading