Function loadnpy_ndirs#

Function Documentation#

void loadnpy_ndirs(char *strLocation, ord_t order, dhelp_t *p_dH)#

Loads the number of directions array. Given the truncation order and number of basis, it loads the file from the given folder.

Parameters:
  • strLocation[in] String with the folder that contains the *.npy file with fulldir.

  • order[in] Order to be loaded. Example: 3.

  • nbasis[in] Number of basis. Example: 10.

  • p_dH[out] Address of the helper to be loaded. Memory is allocated in this function.