Percolation/Bond percolation: Difference between revisions
Content added Content deleted
(Promote from draft to full task status) |
(Updated D entry) |
||
Line 71: | Line 71: | ||
writefln("%-(%s%)+", nc.iota.map!(c => h[hWalls[nr][c]])); |
writefln("%-(%s%)+", nc.iota.map!(c => h[hWalls[nr][c]])); |
||
if (!percolatedCol.isNull) |
if (!percolatedCol.isNull) |
||
writeln |
writeln(" ".replicate(percolatedCol), " ",f[2]); |
||
} |
} |
||