IDataSourceSimEinStep2.MeterPotentialEnergyComposite, SimEinStep2HCP.MeterPotentialEnergyComposite, SimOverlapSoftSphereEin.MeterPotentialEnergyComposite, SimOverlapSoftSphereEinHarm.MeterPotentialEnergyCompositepublic class MeterPotentialEnergy extends DataSourceScalar
| Modifier and Type | Field | Description |
|---|---|---|
protected Box |
box |
|
protected PotentialCalculationEnergySum |
energy |
|
protected IteratorDirective |
iteratorDirective |
|
protected PotentialMaster |
potential |
data, dataInfo, tag| Constructor | Description |
|---|---|
MeterPotentialEnergy(PotentialMaster potentialMaster) |
|
MeterPotentialEnergy(PotentialMaster potentialMaster,
Box box) |
| Modifier and Type | Method | Description |
|---|---|---|
Box |
getBox() |
|
double |
getDataAsScalar() |
Computes total potential energy for box.
|
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 |
setPotentialCalculation(PotentialCalculationEnergySum newEnergySummer) |
|
void |
setTarget(IAtom atom) |
|
void |
setTarget(IMolecule mole) |
getData, getDataDouble, getDataInfo, getTagprotected Box box
protected final IteratorDirective iteratorDirective
protected PotentialCalculationEnergySum energy
protected final PotentialMaster potential
public MeterPotentialEnergy(PotentialMaster potentialMaster)
public MeterPotentialEnergy(PotentialMaster potentialMaster, Box box)
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public void setTarget(IAtom atom)
public void setTarget(IMolecule mole)
public double getDataAsScalar()
getDataAsScalar in class DataSourceScalarpublic Box getBox()
public void setBox(Box box)
box - The box to set.public void setPotentialCalculation(PotentialCalculationEnergySum newEnergySummer)