Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Pass dt to assemble #2673
The time and time increment are stored in different places like process data or coupled solutions. Another set of time and time increment is passed through the interfaces of assemble etc. functions.
The bulk of the changes is to the interfaces. Some notable changes:
With this it becomes possible to use the t/dt values directly instead of storing them in *ProcessData and retrieving at later point.
Exemplary on SmallDeformationProcess, storage of dt is no longer required and the assembly can be repeated without dependency on the t/dt values.
This saves passing dt to all the computeSecondaryVariable functions. Having the dt finally removes the dt member from the ProcessData. Calling postTimestep is equivalent to the call of compute secondary; see TimeLoop.cpp; those are called one after each other.