org.jscience.chemistry.quantum.event
Class SCFEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jscience.chemistry.quantum.event.SCFEvent
All Implemented Interfaces:
java.io.Serializable

public class SCFEvent
extends java.util.EventObject

Represents an event in sn SCF cycle

See Also:
Serialized Form

Field Summary
static int CONVERGED_EVENT
          SCF Convergence event
static int FAILED_CONVERGENCE_EVENT
          Failed SCF convergence event
static int INFO_EVENT
          Informative message about SCF, like intermediate energy etc.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SCFEvent(java.lang.Object source)
          Creates a new instance of SCFEvent
 
Method Summary
 double getCurrentEnergy()
          Getter for property currentEnergy.
 int getCurrentIteration()
          Getter for property currentIteration.
 int getType()
          Getter for property type.
 void setCurrentEnergy(double currentEnergy)
          Setter for property currentEnergy.
 void setCurrentIteration(int currentIteration)
          Setter for property currentIteration.
 void setType(int type)
          Setter for property type.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INFO_EVENT

public static final int INFO_EVENT
Informative message about SCF, like intermediate energy etc.

See Also:
Constant Field Values

CONVERGED_EVENT

public static final int CONVERGED_EVENT
SCF Convergence event

See Also:
Constant Field Values

FAILED_CONVERGENCE_EVENT

public static final int FAILED_CONVERGENCE_EVENT
Failed SCF convergence event

See Also:
Constant Field Values
Constructor Detail

SCFEvent

public SCFEvent(java.lang.Object source)
Creates a new instance of SCFEvent

Parameters:
source - DOCUMENT ME!
Method Detail

getCurrentIteration

public int getCurrentIteration()
Getter for property currentIteration.

Returns:
Value of property currentIteration.

setCurrentIteration

public void setCurrentIteration(int currentIteration)
Setter for property currentIteration.

Parameters:
currentIteration - New value of property currentIteration.

getCurrentEnergy

public double getCurrentEnergy()
Getter for property currentEnergy.

Returns:
Value of property currentEnergy.

setCurrentEnergy

public void setCurrentEnergy(double currentEnergy)
Setter for property currentEnergy.

Parameters:
currentEnergy - New value of property currentEnergy.

getType

public int getType()
Getter for property type.

Returns:
Value of property type.

setType

public void setType(int type)
Setter for property type.

Parameters:
type - New value of property type.