Skip to content

Checking to see if the function object is time-based sub-optimal

In functionObjectList explicit checks on whether the input dictionary includes the entries writeControl or outputControl are used to determine whether to instantiate a time-based or plain- function object. This misses local entries used by the timeControl class, e.g. timeStart and timeEnd which are independent of the *Control entries.

Suggest moving the logic into the class that knows whether or not the dict will be used to create a time-based function object (or not)