Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct normalization factor for Electric field
- Use 1 instead of -IQ(NP) to convert E field from V/cm to 1/cm. - Use RM instead of hard-coded 0.511 for the electron rest mass.
- Loading branch information
9e18712
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit introduced a bug by changing the electromagnetic field component variable names on line 426. This causes any code using emf_macros.mortran to fail compilation. This bug is fixed in commit 2a36e18.