LLNL / libROM

Model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
201 stars 36 forks source link

Snapshot dmd #289

Closed ptranq closed 3 months ago

ptranq commented 4 months ago

Adds the SnapshotDMD class derived from DMD. This class essentially performs DMD but interpolates the current snapshots to new "artificial snapshots" in large enough quantity to produce a DMD ROM with the given reduced dimension. This interpolation is performed with the SnapshotInterpolator class, specifically with PCHIP interpolation.

The wave_equation example is extended to provide the option of using snapshotDMD, as well minor improvements to provide the option to use initial condition projection for windows after the first, and the option to provide an output directory to minimize clutter after running the example.