fedoo.problem.NonLinearNewmark.set_nr_criterion

NonLinearNewmark.set_nr_criterion(criterion='Displacement', **kargs)

Define the convergence criterion of the newton raphson algorith. For a problem pb, the newton raphson parameters can also be directly set in the pb.nr_parameters dict.

Parameter:
  • criterion: str in [‘Displacement’, ‘Force’, ‘Work’], default = “Displacement”. Type of convergence test.

Optional parameters that can be set as kargs:
  • ‘err0’: float or None, default = None. The reference error. If None (default), err0 is automatically computed.

  • ‘tol’: float, default is 1e-3. Error tolerance for convergence.

  • ‘max_subiter’: int, default = 5. Number of nr iteration before returning a convergence error.

  • ‘norm_type’: int or numpy.inf, default = 2. Define the norm used to test the criterion