Skip to content

Read lattice spacing from shape file #258

Description

@myurkin

Is your feature request related to a problem? Please describe.

When using rectangular dipoles, their proportions (lattice spacings) are saved to the shape file (#245), both of ADDA and DDSCAT format. But this information is ignored when this shape file is read into ADDA.

Describe the solution you'd like

The particular solution is not clear, since the philosophy of ADDA is to give maximum control to user through the command line.

  • If -rect_dip ... is given, then it should override the lattice spacing from the file. But a warning would be useful if the two sources of information are different.
  • Otherwise, we either use cubic dipoles (with warning for non-cubic lattice spacing in file) or actually use the lattice spacings from file. The latter may be problematic, since will require modification of current initialization (the fact of rectangular dipoles will become available only later in the code).

Metadata

Metadata

Assignees

Labels

comp-LogicRelated to internal code logicpri-MediumWorth assigning to a milestoneusabilityMakes using code more convenient
No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions