meshi.energy.simpleEnergyTerms.bond
Class BondEnergyElement
java.lang.Object
meshi.energy.EnergyElement
meshi.energy.simpleEnergyTerms.bond.BondEnergyElement
public class BondEnergyElement
- extends EnergyElement
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
atom1
protected Atom atom1
atom2
protected Atom atom2
number1
protected int number1
number2
protected int number2
distance
protected Distance distance
target
protected double target
force
protected double force
force2
protected double force2
on
private boolean on
weight
double weight
BondEnergyElement
public BondEnergyElement()
BondEnergyElement
public BondEnergyElement(AtomPair atomPair,
Parameters parameters,
DistanceMatrix distanceMatrix,
double weight)
updateFrozen
public boolean updateFrozen()
- Overrides:
updateFrozen in class EnergyElement
setAtoms
protected void setAtoms()
- Specified by:
setAtoms in class EnergyElement
evaluate
public double evaluate()
- Specified by:
evaluate in class EnergyElement
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
atom1
public Atom atom1()
atom2
public Atom atom2()
isOn
public boolean isOn()
turnOn
public void turnOn()
turnOff
public void turnOff()