Loading src/TNL/Meshes/GridDetails/Grid2D.h +6 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,12 @@ class Grid< 2, Real, Device, Index > : public Object __cuda_callable__ const RealType& getSpaceStepsProducts() const; /** * \brief Returns the number of x-normal faces. */ __cuda_callable__ IndexType getNumberOfNxFaces() const; /** * \breif Returns the measure (area) of a cell in this grid. */ Loading src/TNL/Meshes/GridDetails/Grid2D_impl.h +11 −0 Original line number Diff line number Diff line Loading @@ -328,6 +328,17 @@ getSpaceStepsProducts() const return this->spaceStepsProducts[ xPow + 2 ][ yPow + 2 ]; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 2, Real, Device, Index >:: getNumberOfNxFaces() const { return numberOfNxFaces; } template< typename Real, typename Device, typename Index > Loading src/TNL/Meshes/GridDetails/Grid3D.h +12 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,18 @@ class Grid< 3, Real, Device, Index > : public Object __cuda_callable__ const RealType& getSpaceStepsProducts() const; /** * \brief Returns the number of x-normal faces. */ __cuda_callable__ IndexType getNumberOfNxFaces() const; /** * \brief Returns the number of x-normal and y-normal faces. */ __cuda_callable__ IndexType getNumberOfNxAndNyFaces() const; /** * \breif Returns the measure (volume) of a cell in this grid. */ Loading src/TNL/Meshes/GridDetails/Grid3D_impl.h +22 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,28 @@ getSpaceStepsProducts() const return this->spaceStepsProducts[ xPow + 2 ][ yPow + 2 ][ zPow + 2 ]; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 3, Real, Device, Index >:: getNumberOfNxFaces() const { return numberOfNxFaces; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 3, Real, Device, Index >:: getNumberOfNxAndNyFaces() const { return numberOfNxAndNyFaces; } template< typename Real, typename Device, typename Index > Loading Loading
src/TNL/Meshes/GridDetails/Grid2D.h +6 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,12 @@ class Grid< 2, Real, Device, Index > : public Object __cuda_callable__ const RealType& getSpaceStepsProducts() const; /** * \brief Returns the number of x-normal faces. */ __cuda_callable__ IndexType getNumberOfNxFaces() const; /** * \breif Returns the measure (area) of a cell in this grid. */ Loading
src/TNL/Meshes/GridDetails/Grid2D_impl.h +11 −0 Original line number Diff line number Diff line Loading @@ -328,6 +328,17 @@ getSpaceStepsProducts() const return this->spaceStepsProducts[ xPow + 2 ][ yPow + 2 ]; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 2, Real, Device, Index >:: getNumberOfNxFaces() const { return numberOfNxFaces; } template< typename Real, typename Device, typename Index > Loading
src/TNL/Meshes/GridDetails/Grid3D.h +12 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,18 @@ class Grid< 3, Real, Device, Index > : public Object __cuda_callable__ const RealType& getSpaceStepsProducts() const; /** * \brief Returns the number of x-normal faces. */ __cuda_callable__ IndexType getNumberOfNxFaces() const; /** * \brief Returns the number of x-normal and y-normal faces. */ __cuda_callable__ IndexType getNumberOfNxAndNyFaces() const; /** * \breif Returns the measure (volume) of a cell in this grid. */ Loading
src/TNL/Meshes/GridDetails/Grid3D_impl.h +22 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,28 @@ getSpaceStepsProducts() const return this->spaceStepsProducts[ xPow + 2 ][ yPow + 2 ][ zPow + 2 ]; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 3, Real, Device, Index >:: getNumberOfNxFaces() const { return numberOfNxFaces; } template< typename Real, typename Device, typename Index > __cuda_callable__ Index Grid< 3, Real, Device, Index >:: getNumberOfNxAndNyFaces() const { return numberOfNxAndNyFaces; } template< typename Real, typename Device, typename Index > Loading