Function elem_start#

Function Documentation#

int64_t elem_start(elem_t *elem, uint64_t nbasis, int64_t geomBase, int64_t kind, uint8_t ndim)#

Setup of an element structure. This defines the interpolation function, and other parameters to be used.

Parameters:
  • elem[inout] Address of the element structure (Must come after a call to elem_init().

  • nbasis[in] Number of basis of the element (Equivalent to the number of DOFs of the element)

  • geomBase[in] Defines the basic geometry of the element (Line, Triangle, quad, tetrahedra,etc).

  • kind[in] Defines the kind of element Isoparametric or Affine.

  • ndim[in] Number of dimensions of the element.

  • basis_f[in] Pointer to function that defines the interpolation functions and its derivatives. (deprecated).