org.jscience.physics.kinematics
Class ConstantMagneticField3D

java.lang.Object
  extended by org.jscience.physics.kinematics.Field
      extended by org.jscience.physics.kinematics.ConstantField
          extended by org.jscience.physics.kinematics.ConstantMagneticField3D

public class ConstantMagneticField3D
extends ConstantField

The MagneticField class provides an object for encapsulating magnetic fields forces.


Constructor Summary
ConstantMagneticField3D(AbstractClassicalParticle p, AbstractDoubleVector doubleVector)
          Constructs the field.
 
Method Summary
 Force createForce()
          Creates the force acting on a particle in this field.
 
Methods inherited from class org.jscience.physics.kinematics.ConstantField
getVector, setVector
 
Methods inherited from class org.jscience.physics.kinematics.Field
getParticle, setParticle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantMagneticField3D

public ConstantMagneticField3D(AbstractClassicalParticle p,
                               AbstractDoubleVector doubleVector)
Constructs the field.

Parameters:
p - DOCUMENT ME!
doubleVector - DOCUMENT ME!
Throws:
IllegalDimensionException - DOCUMENT ME!
Method Detail

createForce

public Force createForce()
Creates the force acting on a particle in this field.

Specified by:
createForce in class Field
Returns:
DOCUMENT ME!