DefArrayKey

class ase2sprkkr.common.parsing_results.DefArrayKey(key, sub)[source]

Dense-array key accepting both NAME and NAME<number>.

The unnumbered spelling denotes the first array item, just as NAME1 does. Consequently, using both spellings in one input is reported as a duplicate rather than producing two values.

Class hierarchy

Inheritance diagram of ase2sprkkr.common.parsing_results.DefArrayKey


Constructor

__init__(key, sub)
convert(sub)[source]