PyFoam.Applications.CommonSelectTimesteps module

Class that implements common functionality for selecting timesteps

class PyFoam.Applications.CommonSelectTimesteps.CommonSelectTimesteps[source]

Bases: object

This class compiles a list of timesteps that should be processed

addOptions(defaultUnique, singleTime=False)[source]

Add the necessary options :param defaultUnique: whether timesteps are unique by default :param singleTime: only a single timestep may be selected

processTimestepOptions(sol)[source]

Process the options :param sol: the solution-directory that is to be worked with

processTimestepOptionsIndex(sol)[source]

Process the time options and return a list of (time,index) tuples