IPotential, IPotentialAtomic, PotentialSoftpublic class P1WCAPorousWall extends Potential1 implements PotentialSoft
Potential1.Intramolecularboundary| Constructor | Description |
|---|---|
P1WCAPorousWall(Space space) |
|
P1WCAPorousWall(Space space,
double sigma,
double epsilon) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atom) |
Returns the interaction energy between the given atoms.
|
double |
getEpsilon() |
|
Vector[] |
getPoreCenters() |
|
double |
getPoreRadius() |
|
double |
getRange() |
Returns zero.
|
double |
getSigma() |
Returns the radius.
|
double |
getZ() |
|
Vector[] |
gradient(IAtomList atom) |
Returns the gradient of the potential as it applies to each atom in the
given AtomSet, indicating how the energy would change as the position of
the first atom is varied.
|
Vector[] |
gradient(IAtomList atom,
Tensor pressureTensor) |
Returns the same gradient as gradient(AtomSet) and also adds in the
contribution of the AtomSet to the pressureTensor.
|
void |
setEpsilon(double epsilon) |
|
void |
setPoreCenters(Vector[] poreCenters) |
|
void |
setPoreRadius(double poreRadius) |
|
void |
setSigma(double radius) |
Sets the radius.
|
void |
setZ(double z) |
|
double |
virial(IAtomList atoms) |
nBody, setBoxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetBoxpublic P1WCAPorousWall(Space space)
public P1WCAPorousWall(Space space, double sigma, double epsilon)
public double getRange()
Potential1getRange in interface IPotentialgetRange in class Potential1public double energy(IAtomList atom)
Potentialenergy in interface IPotentialAtomicenergy in class Potentialpublic double virial(IAtomList atoms)
virial in interface PotentialSoftpublic Vector[] gradient(IAtomList atom)
PotentialSoftgradient in interface PotentialSoftpublic Vector[] gradient(IAtomList atom, Tensor pressureTensor)
PotentialSoftgradient in interface PotentialSoftpublic double getSigma()
public void setSigma(double radius)
radius - The radius to setpublic double getEpsilon()
public void setEpsilon(double epsilon)
epsilon - The epsilon to set.public double getPoreRadius()
public void setPoreRadius(double poreRadius)
poreRadius - The poreRadius to set.public double getZ()
public void setZ(double z)
z - The z to set.public Vector[] getPoreCenters()
public void setPoreCenters(Vector[] poreCenters)
poreCenters - The poreCenters to set.