xnn.common.deploy.openmm_force.XNNPotentialImpl#
- class xnn.common.deploy.openmm_force.XNNPotentialImpl(model, total_charge=0.0, spin_multiplicity=1.0, cutoff=None, dtype=None)[source]#
Bases:
objectopenmm-ml’s implementation of the
"xnn"potential: one TorchForce per system.- Parameters:
model (torch.nn.Module or str) – As for
openmm_potential().total_charge (float) – As for
openmm_potential();createSystemandcreateMixedSystemkeyword arguments override them.spin_multiplicity (float) – As for
openmm_potential();createSystemandcreateMixedSystemkeyword arguments override them.cutoff (float | None) – As for
openmm_potential();createSystemandcreateMixedSystemkeyword arguments override them.dtype – As for
openmm_potential();createSystemandcreateMixedSystemkeyword arguments override them.