S3L_acorr_free_setup invalidates the ID specified by the setup_id argument. This deallocates the internal memory that was reserved for the autocorrelation computation associated with that ID.
The C and Fortran syntax for S3L_acorr_free_setup are shown below.
#include <s3l/s3l-c.h> #include <s3l/s3l_errno-c.h> int S3L_acorr_free_setup(setup_id) int *setup_id |
include `s3l/s3l-f.h' include `s3l/s3l_errno-f.h' subroutine S3L_acorr_free_setup(setup_id, ier) integer*4 setup_id integer*4 ier |
where <type> is real*4 or real*8 for both C/C++ and F77/F90.
setup_id - Valid autocorrelation setup ID as returned from a previous call to S3L_acorr_setup.
This function uses the following argument for output:
ier (Fortran only) - When called from a Fortran program, this function returns error status in ier.
On success, S3L_acorr_free_setup returns S3L_SUCCESS.
In addition, the following condition causes the function to terminate and return the associated code:
S3L_ERR_ARG_SETUP - Invalid setup_id value.
../examples/s3l/acorr/ex_acorr.c ../examples/s3l/acorr-f/ex_acorr.f
S3L_acorr(3) S3L_acorr_setup(3)