meshi.energy.pairwiseNonBondedTerms.atomicPairwisePMFSumma
Class CooperativeAtomicPairwisePMFSumma

java.lang.Object
  extended by meshi.energy.AbstractEnergy
      extended by meshi.energy.pairwiseNonBondedTerms.atomicPairwisePMFSumma.CooperativeAtomicPairwisePMFSumma
All Implemented Interfaces:
Attributable, Updateable

public class CooperativeAtomicPairwisePMFSumma
extends AbstractEnergy


Nested Class Summary
 
Nested classes/interfaces inherited from class meshi.energy.AbstractEnergy
AbstractEnergy.UpdateableList
 
Field Summary
private static AtomCore atom1
           
private static AtomCore atom2
           
private  AtomicPairwisePMFSumma atomicPairwisePMFSumma
           
private static double diff1
           
private static double diff2
           
private static double[] diffSigma
           
private static DistanceMatrix distanceMatrix
           
private static double factor
           
static int numberOfAtomTypes
           
private static SummaAttribute summaAttribute
           
private static double[] targetSigma
           
private static AtomType type1
           
private static AtomType type2
           
 
Fields inherited from class meshi.energy.AbstractEnergy
comment, filter, INFINITY, NaN, on, updateableResources, weight
 
Constructor Summary
CooperativeAtomicPairwisePMFSumma(DistanceMatrix distanceMatrix, double weight, CooperativeAtomicPairwisePMFSummaParameters parameters, AtomicPairwisePMFSumma atomicPairwisePMFSumma)
           
 
Method Summary
 double evaluate()
          Evaluates the energy term and update the derivatives.
 double evaluate(boolean evaluateAtoms)
           
 void evaluateAtoms()
          Evaluates the energy term and devides the energy between the atoms.
 void test(TotalEnergy energy, Atom atom)
          Looking for one "criminal" atom whose derivation is wrong.
 
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
 

Field Detail

targetSigma

private static final double[] targetSigma

diffSigma

private static final double[] diffSigma

numberOfAtomTypes

public static final int numberOfAtomTypes

distanceMatrix

private static DistanceMatrix distanceMatrix

summaAttribute

private static SummaAttribute summaAttribute

atom1

private static AtomCore atom1

atom2

private static AtomCore atom2

type1

private static AtomType type1

type2

private static AtomType type2

diff1

private static double diff1

diff2

private static double diff2

factor

private static double factor

atomicPairwisePMFSumma

private AtomicPairwisePMFSumma atomicPairwisePMFSumma
Constructor Detail

CooperativeAtomicPairwisePMFSumma

public CooperativeAtomicPairwisePMFSumma(DistanceMatrix distanceMatrix,
                                         double weight,
                                         CooperativeAtomicPairwisePMFSummaParameters parameters,
                                         AtomicPairwisePMFSumma atomicPairwisePMFSumma)
Method Detail

evaluate

public double evaluate()
Description copied from class: AbstractEnergy
Evaluates the energy term and update the derivatives.

Specified by:
evaluate in class AbstractEnergy

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(boolean evaluateAtoms)

test

public void test(TotalEnergy energy,
                 Atom atom)
Description copied from class: AbstractEnergy
Looking for one "criminal" atom whose derivation is wrong.

Specified by:
test in class AbstractEnergy