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

Description Usage Arguments See Also Examples

View source: R/get_spacetime_grid.R

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)

LICORS documentation built on May 29, 2017, 1:02 p.m.

Search within the LICORS package
Search all R packages, documentation and source code