meshi.energy.pairwiseNonBondedTerms.evRot1BB
Class EVRot1BBEnergy
java.lang.Object
meshi.energy.AbstractEnergy
meshi.energy.CooperativeEnergyTerm
meshi.energy.pairwiseNonBondedTerms.evRot1BB.EVRot1BBEnergy
- All Implemented Interfaces:
- Attributable, Rot1Arrays, Updateable
public final class EVRot1BBEnergy
- extends CooperativeEnergyTerm
- implements Rot1Arrays
|
Method Summary |
private void |
calcMeansAndStd(double[][] pp)
|
double |
evaluate()
Evaluates the energy term and update the derivatives. |
double |
evaluate(boolean updateAtoms)
|
void |
evaluateAtoms()
Evaluates the energy term and devides the energy between the atoms. |
void |
setComment(java.lang.String str)
|
private void |
updateSigmVals(Distance dis)
Here goes the processing of the various sigmoid functions concerning atom1 and
atom2 in the Distance - dis. |
| Methods inherited from class meshi.energy.AbstractEnergy |
addAttribute, comment, getAttribute, handleMissingParameters, isOn, off, on, toArray, toArray, toArray, toArray, toString, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ALPHA
static final double ALPHA
- See Also:
- Constant Field Values
residueVals
private double[] residueVals
- These are fields for temporary array results that are needed in the evaluation stage.
They are declared as fields so that time will not be waisted on creating new
instances of the arrays.
AtomSumSigmC
private double[] AtomSumSigmC
dAtomEnergydEnvior
private double[] dAtomEnergydEnvior
forceX
private double[] forceX
forceY
private double[] forceY
forceZ
private double[] forceZ
lut
private int[] lut
- These fields are for general use in the class
atomListSize
private int atomListSize
parameters
private EVRot1BBParameterList parameters
means
private double[][] means
oneOverSTDs
private double[][] oneOverSTDs
maximalZ
private double maximalZ
EVRot1BBEnergy
public EVRot1BBEnergy()
EVRot1BBEnergy
public EVRot1BBEnergy(AtomList atomList,
DistanceMatrix dm,
EVRot1BBParameterList parameters,
double[][] pp,
double maximalZ,
double weight)
setComment
public void setComment(java.lang.String str)
evaluateAtoms
public void evaluateAtoms()
- Description copied from class:
AbstractEnergy
- Evaluates the energy term and devides the energy between the atoms. The energy field of
each atom is assigned a value - its contribution to the total energy sum.
- Specified by:
evaluateAtoms in class AbstractEnergy
evaluate
public double evaluate()
- Description copied from class:
AbstractEnergy
- Evaluates the energy term and update the derivatives.
- Specified by:
evaluate in class AbstractEnergy
evaluate
public final double evaluate(boolean updateAtoms)
updateSigmVals
private final void updateSigmVals(Distance dis)
- Here goes the processing of the various sigmoid functions concerning atom1 and
atom2 in the Distance - dis. The results are updated in the fields of the
CAsolvateDistanceAttribute of dis - sigmaValues.
calcMeansAndStd
private void calcMeansAndStd(double[][] pp)