diff options
Diffstat (limited to 'map65/libm65/cacb_mod.f90')
| -rw-r--r-- | map65/libm65/cacb_mod.f90 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/map65/libm65/cacb_mod.f90 b/map65/libm65/cacb_mod.f90 new file mode 100644 index 00000000..badd7025 --- /dev/null +++ b/map65/libm65/cacb_mod.f90 @@ -0,0 +1,13 @@ +module cacb_mod + implicit none + complex, allocatable :: ca(:), cb(:) ! FFTs of input + +contains + subroutine init_cacb(n) + use iso_fortran_env + integer, intent(in) :: n + if (.not. allocated(ca)) allocate (ca(n)) + if (.not. allocated(cb)) allocate (cb(n)) + end subroutine init_cacb + +end module cacb_mod |
