Solvers#
Newton solver#
This module provides a class for configuring a Newton solver with PETSc options, designed for solving nonlinear problems in finite element analysis.
- class phasefieldx.solvers.newton.NewtonSolver(problem)[source]#
Bases:
objectA class that encapsulates the configuration of a Newton solver with PETSc options.
Methods
save_log_info(logger)Save the configuration settings of the NewtonSolver and Krylov solver to a logger.