Skip to content

Reduce memory usage when SC materials differ only in orientation #333

Description

@tkittel

I just came across this new interesting publication: https://www.osti.gov/pages/servlets/purl/3002380 / https://doi.org/10.1016/j.nima.2025.171079

@KBGrammer first of all nice work! And then to my question: Is it correctly understood that the memory concerns mentioned in the conclusions of the publication relate to the scenario of having the exact same single crystal material appearing multiple times in a simulation, with just the orientation being different?

If so, then I guess we could easily fix this on the NCrystal side: Just always put the crystal in a particular orientation behind the scenes, and then simply have a particular additional rotation associated with each user-facing instance of the material.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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