Function ReformingBondMassFraction
|
//Implement Eq. (2.25) |
Let
number of generations
|
If (m = 0) Let
|
Else Let
|
For
u = 0 to
m – 1
|
Return
|
Function NewGeneration
|
//Implement Sec.
2.2.4
|
Let
|
ReformingBondMassFraction
|
If
Return false
|
//Implement Sec.
2.2.2
|
Evaluate
|
Evaluate
e
from Eq. (2.27) |
If
Return True
|
Return False
|
Function CullGenerations
|
//Implement Sec. 2.2.3
|
Let
number of generations
|
If
m < 3 Return
|
Let
|
If
Let
|
Update
t1,
,
|
and
per Eq. (2.28) |
Pop
t0,
,
|
and
out of |
,
,
|
and
stacks
|
Return
|