Computes coordinates of PLC and FLC relative to origin
Computes the space-time coordinates of PLC and FLC given control settings relative to the origin (\mathbf{r}, t) = (\boldsymbol 0, 0).
Since these coordinates do not change for different
space-time positions, they can be computed once before
getting the LC configurations for the entire field and
then used in each call by array maskexing in
get_LC_config
.
compute_LC_coordinates(horizon = 1, speed = 1, space.dim = 1, type = c("PLC", "FLC"), shape = c("cone", "tube", "revcone"))
horizon |
integer; horizon for the PLC or FLC |
speed |
speed of propagation |
space.dim |
maximum value |
type |
|
shape |
shape of light cone: |
plot(compute_LC_coordinates(speed = 1, horizon = 4), xlim = c(-4, 2), pch = "-", cex = 2, col = 2, xlab = "Time", ylab = "Space") points(compute_LC_coordinates(speed = 1, horizon = 2, type = "FLC"), pch = "+", cex = 2, col = "blue") plot(compute_LC_coordinates(speed = 1, horizon = 4, shape = "tube", type = "FLC")) plot(compute_LC_coordinates(speed = 1, horizon = 4, shape = "revcone", type = "PLC"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.