Boundary conditions

boundary(dim, bound, type, absorb_prob = NULL)

Arguments

dim

either a dimension number (1, 2, or 3) or name ('x', 'y', or 'z')

bound

either a bound number (1 or 2) or name ('lower' or 'upper')

type

one of: 'reflective', 'periodic', or 'absorbative'

absorb_prob

if type = 'absorbative', the probability of absorbtion (default 0)

Value

an instance of the boundary class