ncrystal 3.6.80__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 (411) hide show
  1. ncrystal-3.6.80/.github/ISSUE_TEMPLATE/bug_report.md +11 -0
  2. ncrystal-3.6.80/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. ncrystal-3.6.80/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. ncrystal-3.6.80/.github/ISSUE_TEMPLATE/request-for-new-material.md +10 -0
  5. ncrystal-3.6.80/.github/workflows/cmake.yml +146 -0
  6. ncrystal-3.6.80/.gitignore +16 -0
  7. ncrystal-3.6.80/CHANGELOG +1200 -0
  8. ncrystal-3.6.80/CMakeLists.txt +707 -0
  9. ncrystal-3.6.80/FILES +37 -0
  10. ncrystal-3.6.80/INSTALL +109 -0
  11. ncrystal-3.6.80/LICENSE +206 -0
  12. ncrystal-3.6.80/NCrystal/__init__.py +78 -0
  13. ncrystal-3.6.80/NCrystal/_chooks.py +778 -0
  14. ncrystal-3.6.80/NCrystal/_common.py +356 -0
  15. ncrystal-3.6.80/NCrystal/_coreimpl.py +114 -0
  16. ncrystal-3.6.80/NCrystal/_miscimpl.py +347 -0
  17. ncrystal-3.6.80/NCrystal/_ncmatimpl.py +1907 -0
  18. ncrystal-3.6.80/NCrystal/_numpy.py +65 -0
  19. ncrystal-3.6.80/NCrystal/_testimpl.py +327 -0
  20. ncrystal-3.6.80/NCrystal/api.py +55 -0
  21. ncrystal-3.6.80/NCrystal/atomdata.py +177 -0
  22. ncrystal-3.6.80/NCrystal/cfgstr.py +77 -0
  23. ncrystal-3.6.80/NCrystal/cifutils.py +1705 -0
  24. ncrystal-3.6.80/NCrystal/constants.py +125 -0
  25. ncrystal-3.6.80/NCrystal/core.py +1706 -0
  26. ncrystal-3.6.80/NCrystal/datasrc.py +221 -0
  27. ncrystal-3.6.80/NCrystal/exceptions.py +65 -0
  28. ncrystal-3.6.80/NCrystal/mcstasutils.py +403 -0
  29. ncrystal-3.6.80/NCrystal/misc.py +235 -0
  30. ncrystal-3.6.80/NCrystal/ncmat.py +702 -0
  31. ncrystal-3.6.80/NCrystal/obsolete.py +66 -0
  32. ncrystal-3.6.80/NCrystal/plot.py +473 -0
  33. ncrystal-3.6.80/NCrystal/plugins.py +49 -0
  34. ncrystal-3.6.80/NCrystal/test.py +29 -0
  35. ncrystal-3.6.80/NCrystal/vdos.py +1007 -0
  36. ncrystal-3.6.80/NOTICE +36 -0
  37. ncrystal-3.6.80/PKG-INFO +13 -0
  38. ncrystal-3.6.80/README +277 -0
  39. ncrystal-3.6.80/VERSION +1 -0
  40. ncrystal-3.6.80/cmake/NCrystalConfig.cmake.in +140 -0
  41. ncrystal-3.6.80/cmake/modules/ncrystal_legacyoptions.cmake +66 -0
  42. ncrystal-3.6.80/cmake/modules/ncrystal_options.cmake +53 -0
  43. ncrystal-3.6.80/cmake/modules/ncrystal_utils.cmake +85 -0
  44. ncrystal-3.6.80/cmake/ncrystal-config.in +277 -0
  45. ncrystal-3.6.80/cmake/template_setup.py.in +36 -0
  46. ncrystal-3.6.80/cmake/template_setup.sh.in +18 -0
  47. ncrystal-3.6.80/cmake/template_unsetup.sh.in +18 -0
  48. ncrystal-3.6.80/data/AcrylicGlass_C5O2H8.ncmat +84 -0
  49. ncrystal-3.6.80/data/AgBr_sg225_SilverBromide.ncmat +91 -0
  50. ncrystal-3.6.80/data/Ag_sg225.ncmat +57 -0
  51. ncrystal-3.6.80/data/Al2O3_sg167_Corundum.ncmat +148 -0
  52. ncrystal-3.6.80/data/Al4C3_sg166_AluminiumCarbide.ncmat +96 -0
  53. ncrystal-3.6.80/data/AlN_sg186_AluminumNitride.ncmat +77 -0
  54. ncrystal-3.6.80/data/Al_sg225.ncmat +72 -0
  55. ncrystal-3.6.80/data/Ar_Gas_STP.ncmat +24 -0
  56. ncrystal-3.6.80/data/Au_sg225.ncmat +40 -0
  57. ncrystal-3.6.80/data/BaF2_sg225_BariumFluoride.ncmat +93 -0
  58. ncrystal-3.6.80/data/BaO_sg225_BariumOxide.ncmat +98 -0
  59. ncrystal-3.6.80/data/Ba_sg229.ncmat +48 -0
  60. ncrystal-3.6.80/data/Be3N2_sg206_BerylliumNitride.ncmat +158 -0
  61. ncrystal-3.6.80/data/BeF2_sg152_Beryllium_Fluoride.ncmat +130 -0
  62. ncrystal-3.6.80/data/BeO_sg186.ncmat +80 -0
  63. ncrystal-3.6.80/data/Be_sg194.ncmat +41 -0
  64. ncrystal-3.6.80/data/Bi_sg166.ncmat +61 -0
  65. ncrystal-3.6.80/data/C_sg194_pyrolytic_graphite.ncmat +67 -0
  66. ncrystal-3.6.80/data/C_sg227_Diamond.ncmat +63 -0
  67. ncrystal-3.6.80/data/CaCO3_sg62_Aragonite.ncmat +167 -0
  68. ncrystal-3.6.80/data/CaF2_sg225_CalciumFlouride.ncmat +87 -0
  69. ncrystal-3.6.80/data/CaH2_sg62_CalciumHydride.ncmat +95 -0
  70. ncrystal-3.6.80/data/CaO2H2_sg164_CalciumHydroxide.ncmat +112 -0
  71. ncrystal-3.6.80/data/CaO_sg225_CalciumOxide.ncmat +83 -0
  72. ncrystal-3.6.80/data/CaSiO3_sg2_Wollastonite.ncmat +80 -0
  73. ncrystal-3.6.80/data/Ca_sg225.ncmat +52 -0
  74. ncrystal-3.6.80/data/Ca_sg229_Calcium-gamma.ncmat +34 -0
  75. ncrystal-3.6.80/data/CeO2_sg225_CeriumOxide.ncmat +90 -0
  76. ncrystal-3.6.80/data/Cr_sg229.ncmat +43 -0
  77. ncrystal-3.6.80/data/Cu2O_sg224_Cuprite.ncmat +120 -0
  78. ncrystal-3.6.80/data/Cu_sg225.ncmat +52 -0
  79. ncrystal-3.6.80/data/Dy2O3_sg206_DysprosiumOxide.ncmat +160 -0
  80. ncrystal-3.6.80/data/Epoxy_Araldite506_C18H20O3.ncmat +75 -0
  81. ncrystal-3.6.80/data/Fe_sg225_Iron-gamma.ncmat +67 -0
  82. ncrystal-3.6.80/data/Fe_sg229_Iron-alpha.ncmat +86 -0
  83. ncrystal-3.6.80/data/GaN_sg186_GalliumNitride.ncmat +85 -0
  84. ncrystal-3.6.80/data/GaSe_sg194_GalliumSelenide.ncmat +91 -0
  85. ncrystal-3.6.80/data/Ge3Bi4O12_sg220_BismuthGermanate.ncmat +184 -0
  86. ncrystal-3.6.80/data/Ge_sg227.ncmat +85 -0
  87. ncrystal-3.6.80/data/He_Gas_STP.ncmat +24 -0
  88. ncrystal-3.6.80/data/HfO2_sg14_HafniumOxide.ncmat +93 -0
  89. ncrystal-3.6.80/data/Ho2O3_sg206_HolmiumOxide.ncmat +164 -0
  90. ncrystal-3.6.80/data/KBr_sg225_PotassiumBromide.ncmat +68 -0
  91. ncrystal-3.6.80/data/KF_sg225_PotassiumFlouride.ncmat +80 -0
  92. ncrystal-3.6.80/data/KOH_sg4_PotassiumHydroxide.ncmat +113 -0
  93. ncrystal-3.6.80/data/K_sg229.ncmat +56 -0
  94. ncrystal-3.6.80/data/Kapton_C22H10N2O5.ncmat +77 -0
  95. ncrystal-3.6.80/data/Kr_Gas_STP.ncmat +24 -0
  96. ncrystal-3.6.80/data/LaBr3_sg176_LanthanumBromide.ncmat +79 -0
  97. ncrystal-3.6.80/data/Li2O_sg225_LithiumOxide.ncmat +78 -0
  98. ncrystal-3.6.80/data/Li3N_sg191_LithiumNitride.ncmat +77 -0
  99. ncrystal-3.6.80/data/LiF_sg225_LithiumFlouride.ncmat +81 -0
  100. ncrystal-3.6.80/data/LiH_sg225_LithiumHydride.ncmat +100 -0
  101. ncrystal-3.6.80/data/LiquidHeavyWaterD2O_T293.6K.ncmat +18256 -0
  102. ncrystal-3.6.80/data/LiquidWaterH2O_T293.6K.ncmat +6193 -0
  103. ncrystal-3.6.80/data/Lu2O3_sg206_LutetiumOxide.ncmat +161 -0
  104. ncrystal-3.6.80/data/Lu2SiO5_sg15.ncmat +169 -0
  105. ncrystal-3.6.80/data/Mg2SiO4_sg62_MagnesiumSilicate.ncmat +131 -0
  106. ncrystal-3.6.80/data/MgAl2O4_sg227_MAS.ncmat +168 -0
  107. ncrystal-3.6.80/data/MgCO3_sg167_MagnesiumCarbonate.ncmat +137 -0
  108. ncrystal-3.6.80/data/MgD2_sg136_MagnesiumDeuteride.ncmat +103 -0
  109. ncrystal-3.6.80/data/MgF2_sg136_MagnesiumFlouride.ncmat +86 -0
  110. ncrystal-3.6.80/data/MgH2_sg136_MagnesiumHydride.ncmat +118 -0
  111. ncrystal-3.6.80/data/MgO2H2_sg164_MagnesiumHydroxide.ncmat +123 -0
  112. ncrystal-3.6.80/data/MgO_sg225_Periclase.ncmat +124 -0
  113. ncrystal-3.6.80/data/Mg_sg194.ncmat +38 -0
  114. ncrystal-3.6.80/data/Mo_sg229.ncmat +44 -0
  115. ncrystal-3.6.80/data/Na4Si3Al3O12Cl_sg218_Sodalite.ncmat +205 -0
  116. ncrystal-3.6.80/data/NaBr_sg225_SodiumBromide.ncmat +74 -0
  117. ncrystal-3.6.80/data/NaCl_sg225_SodiumChloride.ncmat +83 -0
  118. ncrystal-3.6.80/data/NaF_sg225_SodiumFlouride.ncmat +80 -0
  119. ncrystal-3.6.80/data/NaI_sg225_SodiumIodide.ncmat +78 -0
  120. ncrystal-3.6.80/data/Na_sg229.ncmat +50 -0
  121. ncrystal-3.6.80/data/Nb_sg229.ncmat +44 -0
  122. ncrystal-3.6.80/data/Ne_Gas_STP.ncmat +24 -0
  123. ncrystal-3.6.80/data/Ni_sg225.ncmat +47 -0
  124. ncrystal-3.6.80/data/Nylon11_C11H21NO.ncmat +81 -0
  125. ncrystal-3.6.80/data/Nylon12_C12H23NO.ncmat +79 -0
  126. ncrystal-3.6.80/data/Nylon610_C16H30N2O2.ncmat +81 -0
  127. ncrystal-3.6.80/data/Nylon66or6_C12H22N2O2.ncmat +86 -0
  128. ncrystal-3.6.80/data/PEEK_C19H12O3.ncmat +69 -0
  129. ncrystal-3.6.80/data/PVC_C2H3Cl.ncmat +74 -0
  130. ncrystal-3.6.80/data/PbF2-beta_sg225_BetaLeadFlouride.ncmat +105 -0
  131. ncrystal-3.6.80/data/PbO-alpha_sg129_Litharge.ncmat +86 -0
  132. ncrystal-3.6.80/data/PbO-beta_sg57_Massicot.ncmat +119 -0
  133. ncrystal-3.6.80/data/PbS_sg225_LeadSulfide.ncmat +87 -0
  134. ncrystal-3.6.80/data/Pb_sg225.ncmat +52 -0
  135. ncrystal-3.6.80/data/Pd_sg225.ncmat +43 -0
  136. ncrystal-3.6.80/data/Polycarbonate_C16O3H14.ncmat +75 -0
  137. ncrystal-3.6.80/data/Polyester_C10H8O4.ncmat +80 -0
  138. ncrystal-3.6.80/data/Polyethylene_CH2.ncmat +89 -0
  139. ncrystal-3.6.80/data/Polylactide_C3H4O2.ncmat +73 -0
  140. ncrystal-3.6.80/data/Polypropylene_C3H6.ncmat +69 -0
  141. ncrystal-3.6.80/data/Polystyrene_C8H8.ncmat +70 -0
  142. ncrystal-3.6.80/data/Pt_sg225.ncmat +49 -0
  143. ncrystal-3.6.80/data/Rb_sg229.ncmat +53 -0
  144. ncrystal-3.6.80/data/Rubber_C5H8.ncmat +70 -0
  145. ncrystal-3.6.80/data/Sc_sg194.ncmat +63 -0
  146. ncrystal-3.6.80/data/SiC-beta_sg216_BetaSiliconCarbide.ncmat +85 -0
  147. ncrystal-3.6.80/data/SiO2-alpha_sg154_AlphaQuartz.ncmat +126 -0
  148. ncrystal-3.6.80/data/SiO2-beta_sg180_BetaQuartz.ncmat +98 -0
  149. ncrystal-3.6.80/data/Si_sg227.ncmat +56 -0
  150. ncrystal-3.6.80/data/Sn_sg141.ncmat +42 -0
  151. ncrystal-3.6.80/data/SrF2_sg225_StrontiumFluoride.ncmat +95 -0
  152. ncrystal-3.6.80/data/SrH2_sg62_StrontiumHydride.ncmat +93 -0
  153. ncrystal-3.6.80/data/Sr_sg225.ncmat +50 -0
  154. ncrystal-3.6.80/data/Th3N4_sg166_ThoriumNitride.ncmat +103 -0
  155. ncrystal-3.6.80/data/ThO2_sg225_ThoriumDioxide.ncmat +92 -0
  156. ncrystal-3.6.80/data/Th_sg225.ncmat +49 -0
  157. ncrystal-3.6.80/data/TiO2_sg136_Rutile.ncmat +88 -0
  158. ncrystal-3.6.80/data/TiO2_sg141_Anatase.ncmat +90 -0
  159. ncrystal-3.6.80/data/Ti_sg194.ncmat +58 -0
  160. ncrystal-3.6.80/data/TlBr_sg221_ThaliumBromide.ncmat +79 -0
  161. ncrystal-3.6.80/data/Tm2O3_sg206_ThuliumOxide.ncmat +159 -0
  162. ncrystal-3.6.80/data/UF6_sg62_UraniumHexaflouride.ncmat +99 -0
  163. ncrystal-3.6.80/data/UO2_sg225_UraniumDioxide.ncmat +97 -0
  164. ncrystal-3.6.80/data/V_sg229.ncmat +59 -0
  165. ncrystal-3.6.80/data/W_sg229.ncmat +51 -0
  166. ncrystal-3.6.80/data/Xe_Gas_STP.ncmat +24 -0
  167. ncrystal-3.6.80/data/Y2O3_sg206_Yttrium_Oxide.ncmat +176 -0
  168. ncrystal-3.6.80/data/Y2SiO5_sg15_YSO.ncmat +168 -0
  169. ncrystal-3.6.80/data/Y3Al5O12_sg230_YAG.ncmat +260 -0
  170. ncrystal-3.6.80/data/Y_sg194.ncmat +64 -0
  171. ncrystal-3.6.80/data/ZnF2_sg136_ZincFlouride.ncmat +81 -0
  172. ncrystal-3.6.80/data/ZnO_sg186_ZincOxide.ncmat +103 -0
  173. ncrystal-3.6.80/data/ZnS_sg216_Sphalerite.ncmat +87 -0
  174. ncrystal-3.6.80/data/Zn_sg194.ncmat +52 -0
  175. ncrystal-3.6.80/data/ZrF4-beta_sg84.ncmat +134 -0
  176. ncrystal-3.6.80/data/ZrO2_sg137_Zirconia.ncmat +103 -0
  177. ncrystal-3.6.80/data/ZrO2_sg14_Zirconia.ncmat +90 -0
  178. ncrystal-3.6.80/data/Zr_sg194.ncmat +70 -0
  179. ncrystal-3.6.80/data/void.ncmat +22 -0
  180. ncrystal-3.6.80/docs/ncmat_doc.md +884 -0
  181. ncrystal-3.6.80/examples/NCrystal_example_mcstas.instr +87 -0
  182. ncrystal-3.6.80/examples/ncrystal_example_c.c +86 -0
  183. ncrystal-3.6.80/examples/ncrystal_example_cpp.cc +132 -0
  184. ncrystal-3.6.80/examples/ncrystal_example_customphysics.cc +231 -0
  185. ncrystal-3.6.80/examples/ncrystal_example_g4sim.cc +172 -0
  186. ncrystal-3.6.80/examples/ncrystal_example_py +49 -0
  187. ncrystal-3.6.80/ncrystal.egg-info/PKG-INFO +13 -0
  188. ncrystal-3.6.80/ncrystal.egg-info/SOURCES.txt +409 -0
  189. ncrystal-3.6.80/ncrystal.egg-info/dependency_links.txt +1 -0
  190. ncrystal-3.6.80/ncrystal.egg-info/requires.txt +1 -0
  191. ncrystal-3.6.80/ncrystal.egg-info/top_level.txt +1 -0
  192. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCAtomData.hh +274 -0
  193. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCCompositionUtils.hh +155 -0
  194. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCDataSources.hh +176 -0
  195. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCDefs.hh +1362 -0
  196. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCDump.hh +43 -0
  197. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCException.hh +183 -0
  198. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCFact.hh +74 -0
  199. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCFactImpl.hh +231 -0
  200. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCFactRequests.hh +298 -0
  201. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCFactTypes.hh +234 -0
  202. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCFmt.hh +213 -0
  203. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCImmutBuf.hh +332 -0
  204. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCInfo.hh +619 -0
  205. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCInfoBuilder.hh +121 -0
  206. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCInfoTypes.hh +370 -0
  207. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCLoadNCMAT.hh +90 -0
  208. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCMatCfg.hh +448 -0
  209. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCMem.hh +343 -0
  210. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCNCMATData.hh +162 -0
  211. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCParseNCMAT.hh +46 -0
  212. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCPluginBoilerplate.hh +127 -0
  213. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCPluginMgmt.hh +79 -0
  214. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCProc.hh +180 -0
  215. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCProcImpl.hh +397 -0
  216. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCRNG.hh +200 -0
  217. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCSABData.hh +94 -0
  218. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCSCOrientation.hh +151 -0
  219. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCSmallVector.hh +959 -0
  220. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCTextData.hh +353 -0
  221. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCTypes.hh +950 -0
  222. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCVariant.hh +328 -0
  223. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCVersion.hh +69 -0
  224. ncrystal-3.6.80/ncrystal_core/include/NCrystal/NCrystal.hh +122 -0
  225. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCAbsOOV.hh +58 -0
  226. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCAtomDB.hh +58 -0
  227. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCAtomDBExtender.hh +87 -0
  228. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCAtomUtils.hh +136 -0
  229. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCBkgdExtCurve.hh +51 -0
  230. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCCfgManip.hh +476 -0
  231. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCCfgTypes.hh +766 -0
  232. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCCfgVars.hh +758 -0
  233. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCDebyeMSD.hh +48 -0
  234. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCDynInfoUtils.hh +69 -0
  235. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCDynLoader.hh +88 -0
  236. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCElIncScatter.hh +91 -0
  237. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCElIncXS.hh +122 -0
  238. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCEqRefl.hh +175 -0
  239. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFactoryUtils.hh +499 -0
  240. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFastConvolve.hh +65 -0
  241. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFileUtils.hh +66 -0
  242. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFillHKL.hh +75 -0
  243. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFreeGas.hh +62 -0
  244. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCFreeGasUtils.hh +159 -0
  245. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCGasMixUtils.hh +101 -0
  246. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCGaussMos.hh +216 -0
  247. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCGaussOnSphere.hh +215 -0
  248. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCIofQHelper.hh +108 -0
  249. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCIter.hh +89 -0
  250. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCKinUtils.hh +208 -0
  251. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCLCBragg.hh +74 -0
  252. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCLCRefModels.hh +80 -0
  253. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCLCUtils.hh +284 -0
  254. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCLatticeUtils.hh +104 -0
  255. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCMath.hh +706 -0
  256. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCMatrix.hh +243 -0
  257. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCOrientUtils.hh +49 -0
  258. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCPCBragg.hh +79 -0
  259. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCPlaneProvider.hh +149 -0
  260. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCPointwiseDist.hh +79 -0
  261. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCRandUtils.hh +222 -0
  262. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCRomberg.hh +78 -0
  263. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCRotMatrix.hh +187 -0
  264. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABEval.hh +430 -0
  265. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABExtender.hh +79 -0
  266. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABFactory.hh +51 -0
  267. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABIntegrator.hh +74 -0
  268. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABSampler.hh +94 -0
  269. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABSamplerModels.hh +112 -0
  270. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABScatter.hh +79 -0
  271. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABScatterHelper.hh +61 -0
  272. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABUCN.hh +191 -0
  273. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABUtils.hh +305 -0
  274. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSABXSProvider.hh +54 -0
  275. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSANSSphScat.hh +72 -0
  276. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSANSUtils.hh +167 -0
  277. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSCBragg.hh +74 -0
  278. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCScatKnlData.hh +108 -0
  279. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSpan.hh +154 -0
  280. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCSpline.hh +208 -0
  281. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCStrView.hh +488 -0
  282. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCString.hh +395 -0
  283. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCVDOSEval.hh +138 -0
  284. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCVDOSGn.hh +156 -0
  285. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCVDOSToScatKnl.hh +59 -0
  286. ncrystal-3.6.80/ncrystal_core/include/NCrystal/internal/NCVector.hh +268 -0
  287. ncrystal-3.6.80/ncrystal_core/include/NCrystal/ncapi.h +104 -0
  288. ncrystal-3.6.80/ncrystal_core/include/NCrystal/ncrystal.h +685 -0
  289. ncrystal-3.6.80/ncrystal_core/src/NCAbsOOV.cc +70 -0
  290. ncrystal-3.6.80/ncrystal_core/src/NCAtomDB.cc +682 -0
  291. ncrystal-3.6.80/ncrystal_core/src/NCAtomDBExtender.cc +225 -0
  292. ncrystal-3.6.80/ncrystal_core/src/NCAtomData.cc +327 -0
  293. ncrystal-3.6.80/ncrystal_core/src/NCAtomUtils.cc +397 -0
  294. ncrystal-3.6.80/ncrystal_core/src/NCBkgdExtCurve.cc +52 -0
  295. ncrystal-3.6.80/ncrystal_core/src/NCCfgManip.cc +480 -0
  296. ncrystal-3.6.80/ncrystal_core/src/NCCfgTypes.cc +185 -0
  297. ncrystal-3.6.80/ncrystal_core/src/NCCfgVars.cc +393 -0
  298. ncrystal-3.6.80/ncrystal_core/src/NCCompositionUtils.cc +335 -0
  299. ncrystal-3.6.80/ncrystal_core/src/NCDataSources.cc +730 -0
  300. ncrystal-3.6.80/ncrystal_core/src/NCDebyeMSD.cc +99 -0
  301. ncrystal-3.6.80/ncrystal_core/src/NCDefs.cc +65 -0
  302. ncrystal-3.6.80/ncrystal_core/src/NCDump.cc +480 -0
  303. ncrystal-3.6.80/ncrystal_core/src/NCDynInfoUtils.cc +282 -0
  304. ncrystal-3.6.80/ncrystal_core/src/NCDynLoader.cc +204 -0
  305. ncrystal-3.6.80/ncrystal_core/src/NCElIncScatter.cc +225 -0
  306. ncrystal-3.6.80/ncrystal_core/src/NCElIncXS.cc +202 -0
  307. ncrystal-3.6.80/ncrystal_core/src/NCEqRefl.cc +150 -0
  308. ncrystal-3.6.80/ncrystal_core/src/NCException.cc +68 -0
  309. ncrystal-3.6.80/ncrystal_core/src/NCFact.cc +77 -0
  310. ncrystal-3.6.80/ncrystal_core/src/NCFactImpl.cc +927 -0
  311. ncrystal-3.6.80/ncrystal_core/src/NCFactRequests.cc +296 -0
  312. ncrystal-3.6.80/ncrystal_core/src/NCFactTypes.cc +72 -0
  313. ncrystal-3.6.80/ncrystal_core/src/NCFactoryUtils.cc +144 -0
  314. ncrystal-3.6.80/ncrystal_core/src/NCFactory_NCMAT.cc +54 -0
  315. ncrystal-3.6.80/ncrystal_core/src/NCFastConvolve.cc +256 -0
  316. ncrystal-3.6.80/ncrystal_core/src/NCFileUtils.cc +198 -0
  317. ncrystal-3.6.80/ncrystal_core/src/NCFillHKL.cc +700 -0
  318. ncrystal-3.6.80/ncrystal_core/src/NCFmt.cc +194 -0
  319. ncrystal-3.6.80/ncrystal_core/src/NCFreeGas.cc +90 -0
  320. ncrystal-3.6.80/ncrystal_core/src/NCFreeGasUtils.cc +931 -0
  321. ncrystal-3.6.80/ncrystal_core/src/NCGasMixFact.cc +133 -0
  322. ncrystal-3.6.80/ncrystal_core/src/NCGasMixUtils.cc +651 -0
  323. ncrystal-3.6.80/ncrystal_core/src/NCGaussMos.cc +282 -0
  324. ncrystal-3.6.80/ncrystal_core/src/NCGaussOnSphere.cc +543 -0
  325. ncrystal-3.6.80/ncrystal_core/src/NCInfo.cc +343 -0
  326. ncrystal-3.6.80/ncrystal_core/src/NCInfoBuilder.cc +1239 -0
  327. ncrystal-3.6.80/ncrystal_core/src/NCIofQHelper.cc +89 -0
  328. ncrystal-3.6.80/ncrystal_core/src/NCKinUtils.cc +44 -0
  329. ncrystal-3.6.80/ncrystal_core/src/NCLCBragg.cc +143 -0
  330. ncrystal-3.6.80/ncrystal_core/src/NCLCRefModels.cc +167 -0
  331. ncrystal-3.6.80/ncrystal_core/src/NCLCUtils.cc +768 -0
  332. ncrystal-3.6.80/ncrystal_core/src/NCLatticeUtils.cc +477 -0
  333. ncrystal-3.6.80/ncrystal_core/src/NCLauLazyFact.cc +67 -0
  334. ncrystal-3.6.80/ncrystal_core/src/NCLazy.cc +670 -0
  335. ncrystal-3.6.80/ncrystal_core/src/NCLazy.hh +68 -0
  336. ncrystal-3.6.80/ncrystal_core/src/NCLoadNCMAT.cc +756 -0
  337. ncrystal-3.6.80/ncrystal_core/src/NCMatCfg.cc +1262 -0
  338. ncrystal-3.6.80/ncrystal_core/src/NCMath.cc +543 -0
  339. ncrystal-3.6.80/ncrystal_core/src/NCMatrix.cc +137 -0
  340. ncrystal-3.6.80/ncrystal_core/src/NCMem.cc +105 -0
  341. ncrystal-3.6.80/ncrystal_core/src/NCNCMATData.cc +715 -0
  342. ncrystal-3.6.80/ncrystal_core/src/NCOrientUtils.cc +42 -0
  343. ncrystal-3.6.80/ncrystal_core/src/NCPCBragg.cc +310 -0
  344. ncrystal-3.6.80/ncrystal_core/src/NCParseNCMAT.cc +950 -0
  345. ncrystal-3.6.80/ncrystal_core/src/NCPlaneProvider.cc +229 -0
  346. ncrystal-3.6.80/ncrystal_core/src/NCPluginMgmt.cc +238 -0
  347. ncrystal-3.6.80/ncrystal_core/src/NCPointwiseDist.cc +149 -0
  348. ncrystal-3.6.80/ncrystal_core/src/NCProc.cc +78 -0
  349. ncrystal-3.6.80/ncrystal_core/src/NCProcImpl.cc +479 -0
  350. ncrystal-3.6.80/ncrystal_core/src/NCQuickFact.cc +308 -0
  351. ncrystal-3.6.80/ncrystal_core/src/NCRNG.cc +394 -0
  352. ncrystal-3.6.80/ncrystal_core/src/NCRandUtils.cc +538 -0
  353. ncrystal-3.6.80/ncrystal_core/src/NCRomberg.cc +169 -0
  354. ncrystal-3.6.80/ncrystal_core/src/NCRotMatrix.cc +135 -0
  355. ncrystal-3.6.80/ncrystal_core/src/NCSABData.cc +67 -0
  356. ncrystal-3.6.80/ncrystal_core/src/NCSABEval.cc +680 -0
  357. ncrystal-3.6.80/ncrystal_core/src/NCSABExtender.cc +50 -0
  358. ncrystal-3.6.80/ncrystal_core/src/NCSABFactory.cc +141 -0
  359. ncrystal-3.6.80/ncrystal_core/src/NCSABIntegrator.cc +539 -0
  360. ncrystal-3.6.80/ncrystal_core/src/NCSABSampler.cc +231 -0
  361. ncrystal-3.6.80/ncrystal_core/src/NCSABSamplerModels.cc +233 -0
  362. ncrystal-3.6.80/ncrystal_core/src/NCSABScatter.cc +102 -0
  363. ncrystal-3.6.80/ncrystal_core/src/NCSABUCN.cc +593 -0
  364. ncrystal-3.6.80/ncrystal_core/src/NCSABUtils.cc +615 -0
  365. ncrystal-3.6.80/ncrystal_core/src/NCSABXSProvider.cc +95 -0
  366. ncrystal-3.6.80/ncrystal_core/src/NCSANSFact.cc +109 -0
  367. ncrystal-3.6.80/ncrystal_core/src/NCSANSSphScat.cc +259 -0
  368. ncrystal-3.6.80/ncrystal_core/src/NCSANSUtils.cc +170 -0
  369. ncrystal-3.6.80/ncrystal_core/src/NCSCBragg.cc +348 -0
  370. ncrystal-3.6.80/ncrystal_core/src/NCSCOrientation.cc +83 -0
  371. ncrystal-3.6.80/ncrystal_core/src/NCScatKnlData.cc +93 -0
  372. ncrystal-3.6.80/ncrystal_core/src/NCSpline.cc +223 -0
  373. ncrystal-3.6.80/ncrystal_core/src/NCStdAbsFact.cc +71 -0
  374. ncrystal-3.6.80/ncrystal_core/src/NCStdMPScatFact.cc +107 -0
  375. ncrystal-3.6.80/ncrystal_core/src/NCStdScatFact.cc +389 -0
  376. ncrystal-3.6.80/ncrystal_core/src/NCStrView.cc +207 -0
  377. ncrystal-3.6.80/ncrystal_core/src/NCString.cc +495 -0
  378. ncrystal-3.6.80/ncrystal_core/src/NCTDProd.cc +205 -0
  379. ncrystal-3.6.80/ncrystal_core/src/NCTextData.cc +188 -0
  380. ncrystal-3.6.80/ncrystal_core/src/NCTypes.cc +85 -0
  381. ncrystal-3.6.80/ncrystal_core/src/NCVDOSEval.cc +608 -0
  382. ncrystal-3.6.80/ncrystal_core/src/NCVDOSGn.cc +390 -0
  383. ncrystal-3.6.80/ncrystal_core/src/NCVDOSToScatKnl.cc +843 -0
  384. ncrystal-3.6.80/ncrystal_core/src/NCVector.cc +32 -0
  385. ncrystal-3.6.80/ncrystal_core/src/NCVersion.cc +27 -0
  386. ncrystal-3.6.80/ncrystal_core/src/ncrystal.cc +2168 -0
  387. ncrystal-3.6.80/ncrystal_geant4/include/G4NCrystal/G4NCInstall.hh +48 -0
  388. ncrystal-3.6.80/ncrystal_geant4/include/G4NCrystal/G4NCManager.hh +157 -0
  389. ncrystal-3.6.80/ncrystal_geant4/include/G4NCrystal/G4NCMatHelper.hh +46 -0
  390. ncrystal-3.6.80/ncrystal_geant4/include/G4NCrystal/G4NCrystal.hh +47 -0
  391. ncrystal-3.6.80/ncrystal_geant4/src/G4NCInstall.cc +136 -0
  392. ncrystal-3.6.80/ncrystal_geant4/src/G4NCManager.cc +134 -0
  393. ncrystal-3.6.80/ncrystal_geant4/src/G4NCMatHelper.cc +346 -0
  394. ncrystal-3.6.80/ncrystal_geant4/src/G4NCProcWrapper.cc +174 -0
  395. ncrystal-3.6.80/ncrystal_geant4/src/G4NCProcWrapper.hh +60 -0
  396. ncrystal-3.6.80/ncrystal_mcstas/NCrystal_example.instr +87 -0
  397. ncrystal-3.6.80/ncrystal_mcstas/NCrystal_sample.comp +386 -0
  398. ncrystal-3.6.80/ncrystal_mcstas/ncrystal_preparemcstasdir +112 -0
  399. ncrystal-3.6.80/pyproject.toml +29 -0
  400. ncrystal-3.6.80/scripts/ncrystal_cif2ncmat +301 -0
  401. ncrystal-3.6.80/scripts/ncrystal_endf2ncmat +681 -0
  402. ncrystal-3.6.80/scripts/ncrystal_hfg2ncmat +832 -0
  403. ncrystal-3.6.80/scripts/ncrystal_inspectfile +866 -0
  404. ncrystal-3.6.80/scripts/ncrystal_ncmat2cpp +347 -0
  405. ncrystal-3.6.80/scripts/ncrystal_ncmat2hkl +167 -0
  406. ncrystal-3.6.80/scripts/ncrystal_onlinedb2ncmat +33 -0
  407. ncrystal-3.6.80/scripts/ncrystal_vdos2ncmat +460 -0
  408. ncrystal-3.6.80/scripts/ncrystal_verifyatompos +301 -0
  409. ncrystal-3.6.80/scripts/nctool +866 -0
  410. ncrystal-3.6.80/setup.cfg +4 -0
  411. ncrystal-3.6.80/setup.py +63 -0
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is. Please try to include all relevant information that you have (NCrystal version, OS, compiler version, how are you using NCrystal, how can we reproduce, etc.).
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: Question
4
+ url: https://github.com/mctools/ncrystal/discussions/new
5
+ about: Ask a question about NCrystal on the forum (Discussions) page.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: Request for new material
3
+ about: Use this template for requesting new materials (.ncmat files).
4
+ title: 'Request for new material : <<MATERIALNAMEHERE>>'
5
+ labels: data library
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ Please describe the material here, provide as much info as possible - crystal structure, phonon DOS curves, links to relevant online databases, .... Don't worry if you don't have much info, just try to descrive as much as you can. It is also helpful to hear why you need the material, for what project, etc. Of course, we can't guarantee that we will be able to create files for all materials requested in this manner, as some materials might be more difficult.
@@ -0,0 +1,146 @@
1
+ name: CMake
2
+
3
+ on:
4
+ push:
5
+ branches: [ develop ]
6
+ pull_request:
7
+ branches: [ develop ]
8
+
9
+ env:
10
+ # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
11
+ BUILD_TYPE: Release
12
+
13
+ jobs:
14
+ build:
15
+ # The CMake configure and build commands are platform agnostic and should work equally
16
+ # well on Windows or Mac. You can convert this to a matrix build if you need
17
+ # cross-platform coverage.
18
+ # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
19
+ strategy:
20
+ matrix:
21
+ include:
22
+ - { os: ubuntu-20.04, CC: gcc, CXX: g++, python: '3.7' }
23
+ - { os: ubuntu-20.04, CC: gcc-10, CXX: g++-10, python: '3.8' }
24
+ - { os: ubuntu-22.04, CC: gcc, CXX: g++, python: '3.9' }
25
+ - { os: ubuntu-latest, CC: gcc, CXX: g++, python: '3.10' }
26
+ - { os: ubuntu-latest, CC: clang, CXX: clang++, python: '3.11' }
27
+ - { os: ubuntu-latest, CC: gcc-12, CXX: g++-12, python: '3.11' }
28
+ - { os: macos-11, CC: clang, CXX: clang++, python: "3.10" }
29
+ - { os: macos-latest, CC: clang, CXX: clang++, python: "3.11" }
30
+ name: ${{ matrix.os }}.${{ matrix.CC }}.python-${{ matrix.python }}
31
+ runs-on: ${{ matrix.os }}
32
+ env:
33
+ CC: ${{ matrix.CC }}
34
+ CXX: ${{ matrix.CXX }}
35
+ # SHELL: /bin/bash
36
+ #name: Ubuntu with Python ${{ matrix.python-version }}
37
+
38
+ steps:
39
+ - name: Checkout
40
+ uses: actions/checkout@v2
41
+ with:
42
+ path: src
43
+
44
+ - name: Setup python
45
+ uses: actions/setup-python@v2
46
+ with:
47
+ python-version: ${{ matrix.python }}
48
+
49
+ - name: Pip install
50
+ run: |
51
+ python3 -m pip install numpy
52
+ python3 -m pip install gemmi
53
+ python3 -m pip install spglib
54
+ #python3 -m pip install ase
55
+ #python3 -m pip install pymatgen
56
+
57
+ - name: Check versions
58
+ run: |
59
+ which python3
60
+ python3 --version
61
+ which cmake
62
+ cmake --version
63
+
64
+ - name: Configure CMake
65
+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
66
+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
67
+ run: >
68
+ cmake
69
+ -S ${{github.workspace}}/src
70
+ -B ${{github.workspace}}/build
71
+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
72
+ -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
73
+ -DNCRYSTAL_ENABLE_EXAMPLES=ON
74
+ -DNCRYSTAL_BUILD_STRICT=ON
75
+
76
+ - name: Build
77
+ run: >
78
+ cmake
79
+ --build ${{github.workspace}}/build
80
+ --config ${{env.BUILD_TYPE}}
81
+
82
+ - name: Install
83
+ run: cmake --install ${{github.workspace}}/build
84
+
85
+ - name: Look around
86
+ run: ls -l ${{github.workspace}}
87
+
88
+ - name: Tests without environment setup
89
+ run: |
90
+ ${{github.workspace}}/install/bin/ncrystal-config --summary
91
+ ${{github.workspace}}/install/bin/nctool --test
92
+ ${{github.workspace}}/install/bin/ncrystal_example_c
93
+ ${{github.workspace}}/install/bin/ncrystal_example_cpp
94
+ ${{github.workspace}}/install/bin/nctool --dump 'Al_sg225.ncmat;dcutoff=1.5'
95
+
96
+ - name: Tests with eval ncrystal-config setup
97
+ run: |
98
+ eval $(${{github.workspace}}/install/bin/ncrystal-config --setup)
99
+ ncrystal-config --summary
100
+ nctool --test
101
+ ncrystal-config --help
102
+ ncrystal_example_c
103
+ ncrystal_example_cpp
104
+ ncrystal_example_py
105
+ nctool --help
106
+ nctool --dump 'Al_sg225.ncmat;dcutoff=1.5'
107
+ python3 -c 'import NCrystal; NCrystal.test()'
108
+ ncrystal_vdos2ncmat --help
109
+ ncrystal_cif2ncmat --help
110
+ ncrystal_ncmat2cpp --help
111
+ ncrystal_hfg2ncmat --help
112
+ ncrystal_verifyatompos --help
113
+ ncrystal_cif2ncmat codid::9008460
114
+ ncrystal_ncmat2hkl --help
115
+ ncrystal_ncmat2hkl --format=laz 'Al_sg225.ncmat;temp=250K;dcutoff=0.75' -o test_Al.laz
116
+ ncrystal_ncmat2hkl --format=lau 'Al_sg225.ncmat;temp=250K;dcutoff=0.75' -o test_Al.lau
117
+ nctool -d ./test_Al.laz
118
+ nctool -d ./test_Al.lau
119
+ ncrystal_ncmat2cpp $(ncrystal-config --show=datadir)/Al_sg225.ncmat -o test.cpp
120
+ cat test.cpp
121
+ eval $(ncrystal-config --unsetup)
122
+ #NEEDS MATPLOTLIB: nctool --pdf Al_sg225.ncmat
123
+
124
+ - name: Tests with setup.sh
125
+ run: |
126
+ . ${{github.workspace}}/install/setup.sh
127
+ ncrystal-config --summary
128
+ nctool --test
129
+ ncrystal_inspectfile --test
130
+ ncrystal_vdos2ncmat --help
131
+ ncrystal_cif2ncmat --help
132
+ ncrystal_ncmat2hkl --help
133
+ ncrystal_ncmat2hkl --format=laz 'Al_sg225.ncmat;temp=250K;dcutoff=0.75' -o test2_Al.laz
134
+ ncrystal_ncmat2hkl --format=lau 'Al_sg225.ncmat;temp=250K;dcutoff=0.75' -o test2_Al.lau
135
+ nctool -d ./test2_Al.laz
136
+ nctool -d ./test2_Al.lau
137
+ ncrystal_ncmat2cpp --help
138
+ ncrystal_hfg2ncmat --help
139
+ ncrystal_verifyatompos --help
140
+ ncrystal_example_c
141
+ ncrystal_example_cpp
142
+ ncrystal_example_py
143
+ python3 -m NCrystal.test
144
+ python3 -c 'import NCrystal; NCrystal.test()'
145
+ . ${{github.workspace}}/install/unsetup.sh
146
+
@@ -0,0 +1,16 @@
1
+ _site
2
+ .DS_Store
3
+ .jekyll
4
+ .jekyll-metadata
5
+ .bundle
6
+ .sass-cache
7
+ #Gemfile
8
+ #Gemfile.lock
9
+ #node_modules
10
+ #package.json
11
+
12
+
13
+ # Emacs
14
+ *~
15
+ \#*\#
16
+ .\#*