nonlin 1.5.2
A library that provides routines to compute the solutions to systems of nonlinear equations.
Loading...
Searching...
No Matches
nonlin_core Module Reference

nonlin_core More...

Data Types

type  equation_optimizer
 A base class for optimization of an equation of multiple variables. More...
 
type  equation_solver
 A base class for various solvers of nonlinear systems of equations. More...
 
type  equation_solver_1var
 A base class for various solvers of equations of one variable. More...
 
interface  fcn1var
 Describes a function of one variable. More...
 
type  fcn1var_helper
 Defines a type capable of encapsulating an equation of one variable of the form: f(x) = 0. More...
 
interface  fcnnvar
 Describes a function of N variables. More...
 
type  fcnnvar_helper
 Defines a type capable of encapsulating an equation of N variables. More...
 
interface  gradientfcn
 Describes a routine capable of computing the gradient vector of an equation of N variables. More...
 
type  iteration_behavior
 Defines a set of parameters that describe the behavior of the iteration process. More...
 
interface  jacobianfcn
 Describes a routine capable of computing the Jacobian matrix of M functions of N unknowns. More...
 
interface  nonlin_optimize_fcn
 Describes the interface of a routine for optimizing an equation of N variables. More...
 
interface  nonlin_solver
 Describes the interface of a nonlinear equation solver. More...
 
interface  nonlin_solver_1var
 Describes the interface of a solver for an equation of one variable. More...
 
type  value_pair
 Defines a pair of numeric values. More...
 
interface  vecfcn
 Describes an M-element vector-valued function of N-variables. More...
 
type  vecfcn_helper
 Defines a type capable of encapsulating a system of nonlinear equations of the form: F(X) = 0. This type is used to establish the system of equations to solve, and provides a means for computing the Jacobian matrix for the system of equations, and any other ancillary operations that may be needed by the solver. More...
 

Functions/Subroutines

subroutine, public print_status (iter, nfeval, njaceval, xnorm, fnorm)
 Prints the iteration status.
 

Detailed Description

nonlin_core

Purpose
To provide various routines to solve equations of one or many variables. Actual solvers are located in the following modules.

Function/Subroutine Documentation

◆ print_status()

subroutine, public nonlin_core::print_status ( integer(int32), intent(in) iter,
integer(int32), intent(in) nfeval,
integer(int32), intent(in) njaceval,
real(real64), intent(in) xnorm,
real(real64), intent(in) fnorm )

Prints the iteration status.

Parameters
[in]iterThe iteration number.
[in]nfevalThe number of function evaluations.
[in]njacevalThe number of Jacobian evaluations.
[in]xnormThe change in variable value.
[in]fnormThe residual.

Definition at line 1995 of file nonlin_core.f90.