emmet.builders.materials.elasticity
Builder to generate elasticity docs.
The build proceeds in the below steps: 1. Use materials builder to group tasks according the formula, space group, and
structure matching.
Filter opt and deform tasks by calc type.
Filter opt and deform tasks to match prescribed INCAR params.
Group opt tasks by optimized lattice, and, for each group, select the latest task (the one with the newest completing time). This result in a {lat, opt_task} dict.
Group deform tasks by parent lattice (i.e. lattice before a deformation gradient is applied). For each lattice group, then group the tasks by deformation gradient, and select the latest task for each deformation gradient. This result in a {lat, [deform_task]} dict, where [deform_task] are tasks with unique deformation gradients.
Associate opt and deform tasks by matching parent lattice. Then select the one with the most deformation tasks as the final data for fitting the elastic tensor.
Fit the elastic tensor.
Functions
Filter tasks by incar parameters. |
|
For deformation tasks with the same deformation, select the latest completed one. |
|
Filter a set of tasks to select the latest completed one. |
|
Groups a set of task docs by parent lattice equivalence. |
|
Select the final opt task and deform tasks for fitting. |
Classes
bool(x) -> bool |