meld.system.restraints.AlwaysActiveCollection

class meld.system.restraints.AlwaysActiveCollection[source]

Bases: object

A collection of restraints that are always on

__init__()[source]

Methods

__init__()

add_restraint(restraint)

Add a restraint

Attributes

restraints

rtype

List[Restraint]

add_restraint(restraint)[source]

Add a restraint

Parameters

restraint (Restraint) – restraint to add