Skip to content

new cmdline argument "-beam_center" #285

Description

@alkichigin

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).

Metadata

Metadata

Assignees

Labels

comp-UIRelated to user interface (command line, input files)maintainabilitySimplifies further code development (standardization, robustness)pri-MediumWorth assigning to a milestone

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions