pywfm.IWFMModel.get_stream_inflow_ids#

IWFMModel.get_stream_inflow_ids()#

Return the identification numbers for the stream boundary inflows specified by the user as timeseries input data

Returns:

integer array of stream inflow IDs

Return type:

np.ndarray

See also

IWFMModel.get_n_stream_inflows

Return the number of stream boundary inflows specified by the user as timeseries input data

IWFMModel.get_stream_inflow_nodes

Return the stream node indices that receive boundary inflows specified by the user as timeseries input data

Example

>>> from pywfm import IWFMModel
>>> pp_file = '../Preprocessor/PreProcessor_MAIN.IN'
>>> sim_file = 'Simulation_MAIN.IN'
>>> model = IWFMModel(pp_file, sim_file)
>>> model.get_stream_inflow_ids()
array([1])
>>> model.kill()
>>> model.close_log_file()