begin options
{% if print_option is defined %}  print_option {{print_option}}
{% endif %}
{%- if outer_csvfile is defined %}  outer_csvfile fileout {{outer_csvfile}}
{% endif %}
{%- if inner_csvfile is defined %}  inner_csvfile fileout {{inner_csvfile}}
{% endif %}
{%- if no_ptc is defined %}  no_ptc {{no_ptc}}
{% endif -%}
{%- if ats_outer_maximum_fraction is defined %}  ats_outer_maximum_fraction {{ats_outer_maximum_fraction}}
{% endif -%}

end options

begin nonlinear
  outer_dvclose {{outer_dvclose}}
  outer_maximum {{outer_maximum}}
{% if under_relaxation is defined %}  under_relaxation {{under_relaxation}}
{% endif %}
{%- if under_relaxation_theta is defined %}  under_relaxation_theta {{under_relaxation_theta}}
{% endif %}
{%- if under_relaxation_kappa is defined %}  under_relaxation_kappa {{under_relaxation_kappa}}
{% endif %}
{%- if under_relaxation_gamma is defined %}  under_relaxation_gamma {{under_relaxation_gamma}}
{% endif %}
{%- if under_relaxation_momentum is defined %}  under_relaxation_momentum {{under_relaxation_momentum}}
{% endif %}
{%- if backtracking_number is defined %}  backtracking_number {{backtracking_number}}
{% endif %}
{%- if backtracking_tolerance is defined %}  backtracking_tolerance {{backtracking_tolerance}}
{% endif %}
{%- if backtracking_reduction_factor is defined %}  backtracking_reduction_factor {{backtracking_reduction_factor}}
{% endif %}
{%- if backtracking_residual_limit is defined %}  backtracking_residual_limit {{backtracking_residual_limit}}
{% endif -%}
end nonlinear

begin linear
  inner_maximum {{inner_maximum}}
  inner_dvclose {{inner_dvclose}}
  inner_rclose {{inner_rclose}}{% if rclose_option is defined %} {{rclose_option}}{% endif %}
  linear_acceleration {{linear_acceleration}}
{% if relaxation_factor is defined %}  relaxation_factor {{relaxation_factor}}
{% endif %}
{%- if preconditioner_levels is defined %}  preconditioner_levels {{preconditioner_levels}}
{% endif %}
{%- if preconditioner_drop_tolerance is defined %}  preconditioner_drop_tolerance {{preconditioner_drop_tolerance}}
{% endif %}
{%- if number_orthogonalizations is defined %}  number_orthogonalizations {{number_orthogonalizations}}
{% endif %}
{%- if scaling_method is defined %}  scaling_method {{scaling_method}}
{% endif %}
{%- if reordering_method is defined %}  reordering_method {{reordering_method}}
{% endif -%}
end linear
