ibfoamrig.core.list_times#

ibfoamrig.core.list_times(case_path, *, no_zero=False)[source]#

Lists the time directory of a case in ascending order.

Parameters:
  • case_path (StrPath) – Path to the case directory.

  • no_zero (bool) – If True, the zero time directory is left out.

Returns:

The time directories sorted by time. Empty if there are none.

Raises:

CaseNotFoundError – If case_path is not a directory.

Return type:

list[TimeDirectory]