feynman.framework.system
Interface PhysicalAlgorithm
- public interface PhysicalAlgorithm
This interface defines the mechanism for implementing a numerical algorithm
for the simulation. The user of the framework will define an implementation
and specify this in the Simulation.properties file in the following
manner:
PhysicalAlgorithmClass=SimpleGravity
- Version:
- $Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:43 $
- Author:
- Wes Bailey
calculate
public void calculate(Simulation sim,
PhysicalSystem ps)
- Implement this method to define the algorithm to be used in the Simulation. The
Simulation can be queuried to get the current time and the PhysicalSystem
contains all of the PhysicalObjects in the Simulation.