File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ if get_option('enable-autodiff') or get_option('enable-directdiff')
7777 codi_for_args = [' -DCODI_FORWARD_TYPE' ]
7878endif
7979
80- if get_option (' enable-autodiff' )
80+ if get_option (' enable-autodiff' ) and not omp
8181 if get_option (' codi-tape' ) == ' JacobianLinear'
8282 codi_rev_args += ' -DCODI_JACOBIAN_LINEAR_TAPE'
8383 elif get_option (' codi-tape' ) == ' JacobianReuse'
@@ -93,6 +93,10 @@ if get_option('enable-autodiff')
9393 else
9494 message (' Invalid CoDiPack tape choice @1@' .format(get_option (' codi-tape' )))
9595 endif
96+
97+ if get_option (' codi-tape' ) != ' JacobianLinear'
98+ warning (' The tape choice @1@ is not tested regularly in SU2' .format(get_option (' codi-tape' )))
99+ endif
96100endif
97101
98102# add cgns library
You can’t perform that action at this time.
0 commit comments