sponge.control.get_constraint

View Source On Gitee
sponge.control.get_constraint(constraint: Union[str, Constraint, List[Constraint]], system: Molecule)[source]

Get constraint object.

Parameters
Returns

List[sponge.control.Constraint], constraint object list.