IPotential
, IPotentialMolecular
, PotentialPolarizable
P2HardAssociationGCPMReference
, PNWaterGCPMThreeSite
public class PNWaterGCPM extends PotentialMolecular implements PotentialPolarizable
Modifier and Type | Class | Description |
---|---|---|
static class |
PNWaterGCPM.Component |
|
class |
PNWaterGCPM.PNWaterGCPMCached |
Modifier and Type | Field | Description |
---|---|---|
protected Jama.Matrix[] |
A |
|
protected double |
alphaPol |
|
boolean |
berr |
|
protected Boundary |
boundary |
|
protected double |
chargeH |
|
protected double |
chargeM |
|
protected PNWaterGCPM.Component |
component |
|
protected Vector |
comWi |
|
protected Vector |
comWj |
|
protected double |
core |
|
protected double |
epsilon |
|
protected Jama.Matrix[] |
Eq |
|
protected double |
gamma |
|
protected double |
massH |
|
protected double |
massO |
|
protected MoleculePair |
pair |
|
protected double[][] |
pairPolarization |
|
protected Vector |
rijVector |
|
protected Vector |
shift |
|
protected double |
sigma |
|
protected double |
sigmaH |
|
protected double |
sigmaM |
|
protected double |
sqrtHMsigmas |
|
protected double |
sqrtPiHMsigmas |
|
protected double |
sqrtPiMMsigmas |
|
protected Tensor |
Tij |
|
protected double |
totalMass |
|
protected Tensor |
Tunit |
|
protected Vector |
work |
nBody, space
Constructor | Description |
---|---|
PNWaterGCPM(Space space) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList molecules) |
Returns the interaction energy between the given molecules.
|
double |
erfc(double x) |
|
double |
getLastPolarizationEnergy() |
Returns the polarization energy from the last call to energy(AtomSet).
|
double |
getNonPolarizationEnergy(IMoleculeList atoms) |
This returns the pairwise-additive portion of the GCPM potential for a
pair of atoms (dispersion + fixed-charge electrostatics)
|
double |
getPolarizationEnergy(IMoleculeList molecules) |
This returns the polarizable portion of the GCPM potential for any
number of atoms.
|
double |
getRange() |
Returns the range over which the potential applies.
|
PNWaterGCPM.PNWaterGCPMCached |
makeCachedPairPolarization() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setComponent(PNWaterGCPM.Component comp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
protected final MoleculePair pair
protected final double sigma
protected final double epsilon
protected final double gamma
protected final double chargeH
protected final double chargeM
protected final double core
protected final Vector rijVector
protected final Vector work
protected final Vector shift
protected final Tensor Tunit
protected final Tensor Tij
protected final double sigmaM
protected final double sigmaH
protected final double sqrtHMsigmas
protected final double massH
protected final double massO
protected final double totalMass
protected final double sqrtPiHMsigmas
protected final double sqrtPiMMsigmas
protected final double alphaPol
protected final double[][] pairPolarization
protected Boundary boundary
protected Jama.Matrix[] Eq
protected Jama.Matrix[] A
protected Vector comWi
protected Vector comWj
protected PNWaterGCPM.Component component
public boolean berr
public PNWaterGCPM(Space space)
public void setComponent(PNWaterGCPM.Component comp)
public double erfc(double x)
public double energy(IMoleculeList molecules)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public PNWaterGCPM.PNWaterGCPMCached makeCachedPairPolarization()
public double getNonPolarizationEnergy(IMoleculeList atoms)
public double getPolarizationEnergy(IMoleculeList molecules)
getPolarizationEnergy
in interface PotentialPolarizable
public double getLastPolarizationEnergy()
PotentialPolarizable
getLastPolarizationEnergy
in interface PotentialPolarizable
public final double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular