Add an Update() function in ChFunction interface. Needed for functions that might update inner states (ex via callbacks), whereas the Get_y() cannot do this as it is a const member.
Add an Update() function in ChFunction interface. Needed for functions that might update inner states (ex via callbacks), whereas the Get_y() cannot do this as it is a const member.

dariomangoni/chrono,amelmquist/chrono,amelmquist/chrono,dariomangoni/chrono,rserban/chrono,projectchrono/chrono,amelmquist/chrono,projectchrono/chrono,armanpazouki/chrono,Milad-Rakhsha/chrono,Milad-Rakhsha/chrono,rserban/chrono,rserban/chrono,Milad-Rakhsha/chrono,dariomangoni/chrono,projectchrono/chrono,amelmquist/chrono,projectchrono/chrono,rserban/chrono,rserban/chrono,armanpazouki/chrono,Milad-Rakhsha/chrono,rserban/chrono,Milad-Rakhsha/chrono,projectchrono/chrono,dariomangoni/chrono,armanpazouki/chrono,projectchrono/chrono,amelmquist/chrono,dariomangoni/chrono,rserban/chrono,armanpazouki/chrono,amelmquist/chrono,Milad-Rakhsha/chrono,dariomangoni/chrono,armanpazouki/chrono,armanpazouki/chrono