meshi.molecularElements.atoms
Class AtomCore

java.lang.Object
  extended by meshi.molecularElements.atoms.AtomCore

public class AtomCore
extends java.lang.Object

A shortcut into the atom's guts.


Field Summary
 Atom atom
           
 int number
           
protected  AtomStatus status
           
protected  AtomType type
           
protected  double[] x
           
protected  double[] y
           
protected  double[] z
           
 
Constructor Summary
protected AtomCore(Atom atom, AtomType type, AtomStatus status, int number, double x, double y, double z)
           
 
Method Summary
 void addForce(double fx, double fy, double fz)
           
 AtomStatus status()
           
 java.lang.String toString()
           
 AtomType type()
           
 double x()
           
 double y()
           
 double z()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

protected AtomStatus status

x

protected double[] x

y

protected double[] y

z

protected double[] z

type

protected AtomType type

atom

public final Atom atom

number

public final int number
Constructor Detail

AtomCore

protected AtomCore(Atom atom,
                   AtomType type,
                   AtomStatus status,
                   int number,
                   double x,
                   double y,
                   double z)
Method Detail

status

public final AtomStatus status()

addForce

public final void addForce(double fx,
                           double fy,
                           double fz)

x

public final double x()

y

public final double y()

z

public final double z()

type

public final AtomType type()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object