Utilities for LC class

Share:

Description

The "LC" class is the core property of the LICORS model as it specifies the spatio-temporal neighborhood of the past and future light cone. The function setup_LC_geometry generates an instance of the "LC" class.

plot.LC plots LCs of (1+1)D and (2+1)D systems with respect to the origin (\mathbf{r}, t) = (\boldsymbol 0, 0). This is especially useful for a quick check if the LC geometry specified by setup_LC_geometry is really the intended one.

summary.LC prints a summary of the LC geometry. Returns (invisible) the summary matrix.

LC_coordinates2control_setting computes auxiliary measures given the LC geometry such as horizon, spatial/temporal extension, etc. This function should not be called by the user directly; only by get_spacetime_grid.

Usage

1
2
3
4
5
6
7
## S3 method for class 'LC'
plot(x, cex.axis = 2, cex.lab = 2, ...)

## S3 method for class 'LC'
summary(object, verbose = TRUE, ...)

LC_coordinates2control_settings(LC.coordinates)

Arguments

x

an object of class "LC" (see setup_LC_geometry)

cex.axis

The magnification to be used for axis annotation relative to the current setting of cex.

cex.lab

The magnification to be used for x and y labels relative to the current setting of cex.

...

optional arguments passed to plot.

object

an object of class "LC"

verbose

logical; if TRUE LC information is printed in the console

LC.coordinates

template of a light cone (with respect to origin)

See Also

compute_LC_coordinates

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
aa <- setup_LC_geometry(horizon = list(PLC = 2, FLC = 1), speed = 1, space.dim = 1, 
    shape = "cone")
plot(aa)
bb <- setup_LC_geometry(horizon = list(PLC = 2, FLC = 1), speed = 1, space.dim = 1, 
    shape = "revcone")
plot(bb)
aa <- setup_LC_geometry(horizon = list(PLC = 2, FLC = 0), speed = 1, space.dim = 1, 
    shape = "cone")
summary(aa)
aa <- setup_LC_geometry(horizon = list(PLC = 2, FLC = 0), speed = 1, space.dim = 1, 
    shape = "cone")
LC_coordinates2control_settings(aa$coordinates)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.