Generators¶
Run Dynamics¶
The imeall.slabmaker the imeall.run_dyn modules are responsible
for generating the canonical imeall.gb_models.GrainBoundary structures and a representative spanning set of
microscopic initializations of the imeall.gb_models.SubGrainBoundary structures for atomistic relaxation.
- Both modules also runs as a command line tool. To see the command line documentation:
python run_dyn.py -h
-
class
imeall.run_dyn.Capturing[source]¶ Capturingwraps a function to capture output for redirection.
-
class
imeall.run_dyn.ImeallIO[source]¶ ImeallIOcontains methods for searching the Imeall Directory tree, and creating newimeall.gb_models.GrainBoundaryandimeall.gb_models.SubGrainBoundarydirectories. EachSubGrainBoundarydirectory contains supercells of the parent canonicalGrainBoundary.-
find_subdir(target_dir, calc_suffix)[source]¶ Find if named directory is in target directory. :param target_dir: directory to search. :type target_dir: str :param calc_suffix: name of directory to look for. :type calc_suffix: str
Returns: directory location and name.
-
Relaxation¶
The imeall.relax module handles relaxation of a SubGrainBoundary.
This module also runs as a command line tool.