Skip to content

[BUG]: McStas Al_window only applies absorption xs #2359

@willend

Description

@willend

Describe the bug
DIKU MSc studen Torben G Hansen has spotted that the 4th-order pol calculation in \lambda in lines 83-85 resulting in value Al_my_tot is actually unused

Al_my_tot = Al_rho / Al_mmol * Al_s_tot_lambda * avogadro * 10;

(p does not depend on the value

p *= exp (-Al_my_a * dist); /* neutron passes window without any interaction */
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions