basically; I'm running 2d fluid simulations using c++ code,
I want to calculate something, and I need to output the original mass of the 2d grid as time goes on, I can already output the mass of the grid as time goes on, but how would I CREATE A VARIABLE WITH THE MASS AT t=0 and output it with the corresponding changing mass as a function of time ?
If that didn't make sense; how would I keep a 2d array constant in time ? , where the 2d array changes in time
please could you be more clear and specific, and when possible tells about the function which binds time and the matrix... Is it some thing about Cayley Hamilton theorem or some thing else?