LICORS (version 0.2.0)

get_spacetime_grid: Get an iterator over the space-time coordinates of the field.

Description

This function returns a matrix of space-time coordinates of the field. Both for the whole field as well as the truncated field (without the margin)

Usage

get_spacetime_grid(dim, LC.coordinates)

Arguments

dim

dimension of the original field (first dimension is time; rest is space)

LC.coordinates

template of the LC coordinates

See Also

compute_LC_coordinates, setup_LC_geometry

Examples

Run this code
# NOT RUN {
AA <- matrix(rnorm(200), ncol = 10)
LC.geom <- setup_LC_geometry(speed = 1, horizon = list(PLC = 3, FLC = 0), shape = "cone")
bb <- get_spacetime_grid(dim(AA), LC.geom$coordinates)
# }

Run the code above in your browser using DataLab