Function update
|
Let
number of generations
|
If (m = 0) Or (
) If NewGeneration is True
|
Push
onto
stack
|
Push
onto
stack
|
//Implement Sec. 2.3
|
Update
using Eq. (2.31) |
Push
|
onto
stack
|
Push
|
ReformingBondMassFraction
|
onto
stack
|
Call CullGenerations
|
Else if
|
Update previously pushed
|
,
and
|
Function
|
Let
number of generations
|
If m = 0 Return
|
Let
|
For
u = 0 to m – 1 |
Evaluate
|
Evaluate
|
Evaluate
+=
|
Return
|