29 #include "libmesh/getpot.h"
30 #include "libmesh/system_norm.h"
37 int extra_order = input(
"Strategies/Assembly/extra_quadrature_order", 0);
40 libmesh_error_msg(
"ERROR: extra_quadrature_order must be non-negative!");
48 std::string old_option =
"linear-nonlinear-solver/do_adjoint_solve";
49 std::string new_option =
"Strategies/Adjoint/do_adjoint_solve";
51 bool have_old_option = input.have_variable(old_option);
52 bool have_new_option = input.have_variable(new_option);
53 if( have_old_option && have_new_option )
54 libmesh_error_msg(
"ERROR: Cannot specify both "+old_option+
" and "+new_option+
"!");
57 do_adjoint_solve = input( old_option,
false );
60 do_adjoint_solve = input( new_option,
false );
static bool do_adjoint_solve(const GetPot &input)
Option to let user manually trigger adjoint solve.
static int extra_quadrature_order(const GetPot &input)