prism_jaskowiec_rule
prism_jaskowiec_rule,
a C code which
returns symmetric quadrature rules, with exactness up to total degree 20,
over the interior of a prism with triangular base,
by Jan Jaskowiec, Natarajan Sukumar.
Licensing:
The computer code and data files made available on this
web page are distributed under
the MIT license
Languages:
prism_jaskowiec_rule is available in
a C version and
a C++ version and
a Fortran90 version and
a MATLAB version and
an Octave version and
a Python version.
Related Data and Programs:
prism_jaskowiec_rule_test
prism_witherden_rule,
a C code which
returns a symmetric Witherden quadrature rule for a prism with
triangular base, with exactness up to total degree 10.
Reference:
-
Jan Jaskowiec, Natarajan Sukumar,
High order cubature rules for tetrahedra and pyramids,
International Journal of Numerical Methods in Engineering,
Volume 121, Number 11, pages 2418-2436, 15 June 2020.
-
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.
Source Code:
-
prism_jaskowiec_rule_to_c.m,
a MATLAB script which reads a data file describing one of
the rules (with 128 digits) and writes a C function
to return points and weights.
Last revised on 03 May 2023.