How to use the quadpy.triangle.helpers._s111 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.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),
                ),
                (
                    1.810794493121245e-02,
                    _s111(7.040048199660421e-01, 2.214348854323311e-01),
                ),
                (
                    2.926315103470200e-03,
                    _s111(8.525669543768892e-01, 1.424257573657564e-01),
                ),
                (
                    1.610216276402411e-02,
                    _s111(6.050839790687079e-01, 3.540280097352753e-01),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(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),
                ),
                (
                    9.590681003543263e-03,
                    _s111(7.223577931241880e-01, 2.725158177734296e-01),
                ),
            ]
        elif degree == 14:
            data = [
                (4.216258873699302e-02, _s21(1.772055324125434e-01)),
                (3.278835354412535e-02, _s21(4.176447193404539e-01)),
                (1.443369966977667e-02, _s21(6.179988309087259e-02)),
                (2.188358136942889e-02, _s21(4.889639103621786e-01)),
                (5.177410450729159e-02, _s21(2.734775283088386e-01)),
                (4.923403602400082e-03, _s21(1.939096124870104e-02)),
                (
                    1.443630811353384e-02,
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
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,
                    _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,
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
),
                (
                    8.291423055227716e-03,
                    _s111(8.616840189364867e-01, 9.995229628813868e-02),
                ),
                (
                    1.544521564419846e-02,
                    _s111(6.781657378896355e-01, 2.156070573900944e-01),
                ),
                (
                    7.391363000510596e-03,
                    _s111(5.701446928909734e-01, 4.200237588162241e-01),
                ),
                (
                    2.338349146365547e-02,
                    _s111(5.423318041724281e-01, 3.178601238357720e-01),
                ),
                (
                    7.156400476915370e-03,
                    _s111(7.086813757203236e-01, 2.805814114236653e-01),
                ),
            ]

        self.bary, self.weights = untangle(data)
        self.points = self.bary[:, 1:]
        return
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
),
                (
                    6.840110119607182e-03,
                    _s111(8.783421894675217e-01, 1.081957937910333e-01),
                ),
                (
                    1.774748910202040e-02,
                    _s111(6.399880920047146e-01, 3.197516245253773e-01),
                ),
                (
                    5.010660874579722e-03,
                    _s111(7.589294798551984e-01, 2.357721849581917e-01),
                ),
                (
                    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)),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
),
            ]
        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),
                ),
                (
                    9.590681003543263e-03,
                    _s111(7.223577931241880e-01, 2.725158177734296e-01),
                ),
            ]
        elif degree == 14:
            data = [
                (4.216258873699302e-02, _s21(1.772055324125434e-01)),
                (3.278835354412535e-02, _s21(4.176447193404539e-01)),
                (1.443369966977667e-02, _s21(6.179988309087259e-02)),
                (2.188358136942889e-02, _s21(4.889639103621786e-01)),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
),
                (
                    1.733445113443867e-02,
                    _s111(6.118777035474257e-01, 3.331348173095876e-01),
                ),
                (
                    8.291423055227716e-03,
                    _s111(8.616840189364867e-01, 9.995229628813868e-02),
                ),
                (
                    1.544521564419846e-02,
                    _s111(6.781657378896355e-01, 2.156070573900944e-01),
                ),
                (
                    7.391363000510596e-03,
                    _s111(5.701446928909734e-01, 4.200237588162241e-01),
                ),
                (
                    2.338349146365547e-02,
                    _s111(5.423318041724281e-01, 3.178601238357720e-01),
                ),
                (
                    7.156400476915370e-03,
                    _s111(7.086813757203236e-01, 2.805814114236653e-01),
                ),
            ]

        self.bary, self.weights = untangle(data)
        self.points = self.bary[:, 1:]
        return
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
]
        elif degree == 14:
            data = [
                (4.216258873699302e-02, _s21(1.772055324125434e-01)),
                (3.278835354412535e-02, _s21(4.176447193404539e-01)),
                (1.443369966977667e-02, _s21(6.179988309087259e-02)),
                (2.188358136942889e-02, _s21(4.889639103621786e-01)),
                (5.177410450729159e-02, _s21(2.734775283088386e-01)),
                (4.923403602400082e-03, _s21(1.939096124870104e-02)),
                (
                    1.443630811353384e-02,
                    _s111(6.869801678080878e-01, 2.983728821362578e-01),
                ),
                (
                    2.466575321256367e-02,
                    _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)),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
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),
                ),
                (
                    6.840110119607182e-03,
                    _s111(8.783421894675217e-01, 1.081957937910333e-01),
                ),
                (
                    1.774748910202040e-02,
                    _s111(6.399880920047146e-01, 3.197516245253773e-01),
github nschloe / quadpy / quadpy / triangle / witherden_vincent.py View on Github external
(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),
                ),
                (
                    9.590681003543263e-03,
                    _s111(7.223577931241880e-01, 2.725158177734296e-01),
                ),
            ]
        elif degree == 14:
            data = [
                (4.216258873699302e-02, _s21(1.772055324125434e-01)),
                (3.278835354412535e-02, _s21(4.176447193404539e-01)),
                (1.443369966977667e-02, _s21(6.179988309087259e-02)),
                (2.188358136942889e-02, _s21(4.889639103621786e-01)),
                (5.177410450729159e-02, _s21(2.734775283088386e-01)),
                (4.923403602400082e-03, _s21(1.939096124870104e-02)),
                (
                    1.443630811353384e-02,
                    _s111(6.869801678080878e-01, 2.983728821362578e-01),
                ),
                (
                    2.466575321256367e-02,