IDataSourceprotected static class SimEinStep2HCP.MeterPotentialEnergyComposite extends MeterPotentialEnergy
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
hasTarget |
|
protected double |
lambda |
|
protected double |
latticeEnergy |
|
protected MeterPotentialEnergy |
meterPE1 |
|
protected MeterPotentialEnergy |
meterPE2 |
|
protected int |
nMolecules |
data, dataInfo, tagbox, energy, iteratorDirective, potential| Modifier | Constructor | Description |
|---|---|---|
protected |
MeterPotentialEnergyComposite(PotentialMaster potentialMaster1,
PotentialMaster potentialMaster2,
double latticeEnergy,
int nMolecules) |
| Modifier and Type | Method | Description |
|---|---|---|
Box |
getBox() |
|
double |
getDataAsScalar() |
Computes total potential energy for box.
|
double |
getLambda() |
|
boolean |
isIncludeLrc() |
Indicates whether calculated energy should include
long-range correction for potential truncation (true) or not (false).
|
void |
setBox(Box box) |
|
void |
setIncludeLrc(boolean b) |
Sets flag indicating whether calculated energy should include
long-range correction for potential truncation (true) or not (false).
|
void |
setLambda(double newFrac) |
|
void |
setTarget(IAtom atom) |
|
void |
setTarget(IMolecule mole) |
getData, getDataDouble, getDataInfo, getTagsetPotentialCalculationprotected final MeterPotentialEnergy meterPE1
protected final MeterPotentialEnergy meterPE2
protected final int nMolecules
protected double lambda
protected double latticeEnergy
protected boolean hasTarget
protected MeterPotentialEnergyComposite(PotentialMaster potentialMaster1, PotentialMaster potentialMaster2, double latticeEnergy, int nMolecules)
public double getLambda()
public void setLambda(double newFrac)
public Box getBox()
getBox in class MeterPotentialEnergypublic void setBox(Box box)
setBox in class MeterPotentialEnergybox - The box to set.public boolean isIncludeLrc()
MeterPotentialEnergyisIncludeLrc in class MeterPotentialEnergypublic void setIncludeLrc(boolean b)
MeterPotentialEnergysetIncludeLrc in class MeterPotentialEnergypublic void setTarget(IAtom atom)
setTarget in class MeterPotentialEnergypublic void setTarget(IMolecule mole)
setTarget in class MeterPotentialEnergypublic double getDataAsScalar()
MeterPotentialEnergygetDataAsScalar in class MeterPotentialEnergy