cuBNM 0.0.6__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. {cubnm-0.0.6/src/cubnm.egg-info → cubnm-0.0.7}/PKG-INFO +5 -2
  2. cubnm-0.0.7/include/cubnm/bnm.cuh +34 -0
  3. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/bnm.hpp +5 -5
  4. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/defines.h +8 -22
  5. cubnm-0.0.7/include/cubnm/fc.cuh +35 -0
  6. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/base.hpp +44 -49
  7. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/boilerplate.hpp +48 -48
  8. cubnm-0.0.7/include/cubnm/models/bw.cuh +10 -0
  9. cubnm-0.0.7/include/cubnm/models/bw.hpp +24 -0
  10. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/kuramoto.cuh +2 -2
  11. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/kuramoto.hpp +5 -5
  12. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww.cuh +2 -2
  13. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww.hpp +42 -42
  14. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rwwex.cuh +2 -2
  15. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rwwex.hpp +13 -13
  16. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/utils.cuh +0 -1
  17. {cubnm-0.0.6 → cubnm-0.0.7}/pyproject.toml +4 -3
  18. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_version.py +3 -3
  19. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/cli.py +1 -2
  20. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/cli_parser.py +1 -5
  21. cubnm-0.0.7/src/cubnm/data/hcp/bold/100206/REST1_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
  22. cubnm-0.0.7/src/cubnm/data/hcp/bold/100206/REST2_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
  23. cubnm-0.0.7/src/cubnm/data/hcp/bold/100307/REST1_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
  24. cubnm-0.0.7/src/cubnm/data/hcp/bold/100307/REST2_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
  25. cubnm-0.0.7/src/cubnm/data/hcp/fc/group-test303/REST/ctx_parc-schaefer-100_desc-fc.npz +0 -0
  26. cubnm-0.0.7/src/cubnm/data/hcp/fc/group-test303/REST/ctx_parc-schaefer-100_exc-inter_desc-fc.npz +0 -0
  27. cubnm-0.0.7/src/cubnm/data/hcp/fc/group-train706/REST/ctx_parc-schaefer-100_desc-fc.npz +0 -0
  28. cubnm-0.0.7/src/cubnm/data/hcp/fc/group-train706/REST/ctx_parc-schaefer-100_exc-inter_desc-fc.npz +0 -0
  29. cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-test303/REST/ctx_parc-schaefer-100_exc-inter_window-30_step-5_desc-fcdtril.npz +0 -0
  30. cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-test303/REST/ctx_parc-schaefer-100_window-30_step-5_desc-fcdtril.npz +0 -0
  31. cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-train706/REST/ctx_parc-schaefer-100_exc-inter_window-30_step-5_desc-fcdtril.npz +0 -0
  32. cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-train706/REST/ctx_parc-schaefer-100_window-30_step-5_desc-fcdtril.npz +0 -0
  33. cubnm-0.0.7/src/cubnm/data/hcp/sc/100206/ctx_parc-schaefer-100_desc-length.npz +0 -0
  34. cubnm-0.0.7/src/cubnm/data/hcp/sc/100206/ctx_parc-schaefer-100_desc-strength.npz +0 -0
  35. cubnm-0.0.7/src/cubnm/data/hcp/sc/100307/ctx_parc-schaefer-100_desc-length.npz +0 -0
  36. cubnm-0.0.7/src/cubnm/data/hcp/sc/100307/ctx_parc-schaefer-100_desc-strength.npz +0 -0
  37. cubnm-0.0.7/src/cubnm/data/hcp/sc/group-test303/ctx_parc-schaefer-100_desc-length.npz +0 -0
  38. cubnm-0.0.7/src/cubnm/data/hcp/sc/group-test303/ctx_parc-schaefer-100_desc-strength.npz +0 -0
  39. cubnm-0.0.7/src/cubnm/data/hcp/sc/group-train706/ctx_parc-schaefer-100_desc-length.npz +0 -0
  40. cubnm-0.0.7/src/cubnm/data/hcp/sc/group-train706/ctx_parc-schaefer-100_desc-strength.npz +0 -0
  41. cubnm-0.0.7/src/cubnm/datasets.py +346 -0
  42. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/optimize.py +645 -202
  43. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/sim.py +302 -170
  44. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/utils.py +32 -30
  45. {cubnm-0.0.6 → cubnm-0.0.7/src/cubnm.egg-info}/PKG-INFO +5 -2
  46. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/SOURCES.txt +20 -49
  47. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/requires.txt +4 -1
  48. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/bnm.cpp +39 -43
  49. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/bnm.cu +165 -516
  50. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/core.cpp +31 -23
  51. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/fc.cu +27 -27
  52. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/base.cpp +2 -2
  53. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/bw.cpp +4 -4
  54. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/bw.cu +3 -3
  55. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/kuramoto.cpp +9 -9
  56. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/kuramoto.cu +8 -8
  57. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww.cpp +22 -27
  58. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww.cu +14 -19
  59. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rwwex.cpp +10 -14
  60. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rwwex.cu +8 -12
  61. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/utils.cu +0 -6
  62. cubnm-0.0.6/include/cubnm/bnm.cuh +0 -34
  63. cubnm-0.0.6/include/cubnm/fc.cuh +0 -35
  64. cubnm-0.0.6/include/cubnm/models/bw.cuh +0 -10
  65. cubnm-0.0.6/include/cubnm/models/bw.hpp +0 -24
  66. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-aparc_desc-bold.npz +0 -0
  67. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-glasser360_desc-bold.npz +0 -0
  68. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer1000_desc-bold.npz +0 -0
  69. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer100_desc-bold.npz +0 -0
  70. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer200_desc-bold.npz +0 -0
  71. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer300_desc-bold.npz +0 -0
  72. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer400_desc-bold.npz +0 -0
  73. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer500_desc-bold.npz +0 -0
  74. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer600_desc-bold.npz +0 -0
  75. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer700_desc-bold.npz +0 -0
  76. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer800_desc-bold.npz +0 -0
  77. cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer900_desc-bold.npz +0 -0
  78. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-aparc_desc-length.npz +0 -0
  79. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-aparc_norm-mean001_desc-strength.npz +0 -0
  80. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-glasser360_desc-length.npz +0 -0
  81. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-glasser360_norm-mean001_desc-strength.npz +0 -0
  82. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer1000_desc-length.npz +0 -0
  83. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer1000_norm-mean001_desc-strength.npz +0 -0
  84. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer100_desc-length.npz +0 -0
  85. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer100_norm-mean001_desc-strength.npz +0 -0
  86. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer200_desc-length.npz +0 -0
  87. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer200_norm-mean001_desc-strength.npz +0 -0
  88. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer300_desc-length.npz +0 -0
  89. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer300_norm-mean001_desc-strength.npz +0 -0
  90. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer400_desc-length.npz +0 -0
  91. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer400_norm-mean001_desc-strength.npz +0 -0
  92. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer500_desc-length.npz +0 -0
  93. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer500_norm-mean001_desc-strength.npz +0 -0
  94. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer600_desc-length.npz +0 -0
  95. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer600_norm-mean001_desc-strength.npz +0 -0
  96. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer700_desc-length.npz +0 -0
  97. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer700_norm-mean001_desc-strength.npz +0 -0
  98. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer800_desc-length.npz +0 -0
  99. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer800_norm-mean001_desc-strength.npz +0 -0
  100. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer900_desc-length.npz +0 -0
  101. cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer900_norm-mean001_desc-strength.npz +0 -0
  102. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_aparc_mics.csv +0 -73
  103. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_glasser-360_mics.csv +0 -363
  104. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-1000_mics.csv +0 -1003
  105. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-100_mics.csv +0 -103
  106. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-200_mics.csv +0 -203
  107. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-300_mics.csv +0 -303
  108. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-400_mics.csv +0 -403
  109. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-500_mics.csv +0 -503
  110. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-600_mics.csv +0 -603
  111. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-700_mics.csv +0 -703
  112. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-800_mics.csv +0 -803
  113. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-900_mics.csv +0 -903
  114. cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_subcortical-cerebellum_mics.csv +0 -49
  115. cubnm-0.0.6/src/cubnm/datasets.py +0 -338
  116. {cubnm-0.0.6 → cubnm-0.0.7}/LICENSE +0 -0
  117. {cubnm-0.0.6 → cubnm-0.0.7}/MANIFEST.in +0 -0
  118. {cubnm-0.0.6 → cubnm-0.0.7}/README.rst +0 -0
  119. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/cuda_to_hip.h +0 -0
  120. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/includes.cuh +0 -0
  121. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/base.cuh +0 -0
  122. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww_fic.hpp +0 -0
  123. {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/utils.hpp +0 -0
  124. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_blas.h +0 -0
  125. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_blas_types.h +0 -0
  126. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block.h +0 -0
  127. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_char.h +0 -0
  128. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_double.h +0 -0
  129. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_float.h +0 -0
  130. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_long_double.h +0 -0
  131. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_double.h +0 -0
  132. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_float.h +0 -0
  133. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_int.h +0 -0
  134. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_long.h +0 -0
  135. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_long_double.h +0 -0
  136. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_short.h +0 -0
  137. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_uchar.h +0 -0
  138. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_uint.h +0 -0
  139. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_ulong.h +0 -0
  140. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_ushort.h +0 -0
  141. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bspline.h +0 -0
  142. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst.h +0 -0
  143. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_avl.h +0 -0
  144. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_rb.h +0 -0
  145. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_types.h +0 -0
  146. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_cblas.h +0 -0
  147. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_cdf.h +0 -0
  148. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_chebyshev.h +0 -0
  149. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_check_range.h +0 -0
  150. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_combination.h +0 -0
  151. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_complex.h +0 -0
  152. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_complex_math.h +0 -0
  153. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const.h +0 -0
  154. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_cgs.h +0 -0
  155. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_cgsm.h +0 -0
  156. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_mks.h +0 -0
  157. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_mksa.h +0 -0
  158. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_num.h +0 -0
  159. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_deriv.h +0 -0
  160. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dft_complex.h +0 -0
  161. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dft_complex_float.h +0 -0
  162. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dht.h +0 -0
  163. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_diff.h +0 -0
  164. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_eigen.h +0 -0
  165. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_errno.h +0 -0
  166. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft.h +0 -0
  167. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_complex.h +0 -0
  168. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_complex_float.h +0 -0
  169. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_halfcomplex.h +0 -0
  170. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_halfcomplex_float.h +0 -0
  171. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_real.h +0 -0
  172. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_real_float.h +0 -0
  173. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_filter.h +0 -0
  174. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fit.h +0 -0
  175. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_heapsort.h +0 -0
  176. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_histogram.h +0 -0
  177. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_histogram2d.h +0 -0
  178. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_ieee_utils.h +0 -0
  179. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_inline.h +0 -0
  180. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_integration.h +0 -0
  181. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_interp.h +0 -0
  182. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_interp2d.h +0 -0
  183. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_linalg.h +0 -0
  184. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_machine.h +0 -0
  185. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_math.h +0 -0
  186. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix.h +0 -0
  187. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_char.h +0 -0
  188. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_double.h +0 -0
  189. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_float.h +0 -0
  190. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_long_double.h +0 -0
  191. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_double.h +0 -0
  192. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_float.h +0 -0
  193. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_int.h +0 -0
  194. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_long.h +0 -0
  195. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_long_double.h +0 -0
  196. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_short.h +0 -0
  197. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_uchar.h +0 -0
  198. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_uint.h +0 -0
  199. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_ulong.h +0 -0
  200. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_ushort.h +0 -0
  201. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_message.h +0 -0
  202. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_min.h +0 -0
  203. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_minmax.h +0 -0
  204. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_mode.h +0 -0
  205. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte.h +0 -0
  206. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_miser.h +0 -0
  207. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_plain.h +0 -0
  208. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_vegas.h +0 -0
  209. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_movstat.h +0 -0
  210. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit.h +0 -0
  211. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit_nlin.h +0 -0
  212. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit_nlinear.h +0 -0
  213. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multilarge.h +0 -0
  214. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multilarge_nlinear.h +0 -0
  215. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multimin.h +0 -0
  216. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multiroots.h +0 -0
  217. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multiset.h +0 -0
  218. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_nan.h +0 -0
  219. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_ntuple.h +0 -0
  220. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_odeiv.h +0 -0
  221. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_odeiv2.h +0 -0
  222. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permutation.h +0 -0
  223. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute.h +0 -0
  224. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_char.h +0 -0
  225. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_double.h +0 -0
  226. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_float.h +0 -0
  227. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_long_double.h +0 -0
  228. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_double.h +0 -0
  229. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_float.h +0 -0
  230. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_int.h +0 -0
  231. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_long.h +0 -0
  232. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_long_double.h +0 -0
  233. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix.h +0 -0
  234. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_char.h +0 -0
  235. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_double.h +0 -0
  236. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_float.h +0 -0
  237. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_long_double.h +0 -0
  238. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_double.h +0 -0
  239. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_float.h +0 -0
  240. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_int.h +0 -0
  241. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_long.h +0 -0
  242. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_long_double.h +0 -0
  243. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_short.h +0 -0
  244. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_uchar.h +0 -0
  245. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_uint.h +0 -0
  246. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_ulong.h +0 -0
  247. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_ushort.h +0 -0
  248. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_short.h +0 -0
  249. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_uchar.h +0 -0
  250. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_uint.h +0 -0
  251. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_ulong.h +0 -0
  252. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_ushort.h +0 -0
  253. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector.h +0 -0
  254. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_char.h +0 -0
  255. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_double.h +0 -0
  256. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_float.h +0 -0
  257. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_long_double.h +0 -0
  258. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_double.h +0 -0
  259. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_float.h +0 -0
  260. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_int.h +0 -0
  261. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_long.h +0 -0
  262. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_long_double.h +0 -0
  263. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_short.h +0 -0
  264. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_uchar.h +0 -0
  265. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_uint.h +0 -0
  266. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_ulong.h +0 -0
  267. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_ushort.h +0 -0
  268. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_poly.h +0 -0
  269. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_pow_int.h +0 -0
  270. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_precision.h +0 -0
  271. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_qrng.h +0 -0
  272. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_randist.h +0 -0
  273. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_rng.h +0 -0
  274. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_roots.h +0 -0
  275. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_rstat.h +0 -0
  276. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf.h +0 -0
  277. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_airy.h +0 -0
  278. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_bessel.h +0 -0
  279. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_clausen.h +0 -0
  280. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_coulomb.h +0 -0
  281. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_coupling.h +0 -0
  282. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_dawson.h +0 -0
  283. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_debye.h +0 -0
  284. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_dilog.h +0 -0
  285. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_elementary.h +0 -0
  286. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_ellint.h +0 -0
  287. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_elljac.h +0 -0
  288. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_erf.h +0 -0
  289. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_exp.h +0 -0
  290. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_expint.h +0 -0
  291. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_fermi_dirac.h +0 -0
  292. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_gamma.h +0 -0
  293. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_gegenbauer.h +0 -0
  294. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_hermite.h +0 -0
  295. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_hyperg.h +0 -0
  296. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_laguerre.h +0 -0
  297. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_lambert.h +0 -0
  298. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_legendre.h +0 -0
  299. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_log.h +0 -0
  300. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_mathieu.h +0 -0
  301. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_pow_int.h +0 -0
  302. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_psi.h +0 -0
  303. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_result.h +0 -0
  304. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_sincos_pi.h +0 -0
  305. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_synchrotron.h +0 -0
  306. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_transport.h +0 -0
  307. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_trig.h +0 -0
  308. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_zeta.h +0 -0
  309. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_siman.h +0 -0
  310. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort.h +0 -0
  311. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_char.h +0 -0
  312. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_double.h +0 -0
  313. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_float.h +0 -0
  314. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_int.h +0 -0
  315. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_long.h +0 -0
  316. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_long_double.h +0 -0
  317. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_short.h +0 -0
  318. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_uchar.h +0 -0
  319. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_uint.h +0 -0
  320. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_ulong.h +0 -0
  321. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_ushort.h +0 -0
  322. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector.h +0 -0
  323. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_char.h +0 -0
  324. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_double.h +0 -0
  325. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_float.h +0 -0
  326. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_int.h +0 -0
  327. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_long.h +0 -0
  328. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_long_double.h +0 -0
  329. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_short.h +0 -0
  330. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_uchar.h +0 -0
  331. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_uint.h +0 -0
  332. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_ulong.h +0 -0
  333. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_ushort.h +0 -0
  334. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spblas.h +0 -0
  335. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_specfunc.h +0 -0
  336. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_splinalg.h +0 -0
  337. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spline.h +0 -0
  338. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spline2d.h +0 -0
  339. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix.h +0 -0
  340. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_char.h +0 -0
  341. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_double.h +0 -0
  342. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_float.h +0 -0
  343. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_long_double.h +0 -0
  344. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_double.h +0 -0
  345. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_float.h +0 -0
  346. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_int.h +0 -0
  347. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_long.h +0 -0
  348. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_long_double.h +0 -0
  349. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_short.h +0 -0
  350. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_uchar.h +0 -0
  351. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_uint.h +0 -0
  352. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_ulong.h +0 -0
  353. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_ushort.h +0 -0
  354. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics.h +0 -0
  355. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_char.h +0 -0
  356. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_double.h +0 -0
  357. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_float.h +0 -0
  358. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_int.h +0 -0
  359. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_long.h +0 -0
  360. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_long_double.h +0 -0
  361. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_short.h +0 -0
  362. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_uchar.h +0 -0
  363. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_uint.h +0 -0
  364. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_ulong.h +0 -0
  365. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_ushort.h +0 -0
  366. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sum.h +0 -0
  367. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sys.h +0 -0
  368. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_test.h +0 -0
  369. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_types.h +0 -0
  370. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector.h +0 -0
  371. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_char.h +0 -0
  372. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex.h +0 -0
  373. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_double.h +0 -0
  374. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_float.h +0 -0
  375. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_long_double.h +0 -0
  376. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_double.h +0 -0
  377. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_float.h +0 -0
  378. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_int.h +0 -0
  379. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_long.h +0 -0
  380. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_long_double.h +0 -0
  381. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_short.h +0 -0
  382. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_uchar.h +0 -0
  383. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_uint.h +0 -0
  384. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_ulong.h +0 -0
  385. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_ushort.h +0 -0
  386. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_version.h +0 -0
  387. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_wavelet.h +0 -0
  388. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_wavelet2d.h +0 -0
  389. {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/test_source.c +0 -0
  390. {cubnm-0.0.6 → cubnm-0.0.7}/setup.cfg +0 -0
  391. {cubnm-0.0.6 → cubnm-0.0.7}/setup.py +0 -0
  392. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/__init__.py +0 -0
  393. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_core.py +0 -0
  394. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_setup_opts.py +0 -0
  395. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-fcgradient01_zscore.txt +0 -0
  396. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-gabaa_zscore.txt +0 -0
  397. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-genepc1_zscore.txt +0 -0
  398. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-myelinmap_zscore.txt +0 -0
  399. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-nmda_zscore.txt +0 -0
  400. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-thickness_zscore.txt +0 -0
  401. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-yeo7.txt +0 -0
  402. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/dependency_links.txt +0 -0
  403. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/entry_points.txt +0 -0
  404. {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/top_level.txt +0 -0
  405. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/fc.cpp +0 -0
  406. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww_fic.cpp +0 -0
  407. {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/utils.cpp +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cubnm
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: A toolbox for brain network modeling on GPUs
5
5
  Author-email: Amin Saberi <amnsbr@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -50,12 +50,15 @@ Requires-Dist: numpy<2,>=1.20
50
50
  Requires-Dist: scipy
51
51
  Requires-Dist: pandas
52
52
  Requires-Dist: pymoo==0.6
53
- Requires-Dist: scikit-optimize==0.9
54
53
  Requires-Dist: tabulate
54
+ Requires-Dist: matplotlib
55
+ Requires-Dist: seaborn
55
56
  Provides-Extra: cupy-cuda11x
56
57
  Requires-Dist: cupy-cuda11x; extra == "cupy-cuda11x"
58
+ Requires-Dist: numba; extra == "cupy-cuda11x"
57
59
  Provides-Extra: cupy-cuda12x
58
60
  Requires-Dist: cupy-cuda12x; extra == "cupy-cuda12x"
61
+ Requires-Dist: numba; extra == "cupy-cuda12x"
59
62
  Dynamic: license-file
60
63
 
61
64
  .. image:: https://raw.githubusercontent.com/amnsbr/cubnm/main/docs/_static/logo_text.png
@@ -0,0 +1,34 @@
1
+ #ifndef BNM_CUH
2
+ #define BNM_CUH
3
+ #include "bnm.hpp"
4
+
5
+ typedef void (*GlobalInputKernel)(
6
+ double&, int&,
7
+ const int&, const int&, const int&,
8
+ const int&, int&, int&, double**,
9
+ double**, const bool&, const int&,
10
+ int&, const double&,
11
+ double**, double*
12
+ );
13
+
14
+ __device__ void global_input_cond(
15
+ double& tmp_globalinput, int& k_buff_idx,
16
+ const int& nodes, const int& sim_idx, const int& SC_idx,
17
+ const int& j, int& k, int& buff_idx, double** SC,
18
+ double** SC_dist, const bool& has_delay, const int& max_delay,
19
+ int& curr_delay, const double& velocity,
20
+ double** conn_state_var_hist, double* conn_state_var_1
21
+ );
22
+
23
+ __device__ void global_input_osc(
24
+ double& tmp_globalinput, int& k_buff_idx,
25
+ const int& nodes, const int& sim_idx, const int& SC_idx,
26
+ const int& j, int& k, int& buff_idx, double** SC,
27
+ double** SC_dist, const bool& has_delay, const int& max_delay,
28
+ int& curr_delay, const double& velocity,
29
+ double** conn_state_var_hist, double* conn_state_var_1
30
+ );
31
+
32
+ cudaDeviceProp prop;
33
+
34
+ #endif
@@ -3,19 +3,19 @@
3
3
  template <typename Model>
4
4
  void _run_simulations_cpu(
5
5
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
6
- u_real ** global_params, u_real ** regional_params, u_real * v_list,
7
- u_real * SC, u_real * SC_dist, BaseModel* m
6
+ double ** global_params, double ** regional_params, double * v_list,
7
+ double * SC, double * SC_dist, BaseModel* m
8
8
  );
9
9
 
10
10
  template <typename Model>
11
11
  void _init_cpu(BaseModel *m, bool force_reinit);
12
12
 
13
13
  typedef void (*HGlobalInputFunc)(
14
- u_real&, int&,
14
+ double&, int&,
15
15
  const int&, const int&,
16
- int&, int&, u_real*,
16
+ int&, int&, double*,
17
17
  int*, const bool&, const int&,
18
- u_real*, u_real*
18
+ double*, double*
19
19
  );
20
20
 
21
21
  #endif
@@ -1,25 +1,11 @@
1
- // Using floats vs doubles in the simulations, pass -D USE_FLOATS=1 to compiler to use floats
2
- // Note that this does not affect FIC, CMAES and GOF calculations (always using doubles)
3
- // as well as the noise array (always generated as floats, but then casted to u_real)
4
- #ifdef USE_FLOATS
5
- typedef float u_real;
6
- #define EXP expf
7
- #define POW powf
8
- #define SQRT sqrtf
9
- #define SIN sinf
10
- #define FMOD fmodf
11
- #define CUDA_MAX fmaxf
12
- #define CUDA_MIN fminf
13
- #else
14
- typedef double u_real;
15
- #define EXP exp
16
- #define POW pow
17
- #define SQRT sqrt
18
- #define SIN sin
19
- #define FMOD fmod
20
- #define CUDA_MAX max
21
- #define CUDA_MIN min
22
- #endif
1
+ #define EXP exp
2
+ #define POW pow
3
+ #define SQRT sqrt
4
+ #define SIN sin
5
+ #define FMOD fmod
6
+ #define CUDA_MAX max
7
+ #define CUDA_MIN min
8
+
23
9
  #define PI 3.14159265358979323846
24
10
 
25
11
  #ifndef MAX_NODES_REG
@@ -0,0 +1,35 @@
1
+ __global__ void bold_stats(
2
+ double **mean_bold, double **ssd_bold,
3
+ double **BOLD, int N_SIMS, int nodes,
4
+ int bold_len, int corr_len, int n_vols_remove,
5
+ bool co_launch);
6
+
7
+ __global__ void window_bold_stats(
8
+ double **BOLD, int N_SIMS, int nodes,
9
+ int n_windows, int window_size_1, int *window_starts, int *window_ends,
10
+ double **windows_mean_bold, double **windows_ssd_bold);
11
+
12
+ __global__ void fc(double **fc_trils, double **windows_fc_trils,
13
+ double **BOLD, int N_SIMS, int nodes, int n_pairs, int *pairs_i,
14
+ int *pairs_j, int bold_len, int n_vols_remove,
15
+ int corr_len, double **mean_bold, double **ssd_bold,
16
+ int n_windows, int window_size_1, double **windows_mean_bold, double **windows_ssd_bold,
17
+ int *window_starts, int *window_ends,
18
+ int maxThreadsPerBlock);
19
+
20
+ __global__ void window_fc_stats(
21
+ double **windows_mean_fc, double **windows_ssd_fc,
22
+ double **L_windows_mean_fc, double **L_windows_ssd_fc,
23
+ double **R_windows_mean_fc, double **R_windows_ssd_fc,
24
+ double **windows_fc_trils, int N_SIMS, int n_windows, int n_pairs,
25
+ bool save_hemis, int n_pairs_hemi);
26
+
27
+ __global__ void fcd(
28
+ double **fcd_trils, double **L_fcd_trils, double **R_fcd_trils,
29
+ double **windows_fc_trils,
30
+ double **windows_mean_fc, double **windows_ssd_fc,
31
+ double **L_windows_mean_fc, double **L_windows_ssd_fc,
32
+ double **R_windows_mean_fc, double **R_windows_ssd_fc,
33
+ int N_SIMS, int n_pairs, int n_windows, int n_window_pairs,
34
+ int *window_pairs_i, int *window_pairs_j, int maxThreadsPerBlock,
35
+ bool save_hemis, int n_pairs_hemi);
@@ -7,8 +7,8 @@ class BaseModel {
7
7
  public:
8
8
  BaseModel(
9
9
  int nodes, int N_SIMS, int N_SCs, int BOLD_TR, int states_sampling,
10
- int time_steps, bool do_delay, int rand_seed,
11
- u_real dt, u_real bw_dt
10
+ int time_steps, bool do_delay, int sim_seed,
11
+ double dt, double bw_dt
12
12
  ) : nodes{nodes},
13
13
  N_SIMS{N_SIMS},
14
14
  N_SCs{N_SCs},
@@ -16,7 +16,7 @@ public:
16
16
  states_sampling{states_sampling},
17
17
  time_steps{time_steps},
18
18
  do_delay{do_delay},
19
- rand_seed{rand_seed},
19
+ sim_seed{sim_seed},
20
20
  dt{dt}, // in msec
21
21
  bw_dt{bw_dt / 1000.0} // input is in msec, but bw_dt is in seconds in the code
22
22
  {
@@ -31,8 +31,8 @@ public:
31
31
 
32
32
  virtual void update(
33
33
  int nodes, int N_SIMS, int N_SCs, int BOLD_TR, int states_sampling,
34
- int time_steps, bool do_delay, int rand_seed,
35
- u_real dt, u_real bw_dt
34
+ int time_steps, bool do_delay, int sim_seed,
35
+ double dt, double bw_dt
36
36
  ) {
37
37
  this->nodes = nodes;
38
38
  this->N_SIMS = N_SIMS;
@@ -41,7 +41,7 @@ public:
41
41
  this->states_sampling = states_sampling;
42
42
  this->time_steps = time_steps;
43
43
  this->do_delay = do_delay;
44
- this->rand_seed = rand_seed;
44
+ this->sim_seed = sim_seed;
45
45
  this->dt = dt; // msec
46
46
  this->bw_dt = bw_dt / 1000.0; // input is in msec, but bw_dt is in seconds in the code
47
47
  this->set_bold_states_len();
@@ -53,17 +53,17 @@ public:
53
53
  // and total matrix size
54
54
  bold_len = time_steps / BOLD_TR;
55
55
  bold_size = bold_len * nodes;
56
- BOLD_TR_iters = ((u_real)BOLD_TR / 1000.0) / bw_dt;
56
+ BOLD_TR_iters = ((double)BOLD_TR / 1000.0) / bw_dt;
57
57
  // states samples length and
58
58
  // total matrix size
59
59
  states_len = time_steps / states_sampling;
60
60
  states_size = states_len * nodes;
61
- states_sampling_iters = ((u_real)states_sampling / 1000.0) / bw_dt;
61
+ states_sampling_iters = ((double)states_sampling / 1000.0) / bw_dt;
62
62
  }
63
63
 
64
64
  virtual void set_loop_iters() {
65
65
  // TODO: add checks in Python to make sure they are divisible
66
- bw_it = ((u_real)time_steps / 1000.0) / bw_dt;
66
+ bw_it = ((double)time_steps / 1000.0) / bw_dt;
67
67
  inner_it = (bw_dt * 1000) / dt;
68
68
  }
69
69
 
@@ -71,11 +71,11 @@ public:
71
71
  virtual void free_cpu_noise();
72
72
 
73
73
  int nodes{0}, N_SIMS{0}, N_SCs{0}, BOLD_TR{0}, states_sampling{0}, time_steps{0},
74
- rand_seed{0}, n_pairs{0}, n_windows{0},
74
+ sim_seed{0}, n_pairs{0}, n_windows{0},
75
75
  n_window_pairs{0}, bold_len{0}, bold_size{0}, states_len{0}, states_size{0},
76
76
  n_vols_remove{0}, n_states_samples_remove{0}, corr_len{0},
77
77
  noise_size{0}, noise_repeats{0}, max_delay{0},
78
- last_nodes{0}, last_time_steps{0}, last_rand_seed{0},
78
+ last_nodes{0}, last_time_steps{0}, last_sim_seed{0},
79
79
  last_noise_time_steps{0},
80
80
  bw_it{0}, inner_it{0}, BOLD_TR_iters{0}, states_sampling_iters{0},
81
81
  alloc_N_SCs{0}, alloc_N_SIMS{0};
@@ -84,7 +84,7 @@ public:
84
84
  bool cpu_initialized{false}, cpu_noise_initialized{false}, modifies_params{false},
85
85
  do_delay{false}, co_launch{false}, alloc_states_out{false}, alloc_fc{false},
86
86
  alloc_fcd{false};
87
- u_real dt{0.1}, bw_dt{0.001};
87
+ double dt{0.1}, bw_dt{0.001};
88
88
 
89
89
  #ifdef _GPU_ENABLED
90
90
  virtual void free_gpu();
@@ -92,8 +92,8 @@ public:
92
92
  bool gpu_initialized{false}, gpu_noise_initialized{false};
93
93
  #endif
94
94
 
95
- u_real ***states_out;
96
- u_real *noise;
95
+ double ***states_out;
96
+ double *noise;
97
97
  int **global_out_int;
98
98
  bool **global_out_bool;
99
99
  int *window_starts, *window_ends;
@@ -102,10 +102,9 @@ public:
102
102
  int noise_bw_it;
103
103
  #endif
104
104
  #ifdef _GPU_ENABLED
105
- u_real **BOLD, **mean_bold, **ssd_bold, **fc_trils, **windows_mean_bold, **windows_ssd_bold,
105
+ double **BOLD, **mean_bold, **ssd_bold, **fc_trils, **windows_mean_bold, **windows_ssd_bold,
106
106
  **windows_fc_trils, **windows_mean_fc, **windows_ssd_fc, **fcd_trils,
107
107
  **d_SC, **d_SC_dist, **d_global_params, **d_regional_params, *d_v_list;
108
- double **d_fc_trils, **d_fcd_trils;
109
108
  int *pairs_i, *pairs_j, *window_pairs_i, *window_pairs_j, *d_SC_indices;
110
109
  #endif
111
110
 
@@ -122,7 +121,6 @@ public:
122
121
  bool states_ts{false};
123
122
  int noise_time_steps{30000}; // msec
124
123
  int progress_interval{500}; // msec; real time interval for updating progress
125
- bool serial{false};
126
124
  };
127
125
 
128
126
  Config base_conf;
@@ -135,7 +133,7 @@ public:
135
133
  std::cout << "states_sampling: " << states_sampling << std::endl;
136
134
  std::cout << "time_steps: " << time_steps << std::endl;
137
135
  std::cout << "do_delay: " << do_delay << std::endl;
138
- std::cout << "rand_seed: " << rand_seed << std::endl;
136
+ std::cout << "sim_seed: " << sim_seed << std::endl;
139
137
  std::cout << "exc_interhemispheric: " << base_conf.exc_interhemispheric << std::endl;
140
138
  std::cout << "verbose: " << base_conf.verbose << std::endl;
141
139
  std::cout << "progress_interval: " << base_conf.progress_interval << std::endl;
@@ -146,7 +144,6 @@ public:
146
144
  std::cout << "do_fcd: " << base_conf.do_fcd << std::endl;
147
145
  std::cout << "states_ts: " << base_conf.states_ts << std::endl;
148
146
  std::cout << "noise_time_steps: " << base_conf.noise_time_steps << std::endl;
149
- std::cout << "serial: " << base_conf.serial << std::endl;
150
147
  }
151
148
 
152
149
  virtual void set_conf(std::map<std::string, std::string> config_map) {
@@ -156,16 +153,16 @@ public:
156
153
  virtual void init_gpu(BWConstants bwc, bool force_reinit) = 0;
157
154
  virtual void run_simulations_gpu(
158
155
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
159
- u_real ** global_params, u_real ** regional_params, u_real * v_list,
160
- u_real ** SC, int * SC_indices, u_real * SC_dist) = 0;
156
+ double ** global_params, double ** regional_params, double * v_list,
157
+ double ** SC, int * SC_indices, double * SC_dist) = 0;
161
158
  #endif
162
159
  virtual void init_cpu(bool force_reinit) = 0;
163
160
  virtual void run_simulations_cpu(
164
161
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
165
- u_real ** global_params, u_real ** regional_params, u_real * v_list,
166
- u_real ** SC, int * SC_indices, u_real * SC_dist) = 0;
167
- virtual void prep_params(u_real ** global_params, u_real ** regional_params, u_real * v_list,
168
- u_real ** SC, int * SC_indices, u_real * SC_dist,
162
+ double ** global_params, double ** regional_params, double * v_list,
163
+ double ** SC, int * SC_indices, double * SC_dist) = 0;
164
+ virtual void prep_params(double ** global_params, double ** regional_params, double * v_list,
165
+ double ** SC, int * SC_indices, double * SC_dist,
169
166
  bool ** global_out_bool, int ** global_out_int) {};
170
167
  // use if additional modification of parameters is needed (e.g. FIC in rWW)
171
168
  // declare getters for some of static variables
@@ -187,31 +184,31 @@ public:
187
184
  }
188
185
 
189
186
  virtual void h_init(
190
- u_real* _state_vars, u_real* _intermediate_vars,
191
- u_real* _global_params, u_real* _regional_params,
187
+ double* _state_vars, double* _intermediate_vars,
188
+ double* _global_params, double* _regional_params,
192
189
  int* _ext_int, bool* _ext_bool,
193
190
  int* _ext_int_shared, bool* _ext_bool_shared
194
191
  ) = 0;
195
192
  virtual void h_step(
196
- u_real* _state_vars, u_real* _intermediate_vars,
197
- u_real* _global_params, u_real* _regional_params,
198
- u_real& tmp_globalinput,
199
- u_real* noise, long& noise_idx
193
+ double* _state_vars, double* _intermediate_vars,
194
+ double* _global_params, double* _regional_params,
195
+ double& tmp_globalinput,
196
+ double* noise, long& noise_idx
200
197
  ) = 0;
201
198
  virtual void _j_post_bw_step(
202
- u_real* _state_vars, u_real* _intermediate_vars,
199
+ double* _state_vars, double* _intermediate_vars,
203
200
  int* _ext_int, bool* _ext_bool,
204
201
  int* _ext_int_shared, bool* _ext_bool_shared,
205
202
  bool& restart,
206
- u_real* _global_params, u_real* _regional_params,
203
+ double* _global_params, double* _regional_params,
207
204
  int& ts_bold
208
205
  ) {};
209
206
  virtual void h_post_bw_step(
210
- u_real** _state_vars, u_real** _intermediate_vars,
207
+ double** _state_vars, double** _intermediate_vars,
211
208
  int** _ext_int, bool** _ext_bool,
212
209
  int* _ext_int_shared, bool* _ext_bool_shared,
213
210
  bool& restart,
214
- u_real* _global_params, u_real** _regional_params,
211
+ double* _global_params, double** _regional_params,
215
212
  int& ts_bold
216
213
  ) {
217
214
  for (int j=0; j<this->nodes; j++) {
@@ -229,14 +226,14 @@ public:
229
226
  }
230
227
  };
231
228
  virtual void _j_restart(
232
- u_real* _state_vars, u_real* _intermediate_vars,
233
- u_real* _global_params, u_real* _regional_params,
229
+ double* _state_vars, double* _intermediate_vars,
230
+ double* _global_params, double* _regional_params,
234
231
  int* _ext_int, bool* _ext_bool,
235
232
  int* _ext_int_shared, bool* _ext_bool_shared
236
233
  ) {};
237
234
  virtual void h_restart(
238
- u_real** _state_vars, u_real** _intermediate_vars,
239
- u_real* _global_params, u_real** _regional_params,
235
+ double** _state_vars, double** _intermediate_vars,
236
+ double* _global_params, double** _regional_params,
240
237
  int** _ext_int, bool** _ext_bool,
241
238
  int* _ext_int_shared, bool* _ext_bool_shared
242
239
  ) {
@@ -250,13 +247,13 @@ public:
250
247
  }
251
248
  };
252
249
  virtual void h_post_integration(
253
- u_real ***state_vars_out,
250
+ double ***state_vars_out,
254
251
  int **global_out_int, bool **global_out_bool,
255
- u_real* _state_vars, u_real* _intermediate_vars,
252
+ double* _state_vars, double* _intermediate_vars,
256
253
  int* _ext_int, bool* _ext_bool,
257
254
  int* _ext_int_shared, bool* _ext_bool_shared,
258
- u_real** global_params, u_real** regional_params,
259
- u_real* _global_params, u_real* _regional_params,
255
+ double** global_params, double** regional_params,
256
+ double* _global_params, double* _regional_params,
260
257
  int& sim_idx, const int& nodes, int& j
261
258
  ) {};
262
259
 
@@ -295,8 +292,6 @@ protected:
295
292
  this->base_conf.noise_time_steps = std::stoi(pair.second);
296
293
  } else if (pair.first == "progress_interval") {
297
294
  this->base_conf.progress_interval = std::stoi(pair.second);
298
- } else if (pair.first == "serial") {
299
- this->base_conf.serial = (bool)std::stoi(pair.second);
300
295
  }
301
296
  }
