public class AdaptiveGridCalc 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 org.apache.logging.log4j.Logger |
log |
algoID, LN_PARTICLES_PUVC, NM_PER_PARTICLE_PUV, PARTICLES_PUASD, PARTICLES_PUVC, results, resultWriters, sdRun, writeConcentration
Constructor and Description |
---|
AdaptiveGridCalc(int trial,
SDRun sdm) |
Modifier and Type | Method and Description |
---|---|
double |
advance(double tnow,
double tend) |
static double |
calculatePropensity(int[] ri,
int[] pi,
int[] rs,
int[] ps,
int[] rp,
double rate,
double vol,
int[] nstart) |
protected long |
eventCount() |
void |
footer() |
Collection<IGridCalc.Event> |
getEvents() |
int[][] |
getEventStatistics() |
Collection<IGridCalc.Happening> |
getHappenings() |
void |
init() |
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 AdaptiveGridCalc(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
public static double calculatePropensity(int[] ri, int[] pi, int[] rs, int[] ps, int[] rp, double rate, double vol, int[] nstart)
public int[][] getEventStatistics()
protected void resetEventStatistics()
resetEventStatistics
in class GridCalc
public Collection<IGridCalc.Event> getEvents()
public Collection<IGridCalc.Happening> getHappenings()
Copyright © 2017. All rights reserved.