Skip to content

Commit

Permalink
Fix incorrect logic for velocity solver selection
Browse files Browse the repository at this point in the history
This commit fixes an issue with build-namelist, where the logical
determining if albany was being used was not previously passed to the
add_default routine, which cause the velocity solver to always be sia,
instead of using a higher order velocity solver when albany was
available.
  • Loading branch information
douglasjacobsen committed Dec 21, 2015
1 parent b6e02dc commit 5941f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mpasli/bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ if ($MPASLI_USE_ALBANY eq 'TRUE') {
# Namelist group: velocity_solver #
###################################

add_default($nl, 'config_velocity_solver');
add_default($nl, 'config_velocity_solver', 'mpasli_use_albany'=>"$MPASLI_USE_ALBANY");
add_default($nl, 'config_sia_tangent_slope_calculation');
add_default($nl, 'config_flowParamA_calculation');
add_default($nl, 'config_do_velocity_reconstruction_for_external_dycore');
Expand Down

0 comments on commit 5941f88

Please sign in to comment.