Skip to content

NCrystal release 0.9.9

Compare
Choose a tag to compare
@tkittel tkittel released this 26 Mar 12:50
· 223 commits to master since this release
  • Atomic positions and mean-squared-displacement parameters are now optionally available in Info objects (for now, they are filled when using .ncmat files only).
  • Expose loadNCMAT function to client C++ code, making it possible to work with .ncmat files completely independent from the factory infrastructure.
  • Rename standard factories to stdnxs, stdncmat, stdlaz, stdscat and stdabs respectively and allow factory-specific parameters to be passed along to info factories. Thus, expandhkl which was until now a global NCMatCfg parameter, is now a parameter specific to the .ncmat factory. It can be set using a cfg like: "infofact=stdncmat:expandhkl".
  • For .nxs files running with "bkgd=external" will now result in background curves from nxslib which fully correspond to those in NXSG4 (except for a few cases such as with mono-/tri-clinic crystals where that nxslib version crashed, but the version in NCrystal was patched). For comparison studies, it is now possible to select a bkgd curve exactly like the one seen in Sample_nxs.comp with McStas by the configuration "bkgd=external;infofact=stdnxs:mcstaslikebkgd".
  • Other changes: Cleanup internal .ncmat loading code splitting out fillHKL to a new utility file, rename NonOrientedScatter to IsotropicScatter and fix compilation error in NCRCBase.hh seen with some compilers.