I am having trouble understanding the class FunctionTime, under what circumstances it is need, and how it is implemented.
Consider Step-26 in the tutorial. There is no variable anywhere defined with class FunctionTime. However, the function get_time() is still used, seemingly to get the current value of the time variable. However, when I do similarly, it seems the the variable created in my BoundaryValues function is always zero. I am using the line:
const double time = this->get_time();
This is not surprising to me: If we don't have a class FunctionTime time variable, I would expect get_time to either error or output zero. However, while in my function, get_time() always returns zero, in apparently does not do so in step-26. Can someone help me understand this?
Thank you,
Kyle