File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2795,7 +2795,7 @@ void CConfig::SetConfig_Options() {
27952795 /* !\brief MAX_BASIS_DIM \n DESCRIPTION: Maximum number of basis vectors.*/
27962796 addUnsignedShortOption (" MAX_BASIS_DIM" , maxBasisDim, 100 );
27972797
2798- /* !\brief MAX_BASIS_DIM \n DESCRIPTION: Maximum number of basis vectors .*/
2798+ /* !\brief ROM_SAVE_FREQ \n DESCRIPTION: How often to save snapshots for unsteady problems .*/
27992799 addUnsignedShortOption (" ROM_SAVE_FREQ" , rom_save_freq, 1 );
28002800
28012801 /* END_CONFIG_OPTIONS */
Original file line number Diff line number Diff line change 5757#include " ../variables/CVariable.hpp"
5858
5959#ifdef HAVE_LIBROM
60- #include " BasisGenerator.h"
61- #include " QDEIM.h"
62- #include " DEIM.h"
60+ #include " librom.h"
6361#endif
6462
6563using namespace std ;
Original file line number Diff line number Diff line change @@ -1740,4 +1740,5 @@ BASIS_GENERATION = STATIC_POD
17401740% Maximum number of basis vectors to keep (default: 100)
17411741MAX_BASIS_DIM = 100
17421742%
1743-
1743+ % Frequency of snapshots saves, for unsteady problems (default: 1. 2 means every other)
1744+ ROM_SAVE_FREQ = 1
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ if get_option('enable-librom')
191191 su2_cpp_args += ' -DHAVE_LIBROM'
192192
193193 librom_root = get_option (' librom_root' )
194- librom_dep = declare_dependency (include_directories : librom_root,
194+ librom_dep = declare_dependency (include_directories : librom_root+ ' /lib ' ,
195195 link_args : [' -L' + librom_root+ ' /build' , ' -lROM' ])
196196
197197 su2_deps += librom_dep
You can’t perform that action at this time.
0 commit comments