I’m trying to find out how to use the time value in a pipeline script that is called every time step. Currently, the pipeline is created in
def CreateCoProcessor():
def _CreatePipeline(coprocessor, datadescription):
class Pipeline:
# create pipeline here
time = datadescription.GetTimeStep()
# use time
unfortunately, it seems that this calling of the GetTimeStep()
is only done on pipeline creation, while I would like to change pipeline settings based on the time value itself.
How to achieve this?