Skip to content

MCNP: track() is called too often when using a weight window mesh (performance) #719

@gonuke

Description

@gonuke

Describe the Bug

When using a weight window mesh, native MCNP does not call track if the event in hstory is a mean-free-path weight window mesh event. It just decrements the distance to the surface and continues on.

In DAGMC, we do call track even if the event is a mean-free-path weight window mesh event, causing at least one extra expensive call to track, and possibly more.

We should revisit this logic to prevent excessive calls to track.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions