Skip to content

Commit

Permalink
abs_zero has to be higher than gatol
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnezdyur committed Oct 17, 2024
1 parent fc71c9c commit 6628c4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@
sim_variable = temperature
beam_width = 0.1
base_name = obj
output_properties = 'obj_misfit obj_misfit_gradient'
outputs = exodus
[]
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ measurement_values = '293 304 315 320'
type = Optimize
tao_solver = taobqnktr
petsc_options_iname = '-tao_gatol'
petsc_options_value = '1e-5'
petsc_options_value = '1e-8'
## THESE OPTIONS ARE FOR TESTING THE ADJOINT GRADIENT
# petsc_options_iname = '-tao_max_it -tao_fd_test -tao_test_gradient -tao_fd_gradient -tao_fd_delta -tao_gatol'
# petsc_options_value = '1 true true false 1e-3 1e-5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
csvdiff = main_auto_out_OptimizationReporter_0001.csv
max_threads = 1 # Optimize executioner does not support multiple threads
rel_err = 1e-6
abs_zero = 1e-8
abs_zero = 1e-4
# steady solve
recover = false
detail = 'volume measurements,'
Expand All @@ -20,7 +20,7 @@
csvdiff = main_auto_side_out_OptimizationReporter_0001.csv
max_threads = 1 # Optimize executioner does not support multiple threads
rel_err = 1e-6
abs_zero = 1e-8
abs_zero = 1e-4
# steady solve
recover = false
detail = 'for side only measurements.'
Expand Down

0 comments on commit 6628c4d

Please sign in to comment.