org.opensourcephysics.sip.ch10
Class Maxwell

java.lang.Object
  extended by org.opensourcephysics.sip.ch10.Maxwell

public class Maxwell
extends java.lang.Object

Maxwell models electrodynamcis using the Visscher-Yee finite difference approximation to Maxwell's equations. The current() method was revised 04/04/2006.


Constructor Summary
Maxwell(int size)
          Creates Maxwell and initializes arrays to the given size.
 
Method Summary
 void doStep()
          Does a computation step by advancing the time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maxwell

public Maxwell(int size)
Creates Maxwell and initializes arrays to the given size.

Parameters:
size - int
Method Detail

doStep

public void doStep()
Does a computation step by advancing the time.