Skip to content

[bug] ck incorrectly applied to Biersack-Varelas stopping #305

Description

@drobnyjt

Description
In Biersack-Varelas stopping in material.rs, the total stopping power is written:

1./(1./S_high + 1./S_low*ck)

it should be:

1./(1./S_high + 1./S_low)*ck

Since relatively few simulations have been run with both interpolated stopping and an electronic stopping correction factor, this should not have affected many simulations, but it will produce incorrect behavior (e.g., as ck goes up, stopping would actually go down).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions