Skip to content

WaterlooConfig

WaterlooConfig

Configuration for the Waterloo polynomial velocity-field fitting method.

The Waterloo method fits a polynomial velocity field to the discrete face-by-face flows from an unstructured MODFLOW grid by minimising a least-squares system at a set of interior control points.

Parameters:

Name Type Description Default
order_of_approx int

Order of the polynomial approximation (total number of basis functions). Higher values capture more spatial detail but increase memory and solve time. Default is 35.

35
n_control_points int

Number of control points distributed inside the fitting domain. Must be ≥ order_of_approx. Default is 122.

122

order_of_approx property

order_of_approx: int

Order of the polynomial approximation (number of basis functions).

n_control_points property

n_control_points: int

Number of control points used in the polynomial least-squares fit.

__init__

__init__(order_of_approx: int = 35, n_control_points: int = 122) -> None