Interface declarations to the fxtf_wrapper.c routines.
Those routines enable the passing of Fortran arrays to the FXTPACK and take care of putting the data into the fxt_vecld data structures, which are then passed on to the actual fxt_* routines.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | dimension(*) | :: | v | |||
integer(kind=c_int), | value | :: | vn | |||
type(c_ptr), | value | :: | flpt | |||
real(kind=c_double), | dimension(*) | :: | u | |||
integer(kind=c_int), | value | :: | un | |||
type(c_ptr), | value | :: | w |
Interface declarations to the fxtf_wrapper.c routines.
Those routines enable the passing of Fortran arrays to the FXTPACK and take care of putting the data into the fxt_vecld data structures, which are then passed on to the actual fxt_* routines.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | dimension(*) | :: | u | |||
integer(kind=c_int), | value | :: | un | |||
type(c_ptr), | value | :: | flpt | |||
real(kind=c_double), | dimension(*) | :: | v | |||
integer(kind=c_int), | value | :: | vn | |||
type(c_ptr), | value | :: | w |
Interface declarations to the fxtf_wrapper.c routines.
Those routines enable the passing of Fortran arrays to the FXTPACK and take care of putting the data into the fxt_vecld data structures, which are then passed on to the actual fxt_* routines.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | dimension(*) | :: | v | |||
integer(kind=c_int), | value | :: | vn | |||
type(c_ptr), | value | :: | falt | |||
integer(kind=c_long), | value | :: | m | |||
real(kind=c_double), | dimension(*) | :: | u | |||
integer(kind=c_int), | value | :: | un | |||
type(c_ptr), | value | :: | w |
Interface declarations to the fxtf_wrapper.c routines.
Those routines enable the passing of Fortran arrays to the FXTPACK and take care of putting the data into the fxt_vecld data structures, which are then passed on to the actual fxt_* routines.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | dimension(*) | :: | u | |||
integer(kind=c_int), | value | :: | un | |||
type(c_ptr), | value | :: | falt | |||
integer(kind=c_long), | value | :: | m | |||
real(kind=c_double), | dimension(*) | :: | v | |||
integer(kind=c_int), | value | :: | vn | |||
type(c_ptr), | value | :: | w |
This datatype provides a handle to the information that FXTPACK needs to have about the transformation.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(c_ptr), | public | :: | handle |
Handle for the fast Legendre polynomial transformation data in FXTPACK. |
|||
type(c_ptr), | public | :: | work |
Pointer to the working array, that is required by the transformations. |
Convert modal data to nodal data using flpt.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fxtf_flptld_type), | intent(in) | :: | flpt |
Description of the Fast Legendre Polynomial Transform |
||
real(kind=rk), | target | :: | modal_data(:) |
Modal data |
||
real(kind=rk), | target | :: | nodal_data(:) |
Nodal data |
Convert nodal data to modal data using flpt.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fxtf_flptld_type) | :: | flpt |
Description of the Fast Legendre Polynomial Transform |
|||
real(kind=rk), | target | :: | nodal_data(:) |
Nodal data |
||
real(kind=rk), | target | :: | modal_data(:) |
Modal data |
Initialize the flpt data structure for fast legendre polynomial transformation via the fxtpack.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(fxtf_flptld_type), | intent(out) | :: | flpt |
Handle to the resulting fast polynomial table. |
||
integer, | intent(in) | :: | degree |
Polynomial degree. |
||
integer, | intent(in), | optional | :: | nPoints |
Number of points. |
|
real(kind=c_double), | intent(in), | optional | :: | prec |
Required precision for the transformation. |