302
297
  }
@@ -307,8 +302,8 @@ protected:
307
302
  template<typename Model>
308
303
  extern void _run_simulations_gpu(
309
304
  double * BOLD_out, double * fc_trils_out, double * fcd_trils_out,
310
- u_real ** global_params, u_real ** regional_params, u_real * v_list,
311
- u_real ** SC, int * SC_indices, u_real * SC_dist, BaseModel *model
305
+ double ** global_params, double ** regional_params, double * v_list,
306
+ double ** SC, int * SC_indices, double * SC_dist, BaseModel *model
312
307
  );
313
308
 
314
309
  template<typename Model>
@@ -318,8 +313,8 @@ extern void _init_gpu(BaseModel *model, BWConstants bwc, bool force_reinit);
318
313
  template <typename Model>
319
314
  void _run_simulations_cpu(
320
315
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
321
- u_real ** global_params, u_real ** regional_params, u_real * v_list,
322
- u_real ** SC, int * SC_indices, u_real * SC_dist, BaseModel* m
316
+ double ** global_params, double ** regional_params, double * v_list,
317
+ double ** SC, int * SC_indices, double * SC_dist, BaseModel* m
323
318
  );
324
319
 
325
320
  template <typename Model>
@@ -39,8 +39,8 @@ In addition for GPU usage the following must be defined in
39
39
  __constant__ derivedModel::Constants d_derivedc;
