IPotential
, IPotentialMolecular
, PotentialPolarizable
public class PNCO2GCPM extends PotentialMolecular implements PotentialPolarizable
Modifier and Type | Class | Description |
---|---|---|
static class |
PNCO2GCPM.Component |
|
class |
PNCO2GCPM.P3GCPMAxilrodTeller |
Modifier and Type | Field | Description |
---|---|---|
protected double |
alphaPar |
|
protected double |
alphaPerp |
|
protected Boundary |
boundary |
|
protected double[] |
chargeAll |
|
protected double |
chargeC |
|
protected double |
chargeO |
|
protected PNCO2GCPM.Component |
component |
|
protected double |
coreFac |
|
static boolean |
debugme |
|
protected Vector[] |
Ep |
|
protected double[][] |
epsilonAll |
|
protected double |
epsilonC |
|
protected double |
epsilonO |
|
protected Vector[] |
Eq |
|
protected double |
gamma |
|
protected Vector[] |
mu |
|
protected Vector |
oldMu |
|
protected boolean |
oops |
|
protected MoleculePair |
pair |
|
protected Vector |
rijVector |
|
protected Vector |
shift |
|
protected double[][] |
sigmaAll |
|
protected double |
sigmaC |
|
protected double |
sigmaO |
|
protected double |
sqrtCOtau |
|
protected double |
sqrtPiCCtau |
|
protected double |
sqrtPiCOtau |
|
protected double[][] |
tauAll |
|
protected double |
tauC |
|
protected double |
tauO |
|
protected Tensor |
Tij |
|
protected Tensor |
Tunit |
|
protected double |
UpolAtkins |
|
protected Vector |
work |
nBody, space
Constructor | Description |
---|---|
PNCO2GCPM(Space space) |
|
PNCO2GCPM(Space space,
int nBody) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList atoms) |
Returns the interaction energy between the given molecules.
|
double |
getLastPolarizationEnergy() |
Returns the polarization energy from the last call to energy(AtomSet).
|
double |
getNonPolarizationEnergy(IMoleculeList molecules) |
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.
|
static void |
main(java.lang.String[] args) |
|
static void |
main2(java.lang.String[] args) |
|
PNCO2GCPM.P3GCPMAxilrodTeller |
makeAxilrodTeller() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setComponent(PNCO2GCPM.Component comp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
protected boolean oops
public static boolean debugme
protected final MoleculePair pair
protected Boundary boundary
protected final double sigmaC
protected final double sigmaO
protected final double[][] sigmaAll
protected final double[][] epsilonAll
protected final double epsilonC
protected final double epsilonO
protected final double gamma
protected final double chargeO
protected final double chargeC
protected final double[] chargeAll
protected final double tauC
protected final double tauO
protected final double[][] tauAll
protected final double coreFac
protected Vector[] Eq
protected Vector[] Ep
protected Vector[] mu
protected Vector oldMu
protected final Vector rijVector
protected final Vector work
protected final Vector shift
protected final Tensor Tunit
protected final Tensor Tij
protected final double sqrtCOtau
protected final double sqrtPiCOtau
protected final double sqrtPiCCtau
protected final double alphaPerp
protected final double alphaPar
protected double UpolAtkins
protected PNCO2GCPM.Component component
public PNCO2GCPM(Space space)
public PNCO2GCPM(Space space, int nBody)
public void setComponent(PNCO2GCPM.Component comp)
public double energy(IMoleculeList atoms)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public double getNonPolarizationEnergy(IMoleculeList molecules)
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
public PNCO2GCPM.P3GCPMAxilrodTeller makeAxilrodTeller()
public static void main2(java.lang.String[] args)
public static void main(java.lang.String[] args)