get_x_grid {stochLAB}R Documentation

Grid of horizontal distances from points in the rotor circle to its vertical axis

Description

Taking the center of the rotor circle as the origin, get_x_grid generates a grid containing horizontal distances xx (by xinc increments) from the y-axis up to the outer edge of the rotor circle, at equidistant height bands yy (by yinc increments) between minimum and maximum rotor height.

Distances are expressed as proportion of rotor radius (i.e. xx is dimensionless).

Returned grid represents the left-half of the rotor's circle.

Usage

get_x_grid(xinc = 0.05, yinc = 0.05)

Arguments

xinc, yinc

numeric values, the grid increments along the y-axis and x-axis (i.e. grid cell dimensions)

Value

A 2D array giving a grid of horizontal distances xx from rotor's vertical axis, expressed as the proportion of rotor radius (i.e. [0,1][0, 1]), for the left-half of the rotor circle area.

Examples

get_x_grid(xinc=0.05,yinc=0.05)


[Package stochLAB version 1.1.2 Index]