40
40
  template void _run_simulations_gpu<derivedModel>(
41
41
  double*, double*, double*,
42
- u_real**, u_real**, u_real*,
43
- u_real**, int*, u_real*,
42
+ double**, double**, double*,
43
+ double**, int*, double*,
44
44
  BaseModel*
45
45
  );
46
46
 
@@ -57,8 +57,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
57
57
  GLOBAL_PARAMS, REGIONAL_PARAMS, CONN_STATE_VAR_IDX, \
58
58
  BOLD_STATE_VAR_IDX, HAS_POST_BW, HAS_POST_INT, IS_OSC, \
59
59
  EXT_INT, EXT_BOOL, EXT_INT_SHARED, EXT_BOOL_SHARED, \
60
- GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_UREAL, \
61
- REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_UREAL) \
60
+ GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_DOUBLE, \
61
+ REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_DOUBLE) \
62
62
  using BaseModel::BaseModel; \
63
63
  ~CLASS_NAME() { \
64
64
  if (cpu_initialized) { \
@@ -88,72 +88,72 @@ See rWWEx model as a simple example, and rWW as a more complex one.
88
88
  static constexpr int n_ext_bool_shared = EXT_BOOL_SHARED; \
89
89
  static constexpr int n_global_out_int = GLOBAL_OUT_INT; \
90
90
  static constexpr int n_global_out_bool = GLOBAL_OUT_BOOL; \
91
- static constexpr int n_global_out_u_real = GLOBAL_OUT_UREAL; \
91
+ static constexpr int n_global_out_double = GLOBAL_OUT_DOUBLE; \
92
92
  static constexpr int n_regional_out_int = REGIONAL_OUT_INT; \
93
93
  static constexpr int n_regional_out_bool = REGIONAL_OUT_BOOL; \
94
- static constexpr int n_regional_out_u_real = REGIONAL_OUT_UREAL; \
94
+ static constexpr int n_regional_out_double = REGIONAL_OUT_DOUBLE; \
95
95
  static constexpr bool has_post_bw_step = HAS_POST_BW; \
96
96
  static constexpr bool has_post_integration = HAS_POST_INT; \
97
97
  static constexpr bool is_osc = IS_OSC; \
98
98
  static Constants mc; \
99
99
  Config conf; \
100
- static void init_constants(u_real dt = 0.1); \
100
+ static void init_constants(double dt = 0.1); \
101
101
  CUDA_CALLABLE_MEMBER void init( \
102
- u_real* _state_vars, u_real* _intermediate_vars, \
103
- u_real* _global_params, u_real* _regional_params, \
102
+ double* _state_vars, double* _intermediate_vars, \
103
+ double* _global_params, double* _regional_params, \
104
104
  int* _ext_int, bool* _ext_bool, \
105
105
  int* _ext_int_shared, bool* _ext_bool_shared); \
106
106
  CUDA_CALLABLE_MEMBER void step( \
107
- u_real* _state_vars, u_real* _intermediate_vars, \
108
- u_real* _global_params, u_real* _regional_params, \
109
- u_real& tmp_globalinput, \
110
- u_real* noise, long& noise_idx); \
107
+ double* _state_vars, double* _intermediate_vars, \
108
+ double* _global_params, double* _regional_params, \
109
+ double& tmp_globalinput, \
110
+ double* noise, long& noise_idx); \
111
111
  CUDA_CALLABLE_MEMBER void post_bw_step( \
112
- u_real* _state_vars, u_real* _intermediate_vars, \
112
+ double* _state_vars, double* _intermediate_vars, \
113
113
  int* _ext_int, bool* _ext_bool, \
114
114
  int* _ext_int_shared, bool* _ext_bool_shared, \
115
115
  bool& restart, \
116
- u_real* _global_params, u_real* _regional_params, \
116
+ double* _global_params, double* _regional_params, \
117
117
  int& ts_bold); \
118
118
  CUDA_CALLABLE_MEMBER void restart( \
119
- u_real* _state_vars, u_real* _intermediate_vars, \
120
- u_real* _global_params, u_real* _regional_params, \
119
+ double* _state_vars, double* _intermediate_vars, \
120
+ double* _global_params, double* _regional_params, \
121
121
  int* _ext_int, bool* _ext_bool, \
122
122
  int* _ext_int_shared, bool* _ext_bool_shared); \
123
123
  CUDA_CALLABLE_MEMBER void post_integration( \
124
- u_real ***state_vars_out, \
124
+ double ***state_vars_out, \
125
125
  int **global_out_int, bool **global_out_bool, \
126
- u_real* _state_vars, u_real* _intermediate_vars, \
126
+ double* _state_vars, double* _intermediate_vars, \
127
127
  int* _ext_int, bool* _ext_bool, \
128
128
  int* _ext_int_shared, bool* _ext_bool_shared, \
129
- u_real** global_params, u_real** regional_params, \
130
- u_real* _global_params, u_real* _regional_params, \
129
+ double** global_params, double** regional_params, \
130
+ double* _global_params, double* _regional_params, \
131
131
  int& sim_idx, const int& nodes, int& j); \
132
132
  void init_gpu(BWConstants bwc, bool force_reinit) override final { \
133
133
  _init_gpu<CLASS_NAME>(this, bwc, force_reinit); \
134
134
  } \
135
135
  void run_simulations_gpu( \
136
136
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
137
- u_real ** global_params, u_real ** regional_params, u_real * v_list, \
138
- u_real ** SC, int * SC_indices, u_real * SC_dist) override final { \
137
+ double ** global_params, double ** regional_params, double * v_list, \
138
+ double ** SC, int * SC_indices, double * SC_dist) override final { \
139
139
  _run_simulations_gpu<CLASS_NAME>( \
140
140
  BOLD_ex_out, fc_trils_out, fcd_trils_out, \
141
141
  global_params, regional_params, v_list, \
142
142
  SC, SC_indices, SC_dist, this); \
143
143
  } \
144
144
  void h_init( \
145
- u_real* _state_vars, u_real* _intermediate_vars, \
146
- u_real* _global_params, u_real* _regional_params, \
145
+ double* _state_vars, double* _intermediate_vars, \
146
+ double* _global_params, double* _regional_params, \
147
147
  int* _ext_int, bool* _ext_bool, \
148
148
  int* _ext_int_shared, bool* _ext_bool_shared) override final; \
149
149
  void h_step( \
150
- u_real* _state_vars, u_real* _intermediate_vars, \
151
- u_real* _global_params, u_real* _regional_params, \
152
- u_real& tmp_globalinput, \
153
- u_real* noise, long& noise_idx) override final; \
150
+ double* _state_vars, double* _intermediate_vars, \
151
+ double* _global_params, double* _regional_params, \
152
+ double& tmp_globalinput, \
153
+ double* noise, long& noise_idx) override final; \
154
154
  void _j_restart( \
155
- u_real* _state_vars, u_real* _intermediate_vars, \
156
- u_real* _global_params, u_real* _regional_params, \
155
+ double* _state_vars, double* _intermediate_vars, \
156
+ double* _global_params, double* _regional_params, \
157
157
  int* _ext_int, bool* _ext_bool, \
158
158
  int* _ext_int_shared, bool* _ext_bool_shared) override final; \
