Initial commit of Phonon_BvK_PG and test instrument#2344
Initial commit of Phonon_BvK_PG and test instrument#2344lefmann wants to merge 15 commits intomccode-dev:mainfrom
Conversation
|
@lefmann I have shortened the “checklist” above to contain only the relevant tick-marks. I will now see if I can reformat the c-snippets from J. Avery to become a more standard set of McStas |
(Mismatching prototype vs. system-provided sort on macOS)
|
@lefmann yikes! I now have running prototype on Windows - hacked together just now… Loads of edits to both the Avery snippets and your comp code… Nasty process but now produces data: |
|
Supplementing the above rewrite of Status is that this comp runs across platforms - but finer details of the main omega_q functions seems to have broken in the process… Output is different… (AI was used for some automation in replacing +-*/ operators by mccode-complex-lib` wrapper functions…) |
…appers. (Work remains, some of the comments need to go back in etc...)


Free-form text area
Please describe what your PR is adding in terms of features or bugfixes:
Initial commit, but this is not yet cleaned up
Development OS / boundary conditions
Please describe what OS you developed and tested your additions on, and if any special dependencies are required:
PR Checklist for contributing to McStas/McXtrace
For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:
My contribution includes a new component file
mcdocutility and rendered a reasonable documentation page for the component (please attach as screenshot in comments!)mccode-clangformattool to apply the standard McCode component indentation schemecontribcomponent categoryMy contribution includes a new instrument file
mcdocutility and rendered a reasonable documentation page for the instrument (please attach as screenshot in comments!)%Example:line to describe expected behaviourmcrun --c-lint"linter" and followed advice to remove most / all warnings that are raisedexampleshierarchy in a folder in the style ofexamples/ESS/New_stuff/New_stuff.instrexamplefolder, but if general use I have placed it in the globaldatafolder.My work touches / adds to the runtime lib code (.c,.h etc in multiple locations