meshi.energy.simpleEnergyTerms.tether
Class TetherEnergy
java.lang.Object
meshi.energy.AbstractEnergy
meshi.energy.simpleEnergyTerms.SimpleEnergyTerm
meshi.energy.simpleEnergyTerms.tether.TetherEnergy
- All Implemented Interfaces:
- Attributable, Updateable
public class TetherEnergy
- extends SimpleEnergyTerm
| Methods inherited from class meshi.energy.AbstractEnergy |
addAttribute, comment, getAttribute, handleMissingParameters, isOn, off, on, toArray, toArray, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
initialLocationsMatrix
protected double[][] initialLocationsMatrix
- The constructor associates any bond with its parameters.
counter
private static int counter
TetherEnergy
public TetherEnergy()
TetherEnergy
public TetherEnergy(AtomList atomList,
double[][] inputMatrix,
double weight,
java.lang.String comment)
createElement
public EnergyElement createElement(java.lang.Object baseElement)
update
public void update()
update
public void update(int i)
- Description copied from class:
AbstractEnergy
- Updates the updatable resources. For a detailed description
of MESHI's treatment of updatable resources see the documentation of TotalEnergy.
- Specified by:
update in interface Updateable- Overrides:
update in class AbstractEnergy
createElement
public EnergyElement createElement(java.lang.Object baseElement,
Parameters p)
- Specified by:
createElement in class SimpleEnergyTerm