AsymmetricUnitSiteIterator#
- class libcasm.clexmonte.site_iterators.AsymmetricUnitSiteIterator(
- asym: int | list[int],
- occ_location: OccLocation | None = None,
- calculator: MonteCalculator | None = None,
Bases:
objectYield
SiteInfofor the sites in one or more asymmetric units..rubric:: Constructor
- Parameters:
asym (Union[int, list[int]]) – One or more asymmetric unit indices.
occ_location (Optional[monte_events.OccLocation] = None) – The occupant location list. One and only one of occ_location and calculator must not be None.
calculator (Optional[MonteCalculator] = None) – A MonteCalculator which will be used to obtain an occupant location list from calculator.state_data when requested. One and only one of occ_location and calculator must not be None.
Methods
Attributes
Asymmetric unit indices.
The occupant location list.
The MonteCalculator used to obtain the occupant location list.