| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818 |
- !*******************************************************************************
- ! Copyright (c) 2003, 2007-11 Matteo Frigo
- ! Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
- !
- ! This program is distributed with permission
- !
- !*******************************************************************************
- ! Generated automatically by FFTW generator. DO NOT EDIT!
- include 'fftw3.f03'
- integer(C_INTPTR_T), parameter :: FFTW_MPI_DEFAULT_BLOCK = 0
- integer(C_INT), parameter :: FFTW_MPI_SCRAMBLED_IN = 134217728
- integer(C_INT), parameter :: FFTW_MPI_SCRAMBLED_OUT = 268435456
- integer(C_INT), parameter :: FFTW_MPI_TRANSPOSED_IN = 536870912
- integer(C_INT), parameter :: FFTW_MPI_TRANSPOSED_OUT = 1073741824
- type, bind(C) :: fftw_mpi_ddim
- integer(C_INTPTR_T) n, ib, ob
- end type fftw_mpi_ddim
- interface
- subroutine fftw_mpi_init() bind(C, name='fftw_mpi_init')
- import
- end subroutine fftw_mpi_init
- subroutine fftw_mpi_cleanup() bind(C, name='fftw_mpi_cleanup')
- import
- end subroutine fftw_mpi_cleanup
- integer(C_INTPTR_T) function fftw_mpi_local_size_many_transposed(rnk,n,howmany,block0,block1,comm,local_n0,local_0_start, &
- local_n1,local_1_start) &
- bind(C, name='fftw_mpi_local_size_many_transposed_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INTPTR_T), value :: block1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftw_mpi_local_size_many_transposed
- integer(C_INTPTR_T) function fftw_mpi_local_size_many(rnk,n,howmany,block0,comm,local_n0,local_0_start) &
- bind(C, name='fftw_mpi_local_size_many_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftw_mpi_local_size_many
- integer(C_INTPTR_T) function fftw_mpi_local_size_transposed(rnk,n,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftw_mpi_local_size_transposed_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftw_mpi_local_size_transposed
- integer(C_INTPTR_T) function fftw_mpi_local_size(rnk,n,comm,local_n0,local_0_start) bind(C, name='fftw_mpi_local_size_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftw_mpi_local_size
- integer(C_INTPTR_T) function fftw_mpi_local_size_many_1d(n0,howmany,comm,sign,flags,local_ni,local_i_start,local_no, &
- local_o_start) bind(C, name='fftw_mpi_local_size_many_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: howmany
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- integer(C_INTPTR_T), intent(out) :: local_ni
- integer(C_INTPTR_T), intent(out) :: local_i_start
- integer(C_INTPTR_T), intent(out) :: local_no
- integer(C_INTPTR_T), intent(out) :: local_o_start
- end function fftw_mpi_local_size_many_1d
- integer(C_INTPTR_T) function fftw_mpi_local_size_1d(n0,comm,sign,flags,local_ni,local_i_start,local_no,local_o_start) &
- bind(C, name='fftw_mpi_local_size_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- integer(C_INTPTR_T), intent(out) :: local_ni
- integer(C_INTPTR_T), intent(out) :: local_i_start
- integer(C_INTPTR_T), intent(out) :: local_no
- integer(C_INTPTR_T), intent(out) :: local_o_start
- end function fftw_mpi_local_size_1d
- integer(C_INTPTR_T) function fftw_mpi_local_size_2d(n0,n1,comm,local_n0,local_0_start) &
- bind(C, name='fftw_mpi_local_size_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftw_mpi_local_size_2d
- integer(C_INTPTR_T) function fftw_mpi_local_size_2d_transposed(n0,n1,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftw_mpi_local_size_2d_transposed_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftw_mpi_local_size_2d_transposed
- integer(C_INTPTR_T) function fftw_mpi_local_size_3d(n0,n1,n2,comm,local_n0,local_0_start) &
- bind(C, name='fftw_mpi_local_size_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftw_mpi_local_size_3d
- integer(C_INTPTR_T) function fftw_mpi_local_size_3d_transposed(n0,n1,n2,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftw_mpi_local_size_3d_transposed_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftw_mpi_local_size_3d_transposed
- type(C_PTR) function fftw_mpi_plan_many_transpose(n0,n1,howmany,block0,block1,in,out,comm,flags) &
- bind(C, name='fftw_mpi_plan_many_transpose_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INTPTR_T), value :: block1
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_many_transpose
- type(C_PTR) function fftw_mpi_plan_transpose(n0,n1,in,out,comm,flags) bind(C, name='fftw_mpi_plan_transpose_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_transpose
- type(C_PTR) function fftw_mpi_plan_many_dft(rnk,n,howmany,block,tblock,in,out,comm,sign,flags) &
- bind(C, name='fftw_mpi_plan_many_dft_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block
- integer(C_INTPTR_T), value :: tblock
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_many_dft
- type(C_PTR) function fftw_mpi_plan_dft(rnk,n,in,out,comm,sign,flags) bind(C, name='fftw_mpi_plan_dft_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft
- type(C_PTR) function fftw_mpi_plan_dft_1d(n0,in,out,comm,sign,flags) bind(C, name='fftw_mpi_plan_dft_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_1d
- type(C_PTR) function fftw_mpi_plan_dft_2d(n0,n1,in,out,comm,sign,flags) bind(C, name='fftw_mpi_plan_dft_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_2d
- type(C_PTR) function fftw_mpi_plan_dft_3d(n0,n1,n2,in,out,comm,sign,flags) bind(C, name='fftw_mpi_plan_dft_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_3d
- type(C_PTR) function fftw_mpi_plan_many_r2r(rnk,n,howmany,iblock,oblock,in,out,comm,kind,flags) &
- bind(C, name='fftw_mpi_plan_many_r2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_many_r2r
- type(C_PTR) function fftw_mpi_plan_r2r(rnk,n,in,out,comm,kind,flags) bind(C, name='fftw_mpi_plan_r2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_r2r
- type(C_PTR) function fftw_mpi_plan_r2r_2d(n0,n1,in,out,comm,kind0,kind1,flags) bind(C, name='fftw_mpi_plan_r2r_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), value :: kind0
- integer(C_FFTW_R2R_KIND), value :: kind1
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_r2r_2d
- type(C_PTR) function fftw_mpi_plan_r2r_3d(n0,n1,n2,in,out,comm,kind0,kind1,kind2,flags) bind(C, name='fftw_mpi_plan_r2r_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- real(C_DOUBLE), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), value :: kind0
- integer(C_FFTW_R2R_KIND), value :: kind1
- integer(C_FFTW_R2R_KIND), value :: kind2
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_r2r_3d
- type(C_PTR) function fftw_mpi_plan_many_dft_r2c(rnk,n,howmany,iblock,oblock,in,out,comm,flags) &
- bind(C, name='fftw_mpi_plan_many_dft_r2c_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- real(C_DOUBLE), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_many_dft_r2c
- type(C_PTR) function fftw_mpi_plan_dft_r2c(rnk,n,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_r2c_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- real(C_DOUBLE), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_r2c
- type(C_PTR) function fftw_mpi_plan_dft_r2c_2d(n0,n1,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_r2c_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_DOUBLE), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_r2c_2d
- type(C_PTR) function fftw_mpi_plan_dft_r2c_3d(n0,n1,n2,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_r2c_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- real(C_DOUBLE), dimension(*), intent(out) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_r2c_3d
- type(C_PTR) function fftw_mpi_plan_many_dft_c2r(rnk,n,howmany,iblock,oblock,in,out,comm,flags) &
- bind(C, name='fftw_mpi_plan_many_dft_c2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_many_dft_c2r
- type(C_PTR) function fftw_mpi_plan_dft_c2r(rnk,n,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_c2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_c2r
- type(C_PTR) function fftw_mpi_plan_dft_c2r_2d(n0,n1,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_c2r_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_c2r_2d
- type(C_PTR) function fftw_mpi_plan_dft_c2r_3d(n0,n1,n2,in,out,comm,flags) bind(C, name='fftw_mpi_plan_dft_c2r_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftw_mpi_plan_dft_c2r_3d
- subroutine fftw_mpi_gather_wisdom(comm_) bind(C, name='fftw_mpi_gather_wisdom_f03')
- import
- integer(C_INT32_T), value :: comm_
- end subroutine fftw_mpi_gather_wisdom
- subroutine fftw_mpi_broadcast_wisdom(comm_) bind(C, name='fftw_mpi_broadcast_wisdom_f03')
- import
- integer(C_INT32_T), value :: comm_
- end subroutine fftw_mpi_broadcast_wisdom
- subroutine fftw_mpi_execute_dft(p,in,out) bind(C, name='fftw_mpi_execute_dft')
- import
- type(C_PTR), value :: p
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(inout) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- end subroutine fftw_mpi_execute_dft
- subroutine fftw_mpi_execute_dft_r2c(p,in,out) bind(C, name='fftw_mpi_execute_dft_r2c')
- import
- type(C_PTR), value :: p
- real(C_DOUBLE), dimension(*), intent(inout) :: in
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(out) :: out
- end subroutine fftw_mpi_execute_dft_r2c
- subroutine fftw_mpi_execute_dft_c2r(p,in,out) bind(C, name='fftw_mpi_execute_dft_c2r')
- import
- type(C_PTR), value :: p
- complex(C_DOUBLE_COMPLEX), dimension(*), intent(inout) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- end subroutine fftw_mpi_execute_dft_c2r
- subroutine fftw_mpi_execute_r2r(p,in,out) bind(C, name='fftw_mpi_execute_r2r')
- import
- type(C_PTR), value :: p
- real(C_DOUBLE), dimension(*), intent(inout) :: in
- real(C_DOUBLE), dimension(*), intent(out) :: out
- end subroutine fftw_mpi_execute_r2r
- end interface
- type, bind(C) :: fftwf_mpi_ddim
- integer(C_INTPTR_T) n, ib, ob
- end type fftwf_mpi_ddim
- interface
- subroutine fftwf_mpi_init() bind(C, name='fftwf_mpi_init')
- import
- end subroutine fftwf_mpi_init
- subroutine fftwf_mpi_cleanup() bind(C, name='fftwf_mpi_cleanup')
- import
- end subroutine fftwf_mpi_cleanup
- integer(C_INTPTR_T) function fftwf_mpi_local_size_many_transposed(rnk,n,howmany,block0,block1,comm,local_n0,local_0_start, &
- local_n1,local_1_start) &
- bind(C, name='fftwf_mpi_local_size_many_transposed_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INTPTR_T), value :: block1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftwf_mpi_local_size_many_transposed
- integer(C_INTPTR_T) function fftwf_mpi_local_size_many(rnk,n,howmany,block0,comm,local_n0,local_0_start) &
- bind(C, name='fftwf_mpi_local_size_many_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftwf_mpi_local_size_many
- integer(C_INTPTR_T) function fftwf_mpi_local_size_transposed(rnk,n,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftwf_mpi_local_size_transposed_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftwf_mpi_local_size_transposed
- integer(C_INTPTR_T) function fftwf_mpi_local_size(rnk,n,comm,local_n0,local_0_start) bind(C, name='fftwf_mpi_local_size_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftwf_mpi_local_size
- integer(C_INTPTR_T) function fftwf_mpi_local_size_many_1d(n0,howmany,comm,sign,flags,local_ni,local_i_start,local_no, &
- local_o_start) bind(C, name='fftwf_mpi_local_size_many_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: howmany
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- integer(C_INTPTR_T), intent(out) :: local_ni
- integer(C_INTPTR_T), intent(out) :: local_i_start
- integer(C_INTPTR_T), intent(out) :: local_no
- integer(C_INTPTR_T), intent(out) :: local_o_start
- end function fftwf_mpi_local_size_many_1d
- integer(C_INTPTR_T) function fftwf_mpi_local_size_1d(n0,comm,sign,flags,local_ni,local_i_start,local_no,local_o_start) &
- bind(C, name='fftwf_mpi_local_size_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- integer(C_INTPTR_T), intent(out) :: local_ni
- integer(C_INTPTR_T), intent(out) :: local_i_start
- integer(C_INTPTR_T), intent(out) :: local_no
- integer(C_INTPTR_T), intent(out) :: local_o_start
- end function fftwf_mpi_local_size_1d
- integer(C_INTPTR_T) function fftwf_mpi_local_size_2d(n0,n1,comm,local_n0,local_0_start) &
- bind(C, name='fftwf_mpi_local_size_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftwf_mpi_local_size_2d
- integer(C_INTPTR_T) function fftwf_mpi_local_size_2d_transposed(n0,n1,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftwf_mpi_local_size_2d_transposed_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftwf_mpi_local_size_2d_transposed
- integer(C_INTPTR_T) function fftwf_mpi_local_size_3d(n0,n1,n2,comm,local_n0,local_0_start) &
- bind(C, name='fftwf_mpi_local_size_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- end function fftwf_mpi_local_size_3d
- integer(C_INTPTR_T) function fftwf_mpi_local_size_3d_transposed(n0,n1,n2,comm,local_n0,local_0_start,local_n1,local_1_start) &
- bind(C, name='fftwf_mpi_local_size_3d_transposed_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- integer(C_INT32_T), value :: comm
- integer(C_INTPTR_T), intent(out) :: local_n0
- integer(C_INTPTR_T), intent(out) :: local_0_start
- integer(C_INTPTR_T), intent(out) :: local_n1
- integer(C_INTPTR_T), intent(out) :: local_1_start
- end function fftwf_mpi_local_size_3d_transposed
- type(C_PTR) function fftwf_mpi_plan_many_transpose(n0,n1,howmany,block0,block1,in,out,comm,flags) &
- bind(C, name='fftwf_mpi_plan_many_transpose_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block0
- integer(C_INTPTR_T), value :: block1
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_many_transpose
- type(C_PTR) function fftwf_mpi_plan_transpose(n0,n1,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_transpose_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_transpose
- type(C_PTR) function fftwf_mpi_plan_many_dft(rnk,n,howmany,block,tblock,in,out,comm,sign,flags) &
- bind(C, name='fftwf_mpi_plan_many_dft_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: block
- integer(C_INTPTR_T), value :: tblock
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_many_dft
- type(C_PTR) function fftwf_mpi_plan_dft(rnk,n,in,out,comm,sign,flags) bind(C, name='fftwf_mpi_plan_dft_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft
- type(C_PTR) function fftwf_mpi_plan_dft_1d(n0,in,out,comm,sign,flags) bind(C, name='fftwf_mpi_plan_dft_1d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_1d
- type(C_PTR) function fftwf_mpi_plan_dft_2d(n0,n1,in,out,comm,sign,flags) bind(C, name='fftwf_mpi_plan_dft_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_2d
- type(C_PTR) function fftwf_mpi_plan_dft_3d(n0,n1,n2,in,out,comm,sign,flags) bind(C, name='fftwf_mpi_plan_dft_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: sign
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_3d
- type(C_PTR) function fftwf_mpi_plan_many_r2r(rnk,n,howmany,iblock,oblock,in,out,comm,kind,flags) &
- bind(C, name='fftwf_mpi_plan_many_r2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_many_r2r
- type(C_PTR) function fftwf_mpi_plan_r2r(rnk,n,in,out,comm,kind,flags) bind(C, name='fftwf_mpi_plan_r2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), dimension(*), intent(in) :: kind
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_r2r
- type(C_PTR) function fftwf_mpi_plan_r2r_2d(n0,n1,in,out,comm,kind0,kind1,flags) bind(C, name='fftwf_mpi_plan_r2r_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), value :: kind0
- integer(C_FFTW_R2R_KIND), value :: kind1
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_r2r_2d
- type(C_PTR) function fftwf_mpi_plan_r2r_3d(n0,n1,n2,in,out,comm,kind0,kind1,kind2,flags) &
- bind(C, name='fftwf_mpi_plan_r2r_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- real(C_FLOAT), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_FFTW_R2R_KIND), value :: kind0
- integer(C_FFTW_R2R_KIND), value :: kind1
- integer(C_FFTW_R2R_KIND), value :: kind2
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_r2r_3d
- type(C_PTR) function fftwf_mpi_plan_many_dft_r2c(rnk,n,howmany,iblock,oblock,in,out,comm,flags) &
- bind(C, name='fftwf_mpi_plan_many_dft_r2c_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- real(C_FLOAT), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_many_dft_r2c
- type(C_PTR) function fftwf_mpi_plan_dft_r2c(rnk,n,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_r2c_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- real(C_FLOAT), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_r2c
- type(C_PTR) function fftwf_mpi_plan_dft_r2c_2d(n0,n1,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_r2c_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- real(C_FLOAT), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_r2c_2d
- type(C_PTR) function fftwf_mpi_plan_dft_r2c_3d(n0,n1,n2,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_r2c_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- real(C_FLOAT), dimension(*), intent(out) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_r2c_3d
- type(C_PTR) function fftwf_mpi_plan_many_dft_c2r(rnk,n,howmany,iblock,oblock,in,out,comm,flags) &
- bind(C, name='fftwf_mpi_plan_many_dft_c2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- integer(C_INTPTR_T), value :: howmany
- integer(C_INTPTR_T), value :: iblock
- integer(C_INTPTR_T), value :: oblock
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_many_dft_c2r
- type(C_PTR) function fftwf_mpi_plan_dft_c2r(rnk,n,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_c2r_f03')
- import
- integer(C_INT), value :: rnk
- integer(C_INTPTR_T), dimension(*), intent(in) :: n
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_c2r
- type(C_PTR) function fftwf_mpi_plan_dft_c2r_2d(n0,n1,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_c2r_2d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_c2r_2d
- type(C_PTR) function fftwf_mpi_plan_dft_c2r_3d(n0,n1,n2,in,out,comm,flags) bind(C, name='fftwf_mpi_plan_dft_c2r_3d_f03')
- import
- integer(C_INTPTR_T), value :: n0
- integer(C_INTPTR_T), value :: n1
- integer(C_INTPTR_T), value :: n2
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- integer(C_INT32_T), value :: comm
- integer(C_INT), value :: flags
- end function fftwf_mpi_plan_dft_c2r_3d
- subroutine fftwf_mpi_gather_wisdom(comm_) bind(C, name='fftwf_mpi_gather_wisdom_f03')
- import
- integer(C_INT32_T), value :: comm_
- end subroutine fftwf_mpi_gather_wisdom
- subroutine fftwf_mpi_broadcast_wisdom(comm_) bind(C, name='fftwf_mpi_broadcast_wisdom_f03')
- import
- integer(C_INT32_T), value :: comm_
- end subroutine fftwf_mpi_broadcast_wisdom
- subroutine fftwf_mpi_execute_dft(p,in,out) bind(C, name='fftwf_mpi_execute_dft')
- import
- type(C_PTR), value :: p
- complex(C_FLOAT_COMPLEX), dimension(*), intent(inout) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- end subroutine fftwf_mpi_execute_dft
- subroutine fftwf_mpi_execute_dft_r2c(p,in,out) bind(C, name='fftwf_mpi_execute_dft_r2c')
- import
- type(C_PTR), value :: p
- real(C_FLOAT), dimension(*), intent(inout) :: in
- complex(C_FLOAT_COMPLEX), dimension(*), intent(out) :: out
- end subroutine fftwf_mpi_execute_dft_r2c
- subroutine fftwf_mpi_execute_dft_c2r(p,in,out) bind(C, name='fftwf_mpi_execute_dft_c2r')
- import
- type(C_PTR), value :: p
- complex(C_FLOAT_COMPLEX), dimension(*), intent(inout) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- end subroutine fftwf_mpi_execute_dft_c2r
- subroutine fftwf_mpi_execute_r2r(p,in,out) bind(C, name='fftwf_mpi_execute_r2r')
- import
- type(C_PTR), value :: p
- real(C_FLOAT), dimension(*), intent(inout) :: in
- real(C_FLOAT), dimension(*), intent(out) :: out
- end subroutine fftwf_mpi_execute_r2r
- end interface
|