shift_hh_grid_pi: Shift rectangle polygons to fall within [-pi, pi]

View source: R/gw-model.R

shift_hh_grid_piR Documentation

Shift rectangle polygons to fall within [-pi, pi]

Description

Shift rectangle polygons to fall within [-pi, pi]

Usage

shift_hh_grid_pi(wells_array, theta_range = c(-pi, pi))

Arguments

wells_array

Wells object prepared with get_septic_well_array

theta_range

Vector describing the min and max of the uniform distribution for the mean lateral direction of flow

Details

Shift all well rectangles by ±2pi and clip to the range [theta_min, theta_max]. These theta values don't necessarily need to be the extremes [-pi, pi] and can be any subset of that range.


gopalpenny/nitratesgame documentation built on July 8, 2023, 6:10 p.m.