Function setNonlinearSolverParameters.m
Function setNonlinearSolverParameters.mfunction nonlinear = setNonlinearSolverParameters(param) nonlinear.maxIterations = param.maxIterations; % Relaxation parameters for Newton iterations nonlinear.relaxation = 1; nonlinear.relaxMax = 0.2; nonlinear.relaxInc = 0.1; nonlinear.relaxRelTol = 0.01; %.1; % Parameters for Newton's iterations nonlinear.linesearch = false; nonlinear.relaxType = 'sor'; nonlinear.tol = 1.0e-10; end |