Helper functions and classes for integration
- class modulus.vpinn_utils.integral.Quad_Rect(v, n, region_type=True, scheme_fcn=quadpy.c2.get_good_scheme)
Bases:
modulus.vpinn_utils.integral.Quadrature
The points are specified in an array of shape (2, 2, …) such that arr[0][0] is the lower left corner, arr[1][1] the upper right, and set region_type=False. If your c2 has its sides aligned with the coordinate axes, you can use v=[[x0, x1], [y0, y1]], and set region_type=True (default).
Helper functions for and classes for making test functions used in VPINNs