New API function to get number of time steps of a view
This is my first merge request, please be kind 🥺.
I wrote a tiny API function gmsh::view::getNumTimeSteps
which returns the number of time steps of a given view, using the function PViewData->getNumTimeSteps()
.
The motivation is that there is no API function that gives information about the time steps in a given view. For example, it is impossible to get the data of the last time step without throwing an error. With this addition one can now iterate on the existing time steps.