IPotential, IPotential0Lrc, IPotentialAtomic, PotentialSoftP2SoftSphericalTruncated.P0Lrcpublic abstract class Potential0Lrc extends Potential0 implements PotentialSoft, IPotential0Lrc
| Modifier and Type | Field | Description |
|---|---|---|
protected Box |
box |
|
protected double |
divisor |
|
protected boolean |
interType |
|
protected int[] |
lrcAtomsPerMolecule |
|
protected IPotentialAtomic |
truncatedPotential |
|
protected AtomType[] |
types |
| Constructor | Description |
|---|---|
Potential0Lrc(Space space,
AtomType[] types,
IPotentialAtomic truncatedPotential) |
| Modifier and Type | Method | Description |
|---|---|---|
IPotentialAtomic |
getTruncatedPotential() |
Returns the potential whose truncation this lrcPotential exists to correct.
|
protected long |
nPairs() |
Returns the number of pairs formed from molecules of the current
species, in the given box.
|
void |
setBox(Box b) |
Informs the potential of the box on which it acts.
|
void |
setTargetAtom(IAtom targetAtom) |
Informs the potential of a target atom.
|
void |
setTargetMolecule(IMolecule targetAtom) |
Informs the potential of a target atom.
|
getRange, nBodyenergyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCriterion, getRangegradient, gradient, virialprotected final AtomType[] types
protected final boolean interType
protected final IPotentialAtomic truncatedPotential
protected final int[] lrcAtomsPerMolecule
protected double divisor
protected Box box
public Potential0Lrc(Space space, AtomType[] types, IPotentialAtomic truncatedPotential)
public IPotentialAtomic getTruncatedPotential()
public void setBox(Box b)
PotentialsetBox in interface IPotentialsetBox in class Potentialpublic void setTargetAtom(IAtom targetAtom)
IPotential0LrcsetTargetAtom in interface IPotential0Lrcpublic void setTargetMolecule(IMolecule targetAtom)
IPotential0LrcsetTargetMolecule in interface IPotential0Lrcprotected long nPairs()