function [ a, b, c, d, w ] = rule06 ( )

%*****************************************************************************80
%
%% rule06() returns the rule of precision 6.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 April 2023
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Jan Jaskowiec, Natarajan Sukumar,
%    High order symmetric cubature rules for tetrahedra and pyramids,
%    International Journal of Numerical Methods in Engineering,
%    Volume 122, Number 1, pages 148-171, 24 August 2020.
%
%  Output:
%
%    a(n), b(n), c(n), d(n): the barycentric coordinates of quadrature points.
%
%    w(n): the quadrature weights.
%
  a = [ ...
      0.04067395853461135136, ...
      0.87797812439616595981, ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.32233789014227548497, ...
      0.03298632957317346875, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.21460287125915203377, ...
      0.35619138622254392645, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550 ];

  b = [ ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.87797812439616595981, ...
      0.04067395853461135136, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.03298632957317346875, ...
      0.32233789014227548497, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.35619138622254392645, ...
      0.21460287125915203377, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743 ];

  c = [ ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.87797812439616595981, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.03298632957317346875, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.35619138622254392645, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.26967233145831581709 ];

  d = [ ...
      0.87797812439616595981, ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.04067395853461135136, ...
      0.03298632957317346875, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.32233789014227548497, ...
      0.35619138622254392645, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.21460287125915203377, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.26967233145831581709, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550, ...
      0.60300566479164918743, ...
      0.06366100187501752550, ...
      0.06366100187501752550 ];

  w = [ ...
      0.01007721105532064301, ...
      0.01007721105532064301, ...
      0.01007721105532064301, ...
      0.01007721105532064301, ...
      0.05535718154365472377, ...
      0.05535718154365472377, ...
      0.05535718154365472377, ...
      0.05535718154365472377, ...
      0.03992275025816749423, ...
      0.03992275025816749423, ...
      0.03992275025816749423, ...
      0.03992275025816749423, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647, ...
      0.04821428571428571647 ];

  return
end
