Loading src/TNL/Meshes/GridDetails/NeighborGridEntityGetter2D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -411,7 +411,7 @@ class NeighborGridEntityGetter< std::cerr << "( stepX, stepY ) cannot be perpendicular to entity coordinates: stepX = " << stepX << " stepY = " << stepY << " entity.getOrientation() = " << entity.getOrientation() );*/ TNL_ASSERT_GE( entity.getCoordinates(), CoordinatesType( 0, 0 ), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions(), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions() + entity.getOrientation().abs(), "wrong coordinates" ); TNL_ASSERT( entity.getCoordinates() + CoordinatesType( stepX - ( stepX > 0 ) * ( entity.getOrientation().x() != 0.0 ), stepY - ( stepY > 0 ) * ( entity.getOrientation().y() != 0.0 ) ) >= CoordinatesType( 0, 0 ) && Loading src/TNL/Meshes/GridDetails/NeighborGridEntityGetter3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -615,7 +615,7 @@ class NeighborGridEntityGetter< << " stepY = " << stepY << " stepZ = " << stepZ << " entity.getOrientation() = " << entity.getOrientation() );*/ TNL_ASSERT_GE( entity.getCoordinates(), CoordinatesType( 0, 0, 0 ), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions(), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions() + entity.getOrientation().abs(), "wrong coordinates" ); TNL_ASSERT( entity.getCoordinates() + CoordinatesType( stepX - ( stepX > 0 ) * ( entity.getOrientation().x() != 0.0 ), stepY - ( stepY > 0 ) * ( entity.getOrientation().y() != 0.0 ), Loading Loading
src/TNL/Meshes/GridDetails/NeighborGridEntityGetter2D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -411,7 +411,7 @@ class NeighborGridEntityGetter< std::cerr << "( stepX, stepY ) cannot be perpendicular to entity coordinates: stepX = " << stepX << " stepY = " << stepY << " entity.getOrientation() = " << entity.getOrientation() );*/ TNL_ASSERT_GE( entity.getCoordinates(), CoordinatesType( 0, 0 ), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions(), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions() + entity.getOrientation().abs(), "wrong coordinates" ); TNL_ASSERT( entity.getCoordinates() + CoordinatesType( stepX - ( stepX > 0 ) * ( entity.getOrientation().x() != 0.0 ), stepY - ( stepY > 0 ) * ( entity.getOrientation().y() != 0.0 ) ) >= CoordinatesType( 0, 0 ) && Loading
src/TNL/Meshes/GridDetails/NeighborGridEntityGetter3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -615,7 +615,7 @@ class NeighborGridEntityGetter< << " stepY = " << stepY << " stepZ = " << stepZ << " entity.getOrientation() = " << entity.getOrientation() );*/ TNL_ASSERT_GE( entity.getCoordinates(), CoordinatesType( 0, 0, 0 ), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions(), "wrong coordinates" ); TNL_ASSERT_LT( entity.getCoordinates(), entity.getMesh().getDimensions() + entity.getOrientation().abs(), "wrong coordinates" ); TNL_ASSERT( entity.getCoordinates() + CoordinatesType( stepX - ( stepX > 0 ) * ( entity.getOrientation().x() != 0.0 ), stepY - ( stepY > 0 ) * ( entity.getOrientation().y() != 0.0 ), Loading