159
159
  void init_cpu(bool force_reinit) override final { \
@@ -161,8 +161,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
161
161
  } \
162
162
  void run_simulations_cpu( \
163
163
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
164
- u_real ** global_params, u_real ** regional_params, u_real * v_list, \
165
- u_real ** SC, int * SC_indices, u_real * SC_dist) override final { \
164
+ double ** global_params, double ** regional_params, double * v_list, \
165
+ double ** SC, int * SC_indices, double * SC_dist) override final { \
166
166
  _run_simulations_cpu<CLASS_NAME>( \
167
167
  BOLD_ex_out, fc_trils_out, fcd_trils_out, \
168
168
  global_params, regional_params, v_list, \
@@ -191,8 +191,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
191
191
  GLOBAL_PARAMS, REGIONAL_PARAMS, CONN_STATE_VAR_IDX, \
192
192
  BOLD_STATE_VAR_IDX, HAS_POST_BW, HAS_POST_INT, \
193
193
  EXT_INT, EXT_BOOL, EXT_INT_SHARED, EXT_BOOL_SHARED, \
194
- GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_UREAL, \
195
- REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_UREAL) \
194
+ GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_DOUBLE, \
195
+ REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_DOUBLE) \
196
196
  using BaseModel::BaseModel; \
197
197
  ~CLASS_NAME() { \
198
198
  if (cpu_initialized) { \
@@ -216,28 +216,28 @@ See rWWEx model as a simple example, and rWW as a more complex one.
216
216
  static constexpr int n_ext_bool_shared = EXT_BOOL_SHARED; \
217
217
  static constexpr int n_global_out_int = GLOBAL_OUT_INT; \
218
218
  static constexpr int n_global_out_bool = GLOBAL_OUT_BOOL; \
219
- static constexpr int n_global_out_u_real = GLOBAL_OUT_UREAL; \
219
+ static constexpr int n_global_out_double = GLOBAL_OUT_DOUBLE; \
220
220
  static constexpr int n_regional_out_int = REGIONAL_OUT_INT; \
221
221
  static constexpr int n_regional_out_bool = REGIONAL_OUT_BOOL; \
222
- static constexpr int n_regional_out_u_real = REGIONAL_OUT_UREAL; \
222
+ static constexpr int n_regional_out_double = REGIONAL_OUT_DOUBLE; \
223
223
  static constexpr bool has_post_bw_step = HAS_POST_BW; \
224
224
  static constexpr bool has_post_integration = HAS_POST_INT; \
225
225
  static Constants mc; \
226
226
  Config conf; \
227
- static void init_constants(u_real dt = 0.1); \
227
+ static void init_constants(double dt = 0.1); \
228
228
  void h_init( \
229
- u_real* _state_vars, u_real* _intermediate_vars, \
230
- u_real* _global_params, u_real* _regional_params, \
229
+ double* _state_vars, double* _intermediate_vars, \
230
+ double* _global_params, double* _regional_params, \
231
231
  int* _ext_int, bool* _ext_bool, \
232
232
  int* _ext_int_shared, bool* _ext_bool_shared) override final; \
233
233
  void h_step( \
234
- u_real* _state_vars, u_real* _intermediate_vars, \
235
- u_real* _global_params, u_real* _regional_params, \
236
- u_real& tmp_globalinput, \
237
- u_real* noise, long& noise_idx) override final; \
234
+ double* _state_vars, double* _intermediate_vars, \
235
+ double* _global_params, double* _regional_params, \
236
+ double& tmp_globalinput, \
237
+ double* noise, long& noise_idx) override final; \
238
238
  void _j_restart( \
239
- u_real* _state_vars, u_real* _intermediate_vars, \
240
- u_real* _global_params, u_real* _regional_params, \
239
+ double* _state_vars, double* _intermediate_vars, \
240
+ double* _global_params, double* _regional_params, \
241
241
  int* _ext_int, bool* _ext_bool, \
242
242
  int* _ext_int_shared, bool* _ext_bool_shared) override final; \
243
243
  void init_cpu(bool force_reinit) override final { \
@@ -245,8 +245,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
245
245
  } \
246
246
  void run_simulations_cpu( \
247
247
  double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
248
- u_real ** global_params, u_real ** regional_params, u_real * v_list, \
249
- u_real ** SC, int * SC_indices, u_real * SC_dist) override final { \
248
+ double ** global_params, double ** regional_params, double * v_list, \
249
+ double ** SC, int * SC_indices, double * SC_dist) override final { \
250
250
  _run_simulations_cpu<CLASS_NAME>( \
251
251
  BOLD_ex_out, fc_trils_out, fcd_trils_out, \
252
252
  global_params, regional_params, v_list, \
@@ -0,0 +1,10 @@
1
+ #ifndef BW_CUH
2
+ #define BW_CUH
3
+ #include "bw.hpp"
4
+ __constant__ BWConstants d_bwc;
5
+ __device__ void bw_step(
6
+ double& bw_x, double& bw_f, double& bw_nu,
7
+ double& bw_q, double& tmp_f,
8
+ double& n_state
9
+ );
10
+ #endif
@@ -0,0 +1,24 @@
1
+ #ifndef BW_HPP
2
+ #define BW_HPP
3
+ struct BWConstants {
4
+ double dt;
5
+ double rho;
6
+ double alpha;
7
+ double tau;
8
+ double y;
9
+ double kappa;
10
+ double V_0;
11
+ double k1;
12
+ double k2;
13
+ double k3;
14
+ double ialpha;
15
+ double itau;
16
+ double oneminrho;
17
+ double dt_itau;
18
+ double V_0_k1;
19
+ double V_0_k2;
20
+ double V_0_k3;
21
+ };
22
+
23
+ void init_bw_constants(BWConstants* bwc, double dt = 0.001);
24
+ #endif
@@ -4,8 +4,8 @@
4
4
  __constant__ KuramotoModel::Constants d_Kuramotoc;
5
5
  template void _run_simulations_gpu<KuramotoModel>(
6
6
  double*, double*, double*,
7
- u_real**, u_real**, u_real*,
8
- u_real**, int*, u_real*,
7
+ double**, double**, double*,
8
+ double**, int*, double*,
9
9
  BaseModel*
10
10
  );
11
11