R/boundary.R
boundary.Rd
Boundary conditions
boundary(dim, bound, type, absorb_prob = NULL)
either a dimension number (1, 2, or 3) or name ('x', 'y', or 'z')
1
2
3
'x'
'y'
'z'
either a bound number (1 or 2) or name ('lower' or 'upper')
'lower'
'upper'
one of: 'reflective', 'periodic', or 'absorbative'
'reflective'
'periodic'
'absorbative'
if type = 'absorbative', the probability of absorbtion (default 0)
type = 'absorbative'
an instance of the boundary class
boundary