BCArray

BCArray(self, t, h, u)

Boundary condition based on pre-defined (t, h, u) arrays.

Attributes

Name Type Description
t np.ndarray Array with the time signal
h np.ndarray Array with the flow thickness signal
u np.ndarray Array with the flow velocity signal

Methods

Name Description
get_flow Compute (h, u) for time t.

get_flow

BCArray.get_flow(t)

Compute (h, u) for time t.

Parameters

Name Type Description Default
t Union[float, np.ndarray] Time as a float or array required

Returns

Name Type Description
np.ndarray 2D array with (h, u) for t