cgexplore.forcefields.MartiniForceField¶
- class cgexplore.forcefields.MartiniForceField(identifier, prefix, present_beads, bond_targets, angle_targets, torsion_targets, constraints, vdw_bond_cutoff)[source]¶
Bases:
ForceFieldClass defining a Martini Forcefield.
Methods
Assign forcefield terms to molecule.
- Parameters:
identifier (str)
prefix (str)
bond_targets (Sequence[TargetBond | TargetMartiniBond])
angle_targets (Sequence[TargetAngle | TargetMartiniAngle])
torsion_targets (Sequence[TargetTorsion | TargetMartiniTorsion])
vdw_bond_cutoff (int)
- assign_terms(molecule, name, output_dir)[source]¶
Assign forcefield terms to molecule.
- Parameters:
- Return type:
- get_all_possible_terms(molecule)¶
Check if there are missing terms in forcefield.
- Parameters:
molecule (Molecule)
- Return type:
None
- get_bead_library()¶
Get beads in forcefield.
- Return type: