Integ¶
- class Integ(*args)¶
GetFEM Integ object
General object for obtaining handles to various integrations methods on convexes (used when the elementary matrices are built).
General constructor for Integ objects
I = Integ(string method)Here is a list of some integration methods defined in GetFEM (see the description of finite element and integration methods for a complete reference):IM_PRODUCT(A,B) : Product of two integration methods.
IM_GAUSS1D(k) : Gauss method on the segment, order k=1,3,…,99.
IM_NC(n,k) : Newton-Cotes approximative integration on simplexes, order k.
IM_NC_PARALLELEPIPED(n,k) : Product of Newton-Cotes integration on parallelepipeds.
IM_NC_PRISM(n,k) : Product of Newton-Cotes integration on prisms.
IM_GAUSS_PARALLELEPIPED(n,k) : Product of Gauss1D integration on parallelepipeds.
IM_TRIANGLE(k) : Gauss methods on triangles k=1,3,5,6,7,8,9,10,13,17,19.
IM_QUAD(k) : Gauss methods on quadrilaterons k=2,3,5, …,17. Note that IM_GAUSS_PARALLELEPIPED should be prefered for QK Fem’s.
IM_TETRAHEDRON(k) : Gauss methods on tetrahedrons k=1,2,3,5,6 or 8.
IM_SIMPLEX4D(3) : Gauss method on a 4-dimensional simplex.
IM_STRUCTURED_COMPOSITE(im,k) : Composite method on a grid with k divisions.
IM_HCT_COMPOSITE(im) : Composite integration suited to the HCT composite finite element.
Example:
I = Integ(‘IM_PRODUCT(IM_GAUSS1D(5),IM_GAUSS1D(5))’)
is the same as:
I = Integ(‘IM_GAUSS_PARALLELEPIPED(2,5)’)
Note that the exact integration methods (IM_EXACT_SIMPLEX, …) have been removed in GetFEM 6.0.
- char()¶
Ouput a (unique) string representation of the integration method.
This can be used to comparisons between two different Integ objects.
- coeffs()¶
Returns the coefficients associated to each integration point.
Only for approximate methods (not for IM_NONE).
- dim()¶
Return the dimension of the reference convex of the method.
- display()¶
displays a short summary for a Integ object.
- face_coeffs(F)¶
Returns the coefficients associated to each integration of a face.
Only for approximate methods (not for IM_NONE).
- face_pts(F)¶
Return the list of integration points for a face.
Only for approximate methods (not for IM_NONE).
- is_exact()¶
Return 0 (exact integration methods have been removed in GetFEM 6.0, all methods are approximate ones).
- nbpts()¶
Return the total number of integration points.
Count the points for the volume integration, and points for surface integration on each face of the reference convex.
Only for approximate methods (not for IM_NONE).
- pts()¶
Return the list of integration points
Only for approximate methods (not for IM_NONE).
