Eltm

class Eltm(*args)

GetFEM Eltm object

This object represents a type of elementary matrix. In order to obtain a numerical value of these matrices, see MeshIm.eltm().

If you have very particular assembling needs, or if you just want to check the content of an elementary matrix, this function might be useful. But the generic assembly abilities of gf_asm(…) should suit most needs.

General constructor for Eltm objects

  • E = Eltm('base', Fem FEM) return a descriptor for the integration of shape functions on elements, using the Fem FEM.
  • E = Eltm('grad', Fem FEM) return a descriptor for the integration of the gradient of shape functions on elements, using the Fem FEM.
  • E = Eltm('hessian', Fem FEM) return a descriptor for the integration of the hessian of shape functions on elements, using the Fem FEM.
  • E = Eltm('normal') return a descriptor for the unit normal of convex faces.
  • E = Eltm('grad_geotrans') return a descriptor to the gradient matrix of the geometric transformation.
  • E = Eltm('grad_geotrans_inv') return a descriptor to the inverse of the gradient matrix of the geometric transformation (this is rarely used).
  • E = Eltm('product', Eltm A, Eltm B) return a descriptor for the integration of the tensorial product of elementary matrices A and B.