MOM6
regrid_interp.F90 File Reference

Go to the source code of this file.

Data Types

type  regrid_interp::interp_cs_type
 Control structure for regrid_interp module. More...
 

Modules

module  regrid_interp
 Vertical interpolation for regridding.
 

Variables

integer, parameter regrid_interp::interpolation_p1m_h2 = 0
 O(h^2) More...
 
integer, parameter regrid_interp::interpolation_p1m_h4 = 1
 O(h^2) More...
 
integer, parameter regrid_interp::interpolation_p1m_ih4 = 2
 O(h^2) More...
 
integer, parameter regrid_interp::interpolation_plm = 3
 O(h^2) More...
 
integer, parameter regrid_interp::interpolation_ppm_h4 = 4
 O(h^3) More...
 
integer, parameter regrid_interp::interpolation_ppm_ih4 = 5
 O(h^3) More...
 
integer, parameter regrid_interp::interpolation_p3m_ih4ih3 = 6
 O(h^4) More...
 
integer, parameter regrid_interp::interpolation_p3m_ih6ih5 = 7
 O(h^4) More...
 
integer, parameter regrid_interp::interpolation_pqm_ih4ih3 = 8
 O(h^4) More...
 
integer, parameter regrid_interp::interpolation_pqm_ih6ih5 = 9
 O(h^5) More...
 
integer, parameter regrid_interp::degree_1 = 1
 Interpolant degrees. More...
 
integer, parameter regrid_interp::degree_2 = 2
 Interpolant degrees. More...
 
integer, parameter regrid_interp::degree_3 = 3
 Interpolant degrees. More...
 
integer, parameter regrid_interp::degree_4 = 4
 Interpolant degrees. More...
 
integer, parameter, public regrid_interp::degree_max = 5
 Interpolant degrees. More...
 
real, parameter, public regrid_interp::nr_offset = 1e-6
 When the N-R algorithm produces an estimate that lies outside [0,1], the estimate is set to be equal to the boundary location, 0 or 1, plus or minus an offset, respectively, when the derivative is zero at the boundary. More...
 
integer, parameter, public regrid_interp::nr_iterations = 8
 Maximum number of Newton-Raphson iterations. Newton-Raphson iterations are used to build the new grid by finding the coordinates associated with target densities and interpolations of degree larger than 1. More...
 
real, parameter, public regrid_interp::nr_tolerance = 1e-12
 Tolerance for Newton-Raphson iterations (stop when increment falls below this) More...
 
subroutine, public regrid_interp::regridding_set_ppolys (CS, densities, n0, h0, ppoly0_E, ppoly0_S, ppoly0_coefs, degree, h_neglect, h_neglect_edge)
 Builds an interpolated profile for the densities within each grid cell. More...
 
subroutine, public regrid_interp::interpolate_grid (n0, h0, x0, ppoly0_E, ppoly0_coefs, target_values, degree, n1, h1, x1, answers_2018)
 Given target values (e.g., density), build new grid based on polynomial. More...
 
subroutine, public regrid_interp::build_and_interpolate_grid (CS, densities, n0, h0, x0, target_values, n1, h1, x1, h_neglect, h_neglect_edge)
 Build a grid by interpolating for target values. More...
 
real function regrid_interp::get_polynomial_coordinate (N, h, x_g, ppoly_E, ppoly_coefs, target_value, degree, answers_2018)
 Given a target value, find corresponding coordinate for given polynomial. More...
 
integer function regrid_interp::interpolation_scheme (interp_scheme)
 Numeric value of interpolation_scheme corresponding to scheme name. More...
 
subroutine, public regrid_interp::set_interp_scheme (CS, interp_scheme)
 Store the interpolation_scheme value in the interp_CS based on the input string. More...
 
subroutine, public regrid_interp::set_interp_extrap (CS, extrap)
 Store the boundary_extrapolation value in the interp_CS. More...