Description Usage Arguments Details Value Author(s) References See Also Examples

`ssa20()`

function provides sites labeling of the anisotropic cluster on 2D square lattice with von Neumann (1,0)-neighborhood.

1 2 |

`x` |
a linear dimension of 2D square percolation lattice. |

`p` |
a vector of relative fractions |

`set` |
a vector of linear indexes of a starting sites subset. |

`all` |
logical; if |

`shape` |
a vector with two shape parameters of beta-distributed random variables, weighting the percolation lattice sites. |

The percolation is simulated on 2D square lattice with uniformly weighted sites `acc`

and the vector `p`

, distributed over the lattice directions.

The anisotropic cluster is formed from the accessible sites connected with the initial subset, and depends on the direction in 2D square lattice.

To form the cluster the condition `acc[set+e[n]]<p[n]`

is iteratively tested for sites of the von Neumann (1,0)-neighborhood `e`

for the current cluster perimeter `set`

, where `n`

is equal to direction in 2D square lattice.

Von Neumann (1,0)-neighborhood on 2D square lattice consists of sites, only one coordinate of which is different from the current site by one: `e=c(-1,`

`1,`

`-x,`

`x)`

.

Forming cluster ends with the exhaustion of accessible sites in von Neumann (1,0)-neighborhood of the current cluster perimeter.

`acc` |
an accessibility matrix for 2D square percolation lattice: |

Pavel V. Moskalev

[1] Moskalev, P.V. Percolation modeling of porous structures. Moscow: URSS, 2018. 240 pp; in Russian.

fssa20, ssa30, ssi20, ssi30, ssa2d, ssa3d

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.