compute_LC_coordinates: Computes coordinates of PLC and FLC relative to origin

Description Usage Arguments See Also Examples

View source: R/compute_LC_coordinates.R

Description

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.

Usage

1
2
compute_LC_coordinates(horizon = 1, speed = 1, space.dim = 1, type = c("PLC", "FLC"), 
    shape = c("cone", "tube", "revcone"))

Arguments

horizon

integer; horizon for the PLC or FLC

speed

speed of propagation

space.dim

maximum value

type

"PLC" or "FLC"

shape

shape of light cone: 'cone', 'tube', or 'revcone'.

See Also

get_LC_config setup_LC_geometry summary.LC plot.LC

Examples

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"))

LICORS documentation built on May 1, 2019, 10:13 p.m.