Class PhysData

java.lang.Object
  extended byPhysData

public class PhysData
extends java.lang.Object

PhysData -- Is the class defining physical parameters (such as a potential)

See Also:
Solution

Field Summary
 double[] potential
          Potential
 
Constructor Summary
PhysData(RunData runData)
          Creates a PhysData parameters object.
 
Method Summary
 double[] getPotential(RunData runData)
          Return the potential on the discrete mesh
 void update(double time)
          Evolves the physical data in time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

potential

public double[] potential
Potential

Constructor Detail

PhysData

public PhysData(RunData runData)
Creates a PhysData parameters object.

Parameters:
runData - The run time parameters
Method Detail

update

public void update(double time)
Evolves the physical data in time


getPotential

public double[] getPotential(RunData runData)
Return the potential on the discrete mesh

Returns:
Array with discrete values of the potential