Skip to content

No a_0 vs E_0 consitency check in PICMI_GaussianLaser #126

Description

@PrometheusPi

In the PICMI_GaussianLaser, both $a_0$ and $E_0$ can be set. If both are not set, an error is thrown. If only one is given, the other is computed. But if both are set, there is no consistency check and both values are just taken as object attributes.

self.a0 = a0
self.E0 = E0

This hides any misconfigurations and makes the result then backend dependent (which value is used by the PIC code downstream).

(This was first discovered during fixes for tests in ComputationalRadiationPhysics/picongpu#5466.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions