Closed kevinhkhuynh closed 3 years ago
Works in serial and parallel. To try it out, build and run:
srun -n X -p pdebug ex10p -no-vis
It is defaulted to ef 0.99, but you can use -ef 0.XX and -rdim X. If both ef and rdim are set, ef will be ignored and rdim will be used.
Currently, all the example does is train and predict the last time step using DMD, outputting the relative error.
There is a strange phenomenon in that the relative error fluctuates as rdim is increased. This occurs in both the libROM code and Matlab code (copied from U. Wash Brunton's Youtube tutorial).
The files of interest to review are DMD.h and DMD.C.
@siuwuncheung @dylan-copeland This is pretty cool. Let's merge to the master soon. Please review and approve in your earliest time.
DMD. Works for serial and parallel.