Controlling how the simulation run is divided into blocks

The simulation output is divided into blocks of size blockSize. By default the block-size is chosen when Run is called, so that there will be of order 100-200 blocks in the given number of time-steps. Sometimes it is useful to explicitly specify the block-size (this will sometimes be necessary when using log-lin because there are some constraints on the block-size in relation to the log-lin parameters). The following will set the blockSize (we denote by sim the Simulation object):

  sim.SetBlockSize(1024)



Heine Larsen 2017-07-21