IPotential
, IPotentialMolecular
PotentialGroupHybrid
public class PotentialGroupNbr extends PotentialGroup
PotentialGroup.PotentialLinker
Modifier and Type | Field | Description |
---|---|---|
protected MoleculeSetSinglet |
atomSetSinglet |
|
protected PotentialGroup.PotentialLinker |
firstRangeIndependent |
box, criterion, first, potentialMaster
nBody, space
Modifier | Constructor | Description |
---|---|---|
protected |
PotentialGroupNbr(int nBody) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addPotential(IPotentialAtomic potential,
AtomsetIteratorBasisDependent iterator,
AtomType[] types) |
|
void |
calculateRangeIndependent(IMolecule atom,
IteratorDirective.Direction direction,
IAtom targetAtom,
PotentialCalculation pc) |
Performs the specified calculation over the iterates given by the iterator,
using the directive to set up the iterators for the sub-potentials of this group.
|
boolean |
removePotential(IPotentialAtomic potential) |
Removes given potential from the group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPotential, addPotential, calculate, contains, energy, getAtomTypes, getPotentials, getRange, isEnabled, setBox, setEnabled, setPotentialMaster
nBody
protected final MoleculeSetSinglet atomSetSinglet
protected PotentialGroup.PotentialLinker firstRangeIndependent
public void calculateRangeIndependent(IMolecule atom, IteratorDirective.Direction direction, IAtom targetAtom, PotentialCalculation pc)
protected void addPotential(IPotentialAtomic potential, AtomsetIteratorBasisDependent iterator, AtomType[] types)
addPotential
in class PotentialGroup
public boolean removePotential(IPotentialAtomic potential)
PotentialGroup
removePotential
in class PotentialGroup