public class SteppedStochasticGridCalc extends StochasticGridCalc
BaseCalc.algorithm_t, BaseCalc.distribution_t, BaseCalc.output_tIGridCalc.Event, IGridCalc.EventType, IGridCalc.Happening, IGridCalc.HappeningKind| Modifier and Type | Field and Description |
|---|---|
static int |
SHARED_DIFF_PARTICLES |
eltregions, nel, nspec, speciesalgoID, 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, intlogaddResultWriter, close, getSimulationSeed, getSource, run, storeResultIn, trialclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSimulationSeed, getSource, trialpublic static final int SHARED_DIFF_PARTICLES
public SteppedStochasticGridCalc(int trial,
SDRun sdm)
public final void init()
init in class StochasticGridCalcpublic void footer()
footer in class StochasticGridCalcprotected long eventCount()
eventCount in class GridCalcprotected 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 GridCalcpublic Collection<IGridCalc.Event> getEvents()
public Collection<IGridCalc.Happening> getHappenings()
Copyright © 2016. All rights reserved.