public class SteppedStochasticGridCalc extends StochasticGridCalc
BaseCalc.algorithm_t, BaseCalc.distribution_t, BaseCalc.output_t
IGridCalc.Event, IGridCalc.EventType, IGridCalc.Happening, IGridCalc.HappeningKind
Modifier and Type | Field and Description |
---|---|
static int |
SHARED_DIFF_PARTICLES |
eltregions, nel, nspec, species
algoID, distID, LN_PARTICLES_PUVC, NM_PER_PARTICLE_PUV, PARTICLES_PUASD, PARTICLES_PUVC, results, resultWriters, sdRun, writeConcentration
Constructor and Description |
---|
SteppedStochasticGridCalc(int trial,
SDRun sdm) |
Modifier and Type | Method and Description |
---|---|
double |
advance(double tnow,
double tend) |
static Object[] |
calculatePropensity(int[] ri,
int[] pi,
int[] rs,
int[] ps,
int[] rp,
double lnrate,
double lnvol,
int[] nstart) |
protected long |
eventCount() |
void |
footer() |
Collection<IGridCalc.Event> |
getEvents() |
int[][] |
getEventStatistics() |
Collection<IGridCalc.Happening> |
getHappenings() |
void |
init() |
protected void |
reactionStep(int[] nstart,
int[] nend,
int iel,
int ireac) |
protected void |
resetEventStatistics() |
getGridPartConc, getGridPartNumb, initPopulation, preferConcs
_run, endtime, getNumberElements, getParticleCount, intlog
addResultWriter, close, getSimulationSeed, getSource, run, storeResultIn, trial
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimulationSeed, getSource, trial
public static final int SHARED_DIFF_PARTICLES
public SteppedStochasticGridCalc(int trial, SDRun sdm)
public final void init()
init
in class StochasticGridCalc
public void footer()
footer
in class StochasticGridCalc
protected long eventCount()
eventCount
in class GridCalc
protected void reactionStep(int[] nstart, int[] nend, int iel, int ireac)
public static Object[] calculatePropensity(int[] ri, int[] pi, int[] rs, int[] ps, int[] rp, double lnrate, double lnvol, int[] nstart)
public int[][] getEventStatistics()
protected void resetEventStatistics()
resetEventStatistics
in class GridCalc
public Collection<IGridCalc.Event> getEvents()
public Collection<IGridCalc.Happening> getHappenings()
Copyright © 2016. All rights reserved.