|
dynLattice
|
Lenient nonlinear solver with relaxed convergence criteria. More...
#include "LenientNonlinModule.h"


Public Member Functions | |
| LenientNonlinModule (const String &name="lenient") | |
| Constructor. | |
| virtual Status | init (const Properties &conf, const Properties &props, const Properties &globdat) override |
| Initialize the module. | |
| virtual Status | run (const Properties &globdat) override |
| Run the lenient nonlinear solver. | |
| virtual void | configure (const Properties &props, const Properties &globdat) override |
| Configure module parameters. | |
| virtual void | getConfig (const Properties &conf, const Properties &globdat) const override |
| Get current configuration. | |
Static Public Member Functions | |
| static Ref< Module > | makeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat) |
| Factory method for creating new LenientNonlinModule instances. | |
| static void | declare () |
| Register LenientNonlinModule type with ModuleFactory. | |
Static Public Attributes | |
Property identifiers | |
| static const char * | TYPE_NAME = "LNonlin" |
| Module type name. | |
Protected Member Functions | |
| virtual | ~LenientNonlinModule () |
| Protected destructor. | |
This module extends the standard NonlinModule to handle cases where strict convergence cannot be achieved within the maximum iteration limit. When a "no convergence" exception is thrown and the maximum number of iterations has been reached, the module accepts the current solution and continues the analysis. This is particularly useful for:
The module maintains all standard nonlinear solver functionality while providing the flexibility to proceed with non-converged solutions when necessary.
|
explicit |
| name | Module name (default: "lenient") |
|
protectedvirtual |
|
overridevirtual |
| props | Configuration properties |
| globdat | Global data container |
Delegates to base class configuration
|
static |
|
overridevirtual |
| conf | Configuration properties (output) |
| globdat | Global data container |
Delegates to base class configuration retrieval
|
overridevirtual |
| conf | Actually used configuration properties (output) |
| props | User-specified module properties |
| globdat | Global data container |
Initializes the base NonlinModule and retrieves the maximum iteration limit for lenient convergence behavior
|
static |
| name | Module name |
| conf | Actually used configuration properties (output) |
| props | User-specified module properties |
| globdat | Global data container |
|
overridevirtual |
| globdat | Global data container |
Executes the nonlinear solution process with lenient convergence criteria. If convergence fails after maxIter_ iterations, accepts the current solution and continues
|
static |