Skip to content

WaterlooInputs

WaterlooInputs

Hydrated inputs for the Waterloo polynomial velocity-field fitting method.

Produced by hydrate_waterloo_inputs(). Pass to fit_waterloo().

Sign convention

face_flow here uses the same convention as CellFlows (positive = INTO cell). Pass the same face_flow array to both hydrate_cell_flows() and hydrate_waterloo_inputs().

n_cells

n_cells() -> int

Return the number of cells represented in these inputs.

__len__

__len__() -> int

Return the number of cells (same as n_cells()).