Block-Structured AMR Software Framework
AMReX_SDCquadrature.F90 File Reference

Data Types

interface  sdcquadrature_mod::poly_eval
 

Modules

module  sdcquadrature_mod
 Module to create quadrature matrices and accompanying routines for SDC.
 

Functions/Subroutines

subroutine sdcquadrature_mod::sdc_quadrature (qtype_in, nnodes, nnodes0, nodes, nflags, qmats)
 Subroutine to create quadrature matrices. More...
 
logical function sdcquadrature_mod::not_proper (flags, node)
 Function to decide if the restriction of the nodes is pointwise, e.g. coarse nodes are every other fine node. More...
 
subroutine sdcquadrature_mod::sdc_qnodes (qnodes, flags, qtype, nnodes)
 Subroutine to compute high precision quadrature nodes. More...
 
subroutine sdcquadrature_mod::sdc_qmats (qmat, smat, dst, src, flags, ndst, nsrc)
 Subroutine to compute the quadrature matrices. More...
 
real(qp) function sdcquadrature_mod::poly_eval (p, n, x)
 Polynomial manipulation routines. More...
 
complex(qp) function sdcquadrature_mod::poly_eval_complex (p, n, x)
 Function to evaluate complex polynomial. More...
 
subroutine sdcquadrature_mod::poly_diff (p, n)
 Subroutine to differentiate polynomial (in place) More...
 
subroutine sdcquadrature_mod::poly_int (p, n)
 Subroutine to integrate polynomial (in place) More...
 
subroutine sdcquadrature_mod::poly_legendre (p, n)
 Subroutine to compute Legendre polynomial coefficients using Bonnet's recursion formula. More...
 
subroutine sdcquadrature_mod::poly_roots (roots, p0, n)
 Subroutine to compute polynomial roots using the Durand-Kerner algorithm. The roots are assumed to be real. More...
 
recursive subroutine sdcquadrature_mod::qsort (a)
 Subroutine to sort (inplace) using the quick sort algorithm. Adapted from http://www.fortran.com/qsort_c.f95. More...
 
subroutine, private sdcquadrature_mod::qsort_partition (a, marker)
 

Variables

integer, parameter sdcquadrature_mod::qp = c_long_double
 
integer, parameter sdcquadrature_mod::dp = c_double
 
real(qp), parameter sdcquadrature_mod::eps = 1.0e-23_qp
 
integer, parameter sdcquadrature_mod::sdc_gauss_lobatto = 1
 Quadrature node types. More...
 
integer, parameter sdcquadrature_mod::sdc_gauss_radau = 2
 
integer, parameter sdcquadrature_mod::sdc_clenshaw_curtis = 3
 
integer, parameter sdcquadrature_mod::sdc_uniform = 4
 
integer, parameter sdcquadrature_mod::sdc_gauss_legendre = 5
 
integer, parameter sdcquadrature_mod::sdc_proper_nodes = 2**8
 
integer, parameter sdcquadrature_mod::sdc_composite_nodes = 2**9
 
integer, parameter sdcquadrature_mod::sdc_no_left = 2**10
 
integer, parameter sdcquadrature_mod::amrex_real = c_double