Example #1
0
UnsteadySolver::UnsteadySolver (sys_type& s)
  : TimeSolver(s),
    old_local_nonlinear_solution (NumericVector<Number>::build(s.comm())),
    first_solve                  (true),
    first_adjoint_step (true)
{
}
Example #2
0
NewtonSolver::NewtonSolver (sys_type& s)
  : Parent(s),
    require_residual_reduction(true),
    require_finite_residual(true),
    brent_line_search(true),
    minsteplength(1e-5),
    linear_tolerance_multiplier(1e-3),
    linear_solver(LinearSolver<Number>::build(s.comm()))
{
}
 SecondOrderUnsteadySolver::SecondOrderUnsteadySolver (sys_type& s)
   : UnsteadySolver(s),
     _old_local_solution_rate(NumericVector<Number>::build(s.comm())),
     _old_local_solution_accel(NumericVector<Number>::build(s.comm()))
 {}