How to use the quadpy.triangle.helpers._s21 function in quadpy

To help you get started, we’ve selected a few quadpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(
                    3.198361007937007e-02,
                    _s111(5.891488405642479e-01, 3.082449691963540e-01),
                ),
                (
                    5.391187116848811e-03,
                    _s111(8.066218674993957e-01, 1.874417824837821e-01),
                ),
            ]
        elif degree == 17:
            data = [
                (2.731092652810211e-02, _s21(4.171034443615992e-01)),
                (2.773887577637642e-03, _s21(1.475549166075396e-02)),
                (2.501945095049736e-02, _s21(4.655978716188903e-01)),
                (2.631263058801799e-02, _s21(1.803581162663706e-01)),
                (1.245900080230544e-02, _s21(6.665406347959690e-02)),
                (3.771623715279528e-02, _s21(2.857065024365866e-01)),
                (
                    7.978300205929593e-03,
                    _s111(8.247900701650881e-01, 1.591922874727927e-01),
                ),
                (
                    2.248777254669107e-02,
                    _s111(6.263690303864522e-01, 3.062815917461865e-01),
                ),
                (
                    1.039843995583954e-02,
                    _s111(5.712948679446841e-01, 4.154754592952290e-01),
                ),
                (
                    2.055789832045452e-02,
                    _s111(7.532351459364581e-01, 1.687225134952595e-01),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(1.443156076777872e-01, _s3(symbolic)),
                (9.509163426728462e-02, _s21(4.592925882927231e-01)),
                (1.032173705347182e-01, _s21(1.705693077517602e-01)),
                (3.245849762319808e-02, _s21(5.054722831703096e-02)),
                (
                    2.723031417443499e-02,
                    _s111(7.284923929554042e-01, 2.631128296346381e-01),
                ),
            ]
        elif degree == 9:
            data = [
                (9.713579628279884e-02, _s3(symbolic)),
                (7.782754100477428e-02, _s21(4.370895914929366e-01)),
                (7.964773892721025e-02, _s21(1.882035356190327e-01)),
                (3.133470022713907e-02, _s21(4.896825191987376e-01)),
                (2.557767565869803e-02, _s21(4.472951339445269e-02)),
                (
                    4.328353937728938e-02,
                    _s111(7.411985987844980e-01, 2.219629891607657e-01),
                ),
            ]
        elif degree == 10:
            data = [
                (8.174332914628597e-02, _s3(symbolic)),
                (1.335296881314957e-02, _s21(3.205537321694352e-02)),
                (4.595796360474473e-02, _s21(1.421611010565644e-01)),
                (
                    6.390490639642404e-02,
                    _s111(5.300541189273440e-01, 3.218129952888354e-01),
                ),
                (
                    3.418464816295943e-02,
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
8.692214501001192e-03,
                    _s111(7.150722591106424e-01, 2.717918700553549e-01),
                ),
                (
                    4.584348401735867e-03,
                    _s111(9.159193532978169e-01, 7.250547079900249e-02),
                ),
                (
                    2.617162593533699e-02,
                    _s111(5.432755795961598e-01, 2.992189424769702e-01),
                ),
            ]
        elif degree == 18:
            data = [
                (3.635573530142667e-02, _s3(symbolic)),
                (3.330447003339013e-02, _s21(3.999556280675762e-01)),
                (1.204664763399971e-02, _s21(4.875803015748695e-01)),
                (1.894917150677887e-02, _s21(4.618095064064492e-01)),
                (3.647508940894364e-02, _s21(2.422647025142720e-01)),
                (7.129326019718970e-03, _s21(3.883025608868562e-02)),
                (1.655915995200325e-02, _s21(9.194774212164319e-02)),
                (
                    1.375961623494221e-02,
                    _s111(7.703723762146752e-01, 1.838227079254640e-01),
                ),
                (
                    2.378191090015283e-02,
                    _s111(6.709539851942345e-01, 2.063492574338379e-01),
                ),
                (
                    4.530534502257065e-03,
                    _s111(6.004189546342569e-01, 3.956834343322697e-01),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(1.660627305458537e-02, _s21(4.958919009658909e-01)),
                (6.731615407946830e-02, _s21(4.384659267643522e-01)),
                (
                    1.029028957295328e-02,
                    _s111(8.433497836618531e-01, 1.493247886520824e-01),
                ),
                (
                    4.033247664050055e-02,
                    _s111(6.644083741968642e-01, 2.895811256377059e-01),
                ),
            ]
        elif degree == 12:
            data = [
                (2.426683808145203e-02, _s21(4.882037509455415e-01)),
                (2.848605206887754e-02, _s21(1.092578276593543e-01)),
                (6.254121319590276e-02, _s21(2.714625070149261e-01)),
                (7.931642509973639e-03, _s21(2.464636343633558e-02)),
                (4.991833492806094e-02, _s21(4.401116486585931e-01)),
                (
                    2.178358503860756e-02,
                    _s111(6.853101639063919e-01, 2.916556797383409e-01),
                ),
                (
                    4.322736365941421e-02,
                    _s111(6.282497516835561e-01, 2.554542286385173e-01),
                ),
                (
                    1.508367757651144e-02,
                    _s111(8.513377925102401e-01, 1.272797172335894e-01),
                ),
            ]
        elif degree == 13:
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
2.178358503860756e-02,
                    _s111(6.853101639063919e-01, 2.916556797383409e-01),
                ),
                (
                    4.322736365941421e-02,
                    _s111(6.282497516835561e-01, 2.554542286385173e-01),
                ),
                (
                    1.508367757651144e-02,
                    _s111(8.513377925102401e-01, 1.272797172335894e-01),
                ),
            ]
        elif degree == 13:
            data = [
                (6.796003658683164e-02, _s3(symbolic)),
                (2.399440192889473e-02, _s21(4.890769464525394e-01)),
                (5.827848511919998e-02, _s21(2.213722862918329e-01)),
                (5.560196753045333e-02, _s21(4.269414142598004e-01)),
                (6.052337103539172e-03, _s21(2.150968110884316e-02)),
                (
                    2.417903981159382e-02,
                    _s111(7.485071158999522e-01, 1.635974010678505e-01),
                ),
                (
                    1.496540110516567e-02,
                    _s111(8.647077702954428e-01, 1.109220428034634e-01),
                ),
                (
                    3.464127614084837e-02,
                    _s111(6.235459955536755e-01, 3.084417608921178e-01),
                ),
                (
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(6.731615407946830e-02, _s21(4.384659267643522e-01)),
                (
                    1.029028957295328e-02,
                    _s111(8.433497836618531e-01, 1.493247886520824e-01),
                ),
                (
                    4.033247664050055e-02,
                    _s111(6.644083741968642e-01, 2.895811256377059e-01),
                ),
            ]
        elif degree == 12:
            data = [
                (2.426683808145203e-02, _s21(4.882037509455415e-01)),
                (2.848605206887754e-02, _s21(1.092578276593543e-01)),
                (6.254121319590276e-02, _s21(2.714625070149261e-01)),
                (7.931642509973639e-03, _s21(2.464636343633558e-02)),
                (4.991833492806094e-02, _s21(4.401116486585931e-01)),
                (
                    2.178358503860756e-02,
                    _s111(6.853101639063919e-01, 2.916556797383409e-01),
                ),
                (
                    4.322736365941421e-02,
                    _s111(6.282497516835561e-01, 2.554542286385173e-01),
                ),
                (
                    1.508367757651144e-02,
                    _s111(8.513377925102401e-01, 1.272797172335894e-01),
                ),
            ]
        elif degree == 13:
            data = [
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
3.418464816295943e-02,
                    _s111(6.012333286834592e-01, 3.691467818278109e-01),
                ),
                (
                    2.529775770728838e-02,
                    _s111(8.079306009228790e-01, 1.637017337371824e-01),
                ),
            ]
        elif degree == 11:
            data = [
                (8.576117973222422e-02, _s3(symbolic)),
                (1.043187051289470e-02, _s21(2.848541761437190e-02)),
                (7.051568411171658e-02, _s21(2.102199567031783e-01)),
                (3.863075923701932e-02, _s21(1.026354827122464e-01)),
                (1.660627305458537e-02, _s21(4.958919009658909e-01)),
                (6.731615407946830e-02, _s21(4.384659267643522e-01)),
                (
                    1.029028957295328e-02,
                    _s111(8.433497836618531e-01, 1.493247886520824e-01),
                ),
                (
                    4.033247664050055e-02,
                    _s111(6.644083741968642e-01, 2.895811256377059e-01),
                ),
            ]
        elif degree == 12:
            data = [
                (2.426683808145203e-02, _s21(4.882037509455415e-01)),
                (2.848605206887754e-02, _s21(1.092578276593543e-01)),
                (6.254121319590276e-02, _s21(2.714625070149261e-01)),
                (7.931642509973639e-03, _s21(2.464636343633558e-02)),
                (4.991833492806094e-02, _s21(4.401116486585931e-01)),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
),
                (
                    1.222948126961090e-03,
                    _s111(9.723607289627957e-01, 2.709091099516203e-02),
                ),
                (
                    2.548217531182444e-02,
                    _s111(5.459187753861946e-01, 3.334935294498808e-01),
                ),
            ]
        elif degree == 19:
            data = [
                (3.446939770401233e-02, _s3(symbolic)),
                (7.109256597798131e-03, _s21(5.252389035120897e-02)),
                (1.032175514294428e-02, _s21(4.925126750413369e-01)),
                (1.523435109301830e-02, _s21(1.114488733230214e-01)),
                (2.298359002674161e-02, _s21(4.591942010395437e-01)),
                (3.153753489315497e-02, _s21(4.039697225519012e-01)),
                (2.465191484819085e-02, _s21(1.781701047817643e-01)),
                (1.765322776442848e-03, _s21(1.163946118378945e-02)),
                (3.175301936600308e-02, _s21(2.551616329136077e-01)),
                (
                    9.695484486855047e-03,
                    _s111(8.301564644002754e-01, 1.306976762680324e-01),
                ),
                (
                    2.634632197739073e-02,
                    _s111(5.593698057203009e-01, 3.113176298095413e-01),
                ),
                (
                    3.282076551835819e-03,
                    _s111(6.333132931287841e-01, 3.646177809746111e-01),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
_s111(7.706085547749965e-01, 1.722666878213557e-01),
                ),
                (
                    3.857151078706068e-02,
                    _s111(5.702222908466832e-01, 3.368614597963450e-01),
                ),
                (
                    5.010228838500672e-03,
                    _s111(8.797571713701711e-01, 1.189744976969569e-01),
                ),
            ]
        elif degree == 15:
            data = [
                (4.433538738218407e-02, _s3(symbolic)),
                (4.271378157146057e-02, _s21(4.053622141339755e-01)),
                (1.644473756262516e-02, _s21(7.017355289998600e-02)),
                (1.739614800076341e-02, _s21(4.741706814380198e-01)),
                (4.678336172870963e-02, _s21(2.263787134203496e-01)),
                (9.573846182460086e-03, _s21(4.949969567691262e-01)),
                (2.960774637905375e-03, _s21(1.581172625098864e-02)),
                (
                    1.560257283057596e-02,
                    _s111(6.669756448018681e-01, 3.146482428124509e-01),
                ),
                (
                    4.029853372018099e-03,
                    _s111(9.199121577262361e-01, 7.094860523645541e-02),
                ),
                (
                    2.872058692520134e-02,
                    _s111(7.152223569314506e-01, 1.905355894763939e-01),
                ),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
elif degree == 7:
            data = [
                (1.654505011079213e-02, _s21(3.373064855458785e-02)),
                (1.279441712301556e-01, _s21(2.415773825954036e-01)),
                (7.708664618598607e-02, _s21(4.743096925047182e-01)),
                (
                    5.587873290319978e-02,
                    _s111(7.542800405500532e-01, 1.986833147973517e-01),
                ),
            ]
        elif degree == 8:
            data = [
                (1.443156076777872e-01, _s3(symbolic)),
                (9.509163426728462e-02, _s21(4.592925882927231e-01)),
                (1.032173705347182e-01, _s21(1.705693077517602e-01)),
                (3.245849762319808e-02, _s21(5.054722831703096e-02)),
                (
                    2.723031417443499e-02,
                    _s111(7.284923929554042e-01, 2.631128296346381e-01),
                ),
            ]
        elif degree == 9:
            data = [
                (9.713579628279884e-02, _s3(symbolic)),
                (7.782754100477428e-02, _s21(4.370895914929366e-01)),
                (7.964773892721025e-02, _s21(1.882035356190327e-01)),
                (3.133470022713907e-02, _s21(4.896825191987376e-01)),
                (2.557767565869803e-02, _s21(4.472951339445269e-02)),
                (
                    4.328353937728938e-02,
                    _s111(7.411985987844980e-01, 2.219629891607657e-01),
                ),