MOM6
P3M_functions.F90 File Reference

Go to the source code of this file.

Modules

module  p3m_functions
 Cubic interpolation functions.
 

Functions/Subroutines

subroutine, public p3m_functions::p3m_interpolation (N, h, u, ppoly_E, ppoly_S, ppoly_coef, h_neglect)
 Set up a piecewise cubic interpolation from cell averages and estimated edge slopes and values. More...
 
subroutine p3m_functions::p3m_limiter (N, h, u, ppoly_E, ppoly_S, ppoly_coef, h_neglect)
 Adust a piecewise cubic reconstruction with a limiter that adjusts the edge values and slopes. More...
 
subroutine, public p3m_functions::p3m_boundary_extrapolation (N, h, u, ppoly_E, ppoly_S, ppoly_coef, h_neglect, h_neglect_edge)
 Calculate the edge values and slopes at boundary cells as part of building a piecewise cubic sub-grid scale profiles. More...
 
subroutine p3m_functions::build_cubic_interpolant (h, k, ppoly_E, ppoly_S, ppoly_coef)
 Build cubic interpolant in cell k. More...
 
logical function p3m_functions::is_cubic_monotonic (ppoly_coef, k)
 Check whether the cubic reconstruction in cell k is monotonic. More...
 
subroutine p3m_functions::monotonize_cubic (h, u0_l, u0_r, sigma_l, sigma_r, slope, u1_l, u1_r)
 Monotonize a cubic curve by modifying the edge slopes. More...
 

Variables

real, parameter p3m_functions::hneglect_dflt = 1.E-30
 Default value of a negligible cell thickness. More...
 
real, parameter p3m_functions::hneglect_edge_dflt = 1.E-10
 Default value of a negligible edge thickness. More...