Nek5000 / NekROM

Model-Order Reduction Framework for Nek5000
13 stars 3 forks source link

Create a new parameter aside from ls for uk, ukp, tk, tkp second dimension #232

Open Ping-Hsuan opened 2 months ago

Ping-Hsuan commented 2 months ago

We can keep ls as the variable for the size of the snapshots arrays. But we can create another variable aside from ls (e.g. lsp) for the second dimension of uk, ukp, tk, tkp.

This makes the code more flexible such that in ON and ONB modes, ls can be set to a smaller number and lsp can be set to the size of uk, ukp, tk, tkp.

These changes will allow users to run standard C-ROM and decoupled C-ROM correctly in ON and ONB modes with a smaller ls.