meld.system.restraints.YZCartesianRestraint
- class meld.system.restraints.YZCartesianRestraint(system, scaler, ramp, atom_index, y, z, delta, force_const)[source]
Bases:
NonSelectableRestraint
Cartesian restraint on yz coordinates only
- __init__(system, scaler, ramp, atom_index, y, z, delta, force_const)[source]
Initialize a YZCartesianRestraint
- Parameters
system (
ISystem
) – the system this restraint belongs toscaler (
Optional
[RestraintScaler
]) – scale the force with alpharamp (
Optional
[TimeRamp
]) – scale the force over timeatom_index (
AtomIndex
) – the atom to restrainx – equilibrium x-coordinate, in nm
y (
Quantity
) – equilibrium y-coordinate, in nmdelta (
Quantity
) – energy is zero within delta, in nmforce_const (
Quantity
) – force constant in \(kJ/mol/nm^2\)
Methods
__init__
(system, scaler, ramp, atom_index, ...)Initialize a YZCartesianRestraint