get_phi_grid {stochLAB}R Documentation

Grid with angles between points (x, y) and the rotor's vertical axis

Description

Given grids of vertical and horizontal distances from rotor axes at points (x, y) inside the rotor circle, get_phi_grid calculates the associated radial angles, relative to the rotor vertical axis.

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

Usage

get_phi_grid(x_grid, y_grid)

Arguments

x_grid

A 2D array, with horizontal distances x from the rotor's vertical axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area.

y_grid

A 2D array, with vertical distances (y from the rotor's horizontal axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area.

Value

A 2D array, giving a grid of angles (in radians) between points (x, y) inside the rotor circle and the rotor center, for the left-half of the rotor circle area.

See Also

get_x_grid(), get_y_grid()

Examples

 x_grid <- get_x_grid(yinc=0.05, xinc=0.05)
 y_grid <- get_y_grid(x_grid,yinc=0.05)
 get_phi_grid(x_grid,y_grid)

[Package stochLAB version 1.1.2 Index]