Function soti_insert_item#

Function Documentation#

void soti_insert_item(ndir_t pos, coeff_t val, imdir_t idx, ord_t order, sotinum_t *num, dhelpl_t dhl)#

Function that inserts the corresponding value in the arrays defining the oti number. If the array requires reallocation, it performs the reallocation in memory. This function preserves the order of the indices.

Parameters:
  • val[in] Value to be set.

  • idx[in] Index of the imaginary direction

  • order[in] Order that defines the imaginary direction.

  • num[inout] OTI number.

  • dhl[in] Direction helper list object.