template<class T>
class gismo::gsNewtonIterator< T >
Performs Newton iterations to solve a nonlinear system of PDEs.
- Template Parameters
-
|
|
bool | converged () const |
| | Tells whether the Newton method converged.
|
| |
|
void | firstIteration () |
| | Solves linear system obtained using linear elasticity in first step and computes residual.
|
| |
| | gsNewtonIterator (gsAssembler< T > &assembler, const gsMultiPatch< T > &initialSolution) |
| |
|
void | nextIteration () |
| | Solves linear system in each iteration based on last solution and computes residual.
|
| |
|
index_t | numIterations () const |
| | Returns the number of Newton iterations performed.
|
| |
|
T | residue () const |
| | Returns the error after solving the nonlinear system.
|
| |
|
void | setMaxIterations (index_t nIter) |
| | Set the maximum number of Newton iterations allowed.
|
| |
|
void | setTolerance (T tol) |
| | Set the tolerance for convergence.
|
| |
|
const gsMultiPatch< T > & | solution () const |
| | Returns the latest configuration.
|
| |
|
void | solve () |
| | Applies Newton method and Performs Newton iterations until convergence or maximum iterations.
|
| |
|
T | tolerance () const |
| | Returns the tolerance value used.
|
| |