FixedConfigGenerator#
- class libcasm.clexmonte.FixedConfigGenerator(
- configuration: Configuration | None = None,
- supercell: Supercell | None = None,
- motif: Configuration | None = None,
Bases:
objectA ConfigGenerator for state generation - always returns the same configuration
Notes
Returns the same configuration no matter what the current conditions and completed runs are.
Constructor
- Parameters:
configuration (Optional[Configuration]=None) – The configuration to generate, directly. If provided, other parameters are ignored.
supercell (Optional[Supercell]=None) – The Monte Carlo supercell if configuration is not provided.
motif (Optional[Configuration]=None) – Initial configuration, which will be copied and tiled into the Monte Carlo supercell. If a perfect tiling can be made by applying factor group operations, a note is printed indicating which operation is applied. A warning is printed if there is no perfect tiling and the motif is used without reorientation to fill the supercell imperfectly. If supercell is given but no motif is provided, the default configuration is used.
Methods
from_dict(…)Construct FixedConfigGenerator from a Python dict
methodname(…)Returns the method name "fixed"
to_dict()Convert FixedConfigGenerator to a Python dict