Octopus
root_solver_oct_m Module Reference

Data Types

type  root_solver_t
 

Functions/Subroutines

subroutine, public root_solver_init (rs, namespace, dimensionality, solver_type, maxiter, rel_tolerance, abs_tolerance)
 
subroutine, public root_solver_read (rs, namespace)
 
subroutine, public droot_solver_run (rs, func, root, success, startval)
 
subroutine droot_newton (rs, func, root, startval, success)
 Newton-Raphson scheme can only be used in the real case. More...
 

Variables

integer, parameter, public root_newton = 3
 

Function/Subroutine Documentation

◆ root_solver_init()

subroutine, public root_solver_oct_m::root_solver_init ( type(root_solver_t), intent(out)  rs,
type(namespace_t), intent(in)  namespace,
integer, intent(in)  dimensionality,
integer, intent(in), optional  solver_type,
integer, intent(in), optional  maxiter,
real(real64), intent(in), optional  rel_tolerance,
real(real64), intent(in), optional  abs_tolerance 
)

Definition at line 150 of file root_solver.F90.

◆ root_solver_read()

subroutine, public root_solver_oct_m::root_solver_read ( type(root_solver_t), intent(inout)  rs,
type(namespace_t), intent(in)  namespace 
)

Definition at line 175 of file root_solver.F90.

◆ droot_solver_run()

subroutine, public root_solver_oct_m::droot_solver_run ( type(root_solver_t), intent(in)  rs,
  func,
real(real64), dimension(:), intent(out)  root,
logical, intent(out)  success,
real(real64), dimension(:), intent(in), optional  startval 
)
Parameters
[out]rootroots we are searching
[in]startvalstart value for the search

Definition at line 227 of file root_solver.F90.

◆ droot_newton()

subroutine root_solver_oct_m::droot_newton ( type(root_solver_t), intent(in)  rs,
  func,
real(real64), dimension(:), intent(out)  root,
real(real64), dimension(:), intent(in)  startval,
logical, intent(out)  success 
)
private

Newton-Raphson scheme can only be used in the real case.

Parameters
[out]rootroot we are searching
[in]startvalstart value for the search

Definition at line 259 of file root_solver.F90.

Variable Documentation

◆ root_newton

integer, parameter, public root_solver_oct_m::root_newton = 3

Definition at line 134 of file root_solver.F90.