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

1
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

1
2
3
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)

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