-
Notifications
You must be signed in to change notification settings - Fork 66
new cmdline argument "-beam_center" #285
Copy link
Copy link
Open
Labels
comp-UIRelated to user interface (command line, input files)Related to user interface (command line, input files)maintainabilitySimplifies further code development (standardization, robustness)Simplifies further code development (standardization, robustness)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
comp-UIRelated to user interface (command line, input files)Related to user interface (command line, input files)maintainabilitySimplifies further code development (standardization, robustness)Simplifies further code development (standardization, robustness)
For beams that have a definition of the center of the beam, it could be more convenient to exclude the coordinates of beam's center from the "-beam" argument and make it a separate argument "-beam_center".
For example, in EELS for an electron of 100 keV energy moving through (50,0,0) in the default propagation direction (0,0,1) instead of writing
adda -beam electron 100 50 0 0,
one would write
adda -beam electron 100 -beam_center 50 0 0.
This would be easier to parse, especially when beam center is optional, or if we introduce units support (#275).