DYNAMICS C API
C-compatible interface to the DYNAMICS library
Loading...
Searching...
No Matches
c_iteration_behavior Struct Reference

Iteration statistics returned by nonlinear solver routines. More...

#include <dynamics.h>

Public Attributes

bool converge_on_chng
 True when convergence was detected from solution changes.
 
bool converge_on_fcn
 True when convergence was detected from the function value.
 
bool converge_on_zero_diff
 True when convergence was detected from a zero difference.
 
int fcn_count
 Number of function evaluations.
 
int gradient_count
 Number of gradient evaluations.
 
int iter_count
 Number of nonlinear iterations.
 
int jacobian_count
 Number of Jacobian evaluations.
 

Detailed Description

Iteration statistics returned by nonlinear solver routines.

Member Data Documentation

◆ converge_on_chng

bool c_iteration_behavior::converge_on_chng

True when convergence was detected from solution changes.

◆ converge_on_fcn

bool c_iteration_behavior::converge_on_fcn

True when convergence was detected from the function value.

◆ converge_on_zero_diff

bool c_iteration_behavior::converge_on_zero_diff

True when convergence was detected from a zero difference.

◆ fcn_count

int c_iteration_behavior::fcn_count

Number of function evaluations.

◆ gradient_count

int c_iteration_behavior::gradient_count

Number of gradient evaluations.

◆ iter_count

int c_iteration_behavior::iter_count

Number of nonlinear iterations.

◆ jacobian_count

int c_iteration_behavior::jacobian_count

Number of Jacobian evaluations.


The documentation for this struct was generated from the following file: