public class SpatiallyVaryingStepGenerator extends java.lang.Object implements StepGenerator
Constructor and Description |
---|
SpatiallyVaryingStepGenerator(SimulationParams simParams,
Substrate substrate)
constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getBorder()
get the border width for cloning
|
double[] |
getStep(Walker walker)
queries the substrate for the diffusivity at the current location,
the constructs a step of the appropriate length.
|
StepGeneratorFactory.StepType |
getType()
returns the type code of the generator
|
static void |
main(java.lang.String[] args) |
public SpatiallyVaryingStepGenerator(SimulationParams simParams, Substrate substrate)
public double getBorder()
StepGenerator
getBorder
in interface StepGenerator
public double[] getStep(Walker walker)
getStep
in interface StepGenerator
StepGenerator.getStep(simulation.dynamics.Walker)
public StepGeneratorFactory.StepType getType()
getType
in interface StepGenerator
StepGenerator.getType()
public static void main(java.lang.String[] args)
args
-