I am interested in rewriting an old Fortran code to Python. The code was for solving any general field variable, call it F
(velocity, temperature, pressure, etc). But to solve each variable we have to define EQUIVALENCE
of that variable to F
.
For example, something like this:
EQUIVALENCE (F(1,1,1),TP(1,1)),(FOLD(1,1,1),TPOLD(1,1))
Is there a Python version of the above concept?