function [ x, y, z, w ] = rule11 ( )

%*****************************************************************************80
%
%% rule11() returns the hexahedron quadrature rule of precision 11.
%
%  Discussion:
%
%    The unit hexahedron H is bounded by vertices
%    (0,0,0), (1,0,0), (1,1,0), (0,1,0), (0,0,1), (1,0,1), (1,1,1), (0,1,1),
%
%    We call a rule with n points, returning coordinates
%    x, y, z, and weights w.  Then the integral I of f(x,y,z) over H is 
%    approximated by Q as follows:
%
%    Q = volume(H) * sum ( 1 <= i <= n ) w(i) * f(x(i),y(i),z(i)) 
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 May 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Jan Jaskowiec, Natarajan Sukumar,
%    High order symmetric cubature rules for tetrahedra and pyramids,
%    International Journal for Numerical Methods in Engineering,
%    Volume 122, Number 1, pages 148-171, 24 August 2020.
%
%  Output:
%
%    real x(n), y(n), z(n): the coordinates of quadrature points.
%
%    real w(n): the quadrature weights, which add to 1.
%
  x = [ ...
          0.8610665194372092, ...
          0.5000000000000000, ...
          0.5000000000000000, ...
          0.1389334805627908, ...
          0.5000000000000000, ...
          0.5000000000000000, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.9019667336076422, ...
          0.0980332663923578, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.9019667336076422, ...
          0.0980332663923578, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.0099502544954643, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.9900497455045357, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.9900497455045357, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.2971570099024518, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.7028429900975481, ...
          0.2971570099024518, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.7028429900975481 ];

  y = [ ...
          0.5000000000000000, ...
          0.8610665194372092, ...
          0.5000000000000000, ...
          0.5000000000000000, ...
          0.1389334805627908, ...
          0.5000000000000000, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.9019667336076422, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.9019667336076422, ...
          0.0980332663923578, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.0980332663923578, ...
          0.5000000000000000, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.9900497455045357, ...
          0.0099502544954643, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.2971570099024518, ...
          0.0227083905352169, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.0227083905352169, ...
          0.7028429900975481, ...
          0.2971570099024518 ];

  z = [ ...
          0.5000000000000000, ...
          0.5000000000000000, ...
          0.8610665194372092, ...
          0.5000000000000000, ...
          0.5000000000000000, ...
          0.1389334805627908, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.9047441009815494, ...
          0.0952558990184506, ...
          0.0952558990184506, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.2331729955597515, ...
          0.7668270044402485, ...
          0.7668270044402485, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.6403862933256372, ...
          0.3596137066743628, ...
          0.3596137066743628, ...
          0.5000000000000000, ...
          0.9019667336076422, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.9019667336076422, ...
          0.9019667336076422, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.0980332663923578, ...
          0.5000000000000000, ...
          0.0980332663923578, ...
          0.0980332663923578, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.2346080844030868, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.2346080844030868, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.9900497455045357, ...
          0.9900497455045357, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.0099502544954643, ...
          0.0099502544954643, ...
          0.7653919155969132, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.9772916094647830, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.9772916094647830, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.7028429900975481, ...
          0.7028429900975481, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.0227083905352169, ...
          0.2971570099024518, ...
          0.2971570099024518, ...
          0.0227083905352169 ];

  w = [ ...
          0.0296169245240206, ...
          0.0296169245240206, ...
          0.0296169245240206, ...
          0.0296169245240206, ...
          0.0296169245240206, ...
          0.0296169245240206, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0077511837875231, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0222210081090505, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0169887021445520, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0160272817769356, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0016188211900323, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196, ...
          0.0089763421101196 ];

  return
end
