CEED / Laghos

High-order Lagrangian Hydrodynamics Miniapp
http://ceed.exascaleproject.org/miniapps
BSD 2-Clause "Simplified" License
189 stars 61 forks source link

User-specified set of samples #155

Closed siuwuncheung closed 3 years ago

siuwuncheung commented 3 years ago

This PR, used along with libROM PR#72, allows specifying an arbitrary number MV, ME of samples to be used in hyperreduction. It assumes a csv file format with the filenames specified by initSamples_basename + "V.csv" and initSamples_basename + "E.csv" placed in outputPath, where each row specifies a sample. The actual total number of samples NV, NE used is bounded by the options -sfacv, -sface or -nsamv, -nsame. Several cases in the usage (* stands for V or E):