CAMP 1.0.0
Chemistry Across Multiple Phases
Public Member Functions | Public Attributes | List of all members
camp_solver_stats::solver_stats_t Type Reference

Solver statistics. More...

Public Member Functions

procedure print (this, file_unit)
 Print the solver statistics.
 
procedure assignvalue (this, new_value)
 Assignment.
 
generic assignment (this, new_value)
 Assignment.
 

Public Attributes

integer(kind=i_kind) status_code
 Status code.
 
real(kind=dp) start_time__s
 Integration start time [s].
 
real(kind=dp) end_time__s
 Integration end time [s].
 
integer(kind=i_kind) solver_flag
 Last flag returned by the solver.
 
integer(kind=i_kind) num_steps
 Number of steps.
 
integer(kind=i_kind) rhs_evals
 Right-hand side evaluations.
 
integer(kind=i_kind) ls_setups
 Linear solver setups.
 
integer(kind=i_kind) error_test_fails
 Error test failures.
 
integer(kind=i_kind) nls_iters
 Non-Linear solver iterations.
 
integer(kind=i_kind) nls_convergence_fails
 Non-Linear solver convergence failures.
 
integer(kind=i_kind) dls_jac_evals
 Direct Linear Solver Jacobian evaluations.
 
integer(kind=i_kind) dls_rhs_evals
 Direct Linear Solver right-hand size evaluations.
 
real(kind=dp) last_time_step__s
 Last time step [s].
 
real(kind=dp) next_time_step__s
 Next time step [s].
 
integer(kind=i_kind) jac_eval_fails
 Jacobian evaluation failures.
 
integer(kind=i_kind) rhs_evals_total
 Total calls to f()
 
integer(kind=i_kind) jac_evals_total
 Total calls to Jac()
 
real(kind=dp) rhs_time__s
 Compute time for calls to f() [s].
 
real(kind=dp) jac_time__s
 Compute time for calls to Jac() [s].
 
real(kind=dp) max_loss_precision
 Maximum loss of precision on last deriv call.
 

Detailed Description

Solver statistics.

Holds information related to a solver run

Definition at line 21 of file solver_stats.F90.

Member Function/Subroutine Documentation

◆ assignment()

generic camp_solver_stats::solver_stats_t::assignment ( class(solver_stats_t), intent(inout)  this,
integer(kind=i_kind), intent(in)  new_value 
)

Assignment.

Parameters
[in,out]thisSolver statistics
[in]new_valueValue to assign

Definition at line 74 of file solver_stats.F90.

Here is the call graph for this function:

◆ assignvalue()

procedure camp_solver_stats::solver_stats_t::assignvalue ( class(solver_stats_t), intent(inout)  this,
integer(kind=i_kind), intent(in)  new_value 
)

Assignment.

Parameters
[in,out]thisSolver statistics
[in]new_valueValue to assign

Definition at line 73 of file solver_stats.F90.

◆ print()

procedure camp_solver_stats::solver_stats_t::print ( class(solver_stats_t), intent(in)  this,
integer(kind=i_kind), optional  file_unit 
)

Print the solver statistics.

Parameters
[in]thisSolver statistics
file_unitFile unit to output to

Definition at line 71 of file solver_stats.F90.

Member Data Documentation

◆ dls_jac_evals

integer(kind=i_kind) camp_solver_stats::solver_stats_t::dls_jac_evals

Direct Linear Solver Jacobian evaluations.

Definition at line 43 of file solver_stats.F90.

◆ dls_rhs_evals

integer(kind=i_kind) camp_solver_stats::solver_stats_t::dls_rhs_evals

Direct Linear Solver right-hand size evaluations.

Definition at line 45 of file solver_stats.F90.

◆ end_time__s

real(kind=dp) camp_solver_stats::solver_stats_t::end_time__s

Integration end time [s].

Definition at line 27 of file solver_stats.F90.

◆ error_test_fails

integer(kind=i_kind) camp_solver_stats::solver_stats_t::error_test_fails

Error test failures.

Definition at line 37 of file solver_stats.F90.

◆ jac_eval_fails

integer(kind=i_kind) camp_solver_stats::solver_stats_t::jac_eval_fails

Jacobian evaluation failures.

Definition at line 51 of file solver_stats.F90.

◆ jac_evals_total

integer(kind=i_kind) camp_solver_stats::solver_stats_t::jac_evals_total

Total calls to Jac()

Definition at line 55 of file solver_stats.F90.

◆ jac_time__s

real(kind=dp) camp_solver_stats::solver_stats_t::jac_time__s

Compute time for calls to Jac() [s].

Definition at line 59 of file solver_stats.F90.

◆ last_time_step__s

real(kind=dp) camp_solver_stats::solver_stats_t::last_time_step__s

Last time step [s].

Definition at line 47 of file solver_stats.F90.

◆ ls_setups

integer(kind=i_kind) camp_solver_stats::solver_stats_t::ls_setups

Linear solver setups.

Definition at line 35 of file solver_stats.F90.

◆ max_loss_precision

real(kind=dp) camp_solver_stats::solver_stats_t::max_loss_precision

Maximum loss of precision on last deriv call.

Definition at line 61 of file solver_stats.F90.

◆ next_time_step__s

real(kind=dp) camp_solver_stats::solver_stats_t::next_time_step__s

Next time step [s].

Definition at line 49 of file solver_stats.F90.

◆ nls_convergence_fails

integer(kind=i_kind) camp_solver_stats::solver_stats_t::nls_convergence_fails

Non-Linear solver convergence failures.

Definition at line 41 of file solver_stats.F90.

◆ nls_iters

integer(kind=i_kind) camp_solver_stats::solver_stats_t::nls_iters

Non-Linear solver iterations.

Definition at line 39 of file solver_stats.F90.

◆ num_steps

integer(kind=i_kind) camp_solver_stats::solver_stats_t::num_steps

Number of steps.

Definition at line 31 of file solver_stats.F90.

◆ rhs_evals

integer(kind=i_kind) camp_solver_stats::solver_stats_t::rhs_evals

Right-hand side evaluations.

Definition at line 33 of file solver_stats.F90.

◆ rhs_evals_total

integer(kind=i_kind) camp_solver_stats::solver_stats_t::rhs_evals_total

Total calls to f()

Definition at line 53 of file solver_stats.F90.

◆ rhs_time__s

real(kind=dp) camp_solver_stats::solver_stats_t::rhs_time__s

Compute time for calls to f() [s].

Definition at line 57 of file solver_stats.F90.

◆ solver_flag

integer(kind=i_kind) camp_solver_stats::solver_stats_t::solver_flag

Last flag returned by the solver.

Definition at line 29 of file solver_stats.F90.

◆ start_time__s

real(kind=dp) camp_solver_stats::solver_stats_t::start_time__s

Integration start time [s].

Definition at line 25 of file solver_stats.F90.

◆ status_code

integer(kind=i_kind) camp_solver_stats::solver_stats_t::status_code

Status code.

Definition at line 23 of file solver_stats.F90.


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