summaryrefslogtreecommitdiff
path: root/map65/libm65/cacb_mod.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
committerChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
commitd83a420f0517d7fc47aeb288a6a0cf4891784fcc (patch)
tree6d9c83527c56458a8360ba080bf5f4ca73d526dc /map65/libm65/cacb_mod.f90
parent4b089ae3f7e9e2d5662f718f663b26a4e8ee63ca (diff)
New upstream version 3.0.2+dfsgupstream/3.0.2+dfsg
Diffstat (limited to 'map65/libm65/cacb_mod.f90')
-rw-r--r--map65/libm65/cacb_mod.f9013
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