Numerical quadrature.
More...
|
| pure real(wp) function | quadrature_1d (n_quad, f, xleft, xright) |
| | Numerical quadrature in 1D.
|
| |
| pure real(wp) function | quadrature_3d (n_quad, f, x0, x1, y0, y1, z0, z1) |
| | Numerical quadrature in 3D.
|
| |
| pure real(wp) function | quadrature_composite_1d (n_quad, f, xleft, xright, n_intervals) |
| | Composite numerical quadrature in 1D.
|
| |
| pure real(wp) function | quadrature_composite_3d (n_quad, f, x0, x1, y0, y1, z0, z1, nx, ny, nz) |
| | Composite numerical quadrature in 3D.
|
| |
◆ quadrature_1d()
| pure real(wp) function m_quadrature::quadrature::quadrature_1d |
( |
integer, intent(in) | n_quad, |
|
|
procedure(user_function_1d_interface) | f, |
|
|
real(wp), intent(in) | xleft, |
|
|
real(wp), intent(in) | xright ) |
Numerical quadrature in 1D.
- Parameters
-
| [in] | n_quad | Number of quadrature nodes |
| [in] | f | Function to integrate |
| [in] | xleft,xright | Integration limits |
- Returns
- Integral of f over the domain
◆ quadrature_3d()
| pure real(wp) function m_quadrature::quadrature::quadrature_3d |
( |
integer, intent(in) | n_quad, |
|
|
procedure(user_function_3d_interface) | f, |
|
|
real(wp), intent(in) | x0, |
|
|
real(wp), intent(in) | x1, |
|
|
real(wp), intent(in) | y0, |
|
|
real(wp), intent(in) | y1, |
|
|
real(wp), intent(in) | z0, |
|
|
real(wp), intent(in) | z1 ) |
Numerical quadrature in 3D.
- Parameters
-
| [in] | n_quad | Number of quadrature nodes |
| [in] | f | Function to integrate |
| [in] | x0,x1,y0,y1,z0,z1 | Integration limits in the x, y and z directions |
- Returns
- Integral of f over the domain
◆ quadrature_composite_1d()
| pure real(wp) function m_quadrature::quadrature::quadrature_composite_1d |
( |
integer, intent(in) | n_quad, |
|
|
procedure(user_function_1d_interface) | f, |
|
|
real(wp), intent(in) | xleft, |
|
|
real(wp), intent(in) | xright, |
|
|
integer, intent(in) | n_intervals ) |
Composite numerical quadrature in 1D.
- Parameters
-
| [in] | n_quad | Number of quadrature nodes per interval |
| [in] | f | Function to integrate |
| [in] | xleft,xright | Integration limits |
| [in] | n_intervals | Number of intervals for the composite quadrature |
- Returns
- Integral of f over the domain
◆ quadrature_composite_3d()
| pure real(wp) function m_quadrature::quadrature::quadrature_composite_3d |
( |
integer, intent(in) | n_quad, |
|
|
procedure(user_function_3d_interface) | f, |
|
|
real(wp), intent(in) | x0, |
|
|
real(wp), intent(in) | x1, |
|
|
real(wp), intent(in) | y0, |
|
|
real(wp), intent(in) | y1, |
|
|
real(wp), intent(in) | z0, |
|
|
real(wp), intent(in) | z1, |
|
|
integer, intent(in) | nx, |
|
|
integer, intent(in) | ny, |
|
|
integer, intent(in) | nz ) |
Composite numerical quadrature in 3D.
- Parameters
-
| [in] | n_quad | Number of quadrature nodes per interval in each direction |
| [in] | f | Function to integrate |
| [in] | x0,x1,y0,y1,z0,z1 | Integration limits in the x, y and z directions |
| [in] | nx,ny,nz | Number of intervals in x, y and z |
- Returns
- Integral of f over the domain
The documentation for this interface was generated from the following file:
- /builds/rwr/bspline_feec/src/quadrature/m_quadrature.f90