ibfoamrig.core.latest_time#

ibfoamrig.core.latest_time(case_path, *, no_zero=True)[source]#

Finds the latest time directory of a case.

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

  • no_zero (bool) – If True, the zero time directory is left out. A case that has not been run raises an error.

Returns:

The most recent time directory.

Raises:
Return type:

TimeDirectory