(git:c5411e0)
Loading...
Searching...
No Matches
negf_integr_simpson::simpsonrule_type Type Reference

A structure to store data needed for adaptive Simpson's rule algorithm. More...

Data Fields

complex(kind=dp) a
 lower and upper boundaries of the curve on the complex plane
 
complex(kind=dp) b
 
integer shape_id
 ID number which determines the shape of a curve along which the integral will be evaluated.
 
real(kind=dp) conv
 target accuracy
 
real(kind=dp) error
 estimated error value on the entire integration interval, as well as on converged sub-intervals only
 
real(kind=dp) error_conv
 
type(cp_cfm_type), pointer integral
 the estimated value of the integral on the entire interval
 
type(cp_cfm_type), pointer integral_conv
 work matrix to store the contribution to the integral on converged sub-intervals
 
type(cp_cfm_type), pointer integral_abc
 work matrices which stores approximated integral computed by using a/b/c, c/d/e, and a/c/e points respectively
 
type(cp_cfm_type), pointer integral_cde
 
type(cp_cfm_type), pointer integral_ace
 
type(cp_fm_type), pointer error_fm
 work matrix to temporarily store error estimate of the integral on a sub-interval for every matrix element
 
type(cp_fm_type), pointer weights
 weights associated with matrix elements; the final error is computed as Trace(error_fm * weights)
 
type(simpsonrule_subinterval_type), dimension(:), allocatable subintervals
 
real(kind=dp), dimension(:), allocatable tnodes
 complete list of nodes over the normalised interval [-1 .. 1] needed to restart Useful when a series of similar integrals need to be computed at an identical set of points, so intermediate quantities can be saved and reused.
 

Detailed Description

A structure to store data needed for adaptive Simpson's rule algorithm.

Definition at line 69 of file negf_integr_simpson.F.

Field Documentation

◆ a

complex(kind=dp) negf_integr_simpson::simpsonrule_type::a

lower and upper boundaries of the curve on the complex plane

Definition at line 71 of file negf_integr_simpson.F.

◆ b

complex(kind=dp) negf_integr_simpson::simpsonrule_type::b

Definition at line 71 of file negf_integr_simpson.F.

◆ shape_id

integer negf_integr_simpson::simpsonrule_type::shape_id

ID number which determines the shape of a curve along which the integral will be evaluated.

Definition at line 73 of file negf_integr_simpson.F.

◆ conv

real(kind=dp) negf_integr_simpson::simpsonrule_type::conv

target accuracy

Definition at line 75 of file negf_integr_simpson.F.

◆ error

real(kind=dp) negf_integr_simpson::simpsonrule_type::error

estimated error value on the entire integration interval, as well as on converged sub-intervals only

Definition at line 78 of file negf_integr_simpson.F.

◆ error_conv

real(kind=dp) negf_integr_simpson::simpsonrule_type::error_conv

Definition at line 78 of file negf_integr_simpson.F.

◆ integral

type(cp_cfm_type), pointer negf_integr_simpson::simpsonrule_type::integral

the estimated value of the integral on the entire interval

Definition at line 80 of file negf_integr_simpson.F.

◆ integral_conv

type(cp_cfm_type), pointer negf_integr_simpson::simpsonrule_type::integral_conv

work matrix to store the contribution to the integral on converged sub-intervals

Definition at line 82 of file negf_integr_simpson.F.

◆ integral_abc

type(cp_cfm_type), pointer negf_integr_simpson::simpsonrule_type::integral_abc

work matrices which stores approximated integral computed by using a/b/c, c/d/e, and a/c/e points respectively

Definition at line 84 of file negf_integr_simpson.F.

◆ integral_cde

type(cp_cfm_type), pointer negf_integr_simpson::simpsonrule_type::integral_cde

Definition at line 84 of file negf_integr_simpson.F.

◆ integral_ace

type(cp_cfm_type), pointer negf_integr_simpson::simpsonrule_type::integral_ace

Definition at line 84 of file negf_integr_simpson.F.

◆ error_fm

type(cp_fm_type), pointer negf_integr_simpson::simpsonrule_type::error_fm

work matrix to temporarily store error estimate of the integral on a sub-interval for every matrix element

Definition at line 86 of file negf_integr_simpson.F.

◆ weights

type(cp_fm_type), pointer negf_integr_simpson::simpsonrule_type::weights

weights associated with matrix elements; the final error is computed as Trace(error_fm * weights)

Definition at line 88 of file negf_integr_simpson.F.

◆ subintervals

type(simpsonrule_subinterval_type), dimension(:), allocatable negf_integr_simpson::simpsonrule_type::subintervals

Definition at line 90 of file negf_integr_simpson.F.

◆ tnodes

real(kind=dp), dimension(:), allocatable negf_integr_simpson::simpsonrule_type::tnodes

complete list of nodes over the normalised interval [-1 .. 1] needed to restart Useful when a series of similar integrals need to be computed at an identical set of points, so intermediate quantities can be saved and reused.

Definition at line 95 of file negf_integr_simpson.F.


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