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

Get rows and columns from BasisReader #102

Closed jtlau closed 2 years ago

jtlau commented 2 years ago

Add the capability to read only the dimension of the snapshot matrix, as suggested by @dylan-copeland in #98 .

Currently I've added that capability for just the snapshot matrix. I feel like this might be an opportunity to generalize the two added functions (getDim and getNSamples) for the basis and temporal matrices as well. Is there any need for that?

jtlau commented 2 years ago

This PR now only has the BasisReader changes (and does not include the combine_samples.C file).