proteus.Quadrature module
A class hierarchy for numerical integration on reference domains in 1,2, and 3D.
- class proteus.Quadrature.Q_base(order=1)[source]
Bases:
object
The base class for quadrature methods.
- class proteus.Quadrature.GaussPoint(order=1)[source]
Bases:
proteus.Quadrature.Q_base
A dummy class for integrating the boundary of the unit interval (i.e. a point).
- proteus.Quadrature.LobattoPoint[source]
alias of
proteus.Quadrature.GaussPoint
- class proteus.Quadrature.GaussEdge(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gaussian Quadrature on the unit interval.
- class proteus.Quadrature.LobattoEdge(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss-Lobatto quadrature on the unit interval.
- class proteus.Quadrature.LobattoEdgeAlt(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss-Lobatto quadrature on the [-1:1] interval.
- class proteus.Quadrature.CompositeTrapezoidalEdge(order=1, maxOrder=20)[source]
Bases:
proteus.Quadrature.Q_base
Composite trapezoidal rule on the unit interval. order is number of intervals
- class proteus.Quadrature.FaceBarycenterEdge(order=1)[source]
Bases:
proteus.Quadrature.Q_base
- class proteus.Quadrature.GaussTriangle(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss quadrature on the unit triangle.
- class proteus.Quadrature.CompositeTriangle(quad_rule, hk)[source]
Bases:
proteus.Quadrature.Q_base
Composite quadrature rule on the unit triangle.
- class proteus.Quadrature.CompositeTetrahedron(quad_rule, hk)[source]
Bases:
proteus.Quadrature.Q_base
refine the reference tetrahedron until the largest edge < hk
- get_8_sub_simplex(simplex_nodes)[source]
Return 8 sub-simplex of the simplex givne by simplex_nodes: 4 points ordered by right hand rule. https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/22430/versions/7/previews/tetrarefine3.m/index.html?access_key=
- class proteus.Quadrature.LobattoTriangle(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss-Lobatto quadrature on the unit triangle.
- class proteus.Quadrature.CompositeTrapezoidalTriangle(order=1, maxOrder=20)[source]
Bases:
proteus.Quadrature.Q_base
Composite trapezoidal rule on the reference triangle order is number of intervals
- class proteus.Quadrature.FaceBarycenterTriangle(order=1)[source]
Bases:
proteus.Quadrature.Q_base
- class proteus.Quadrature.GaussTetrahedron(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss-Legendre quadrature on the unit tetrahedron.
- class proteus.Quadrature.LobattoTetrahedron(order=1)[source]
Bases:
proteus.Quadrature.Q_base
Gauss-Lobatto quadrature on the unit tetrahedron.
- class proteus.Quadrature.FaceBarycenterTetrahedron(order=1)[source]
Bases:
proteus.Quadrature.Q_base
- class proteus.Quadrature.SimplexGaussQuadrature(nd=3, order=1)[source]
Bases:
proteus.Quadrature.Q_base
A class which defines quadrature on unit simplices.
- Parameters
- class proteus.Quadrature.CubeGaussQuadrature(nd=3, order=1)[source]
Bases:
proteus.Quadrature.Q_base
A class for all quadrature on unit simplices.
- class proteus.Quadrature.SimplexLobattoQuadrature(nd=3, order=1)[source]
Bases:
proteus.Quadrature.Q_base
A class for quadrature on unit simplices.