Skip to content

PIConGPU unit system #5135

Open
Open
@psychocoderHPC

Description

PIConGPU currently deals with three unit systems. SI, PIConGPU normalized SI units and atomic units.
It would be beneficial to have a unit system to convert smoothly between all of these.

see: #5133 (comment)

There are some requirements:
Currently, we use a fully compile-time conversion system. Since we have the goal to go away from compile time unit system the new system must support runtime units based on runtime input.
Additionally, the normalization should not simply shift to the device code and execute multiple multiplications, and divisions there.
Conversion factors must somehow pre-computed and accessed later. A single multiplication is not an issue but multiple and decision are a showstopper.

Metadata

Assignees

No one assigned

    Labels

    component: corein PIConGPU (core application)refactoringcode change to improve performance or to unify a concept but does not change public API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions