torch_sim.optimizers.cell_filtersΒΆ
Cell filters for optimization algorithms.
This module provides filter functions that can be applied to optimization algorithms to handle different types of cell optimization constraints and parameterizations. Filters encapsulate the logic for computing cell forces and updating cell parameters during optimization.
Functions
Compute cell forces for both unit and frechet methods. |
|
Compute deformation gradient between current and reference cells. |
|
Initialize Frechet cell filter state. |
|
Update cell using frechet approach. |
|
Resolve cell filter into a tuple of init and update functions. |
|
Initialize unit cell filter state. |
|
Update cell using unit cell approach. |
Classes
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
Enumeration of the cell filters. |
|
State class for FIRE optimization with cell optimization. |
|
State class for cell optimization. |