Description Usage Arguments See Also Examples
View source: R/compute_LC_coordinates.R
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
.
1 2 | 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: |
get_LC_config
setup_LC_geometry
summary.LC
plot.LC
1 2 3 4 5 6 7 | 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.