fitpack
Modern Fortran library for curve and surface fitting with splines
Loading...
Searching...
No Matches
fitpack_gridded_sphere.f90 File Reference

Data Types

interface  fitpack_gridded_sphere::fitpack_grid_sphere
 Bicubic spline fitter for data on a latitude-longitude grid. More...
 

Modules

module  fitpack_gridded_sphere
 OOP wrapper for bivariate spline fitting on the sphere to gridded data.
 

Functions/Subroutines

integer function fitpack_gridded_sphere::spgrid_fit_least_squares (this, smoothing, reset_knots)
 Fit a least-squares gridded spherical surface with fixed knots.
 
integer function fitpack_gridded_sphere::spgrid_fit_interpolating (this, reset_knots)
 Fit an interpolating gridded spherical surface ( \( s = 0 \)).
 
integer function fitpack_gridded_sphere::spgrid_fit_automatic_knots (this, smoothing, keep_knots)
 Fit a smoothing spherical surface on a lat-lon grid with automatic knot placement.
 
elemental subroutine fitpack_gridded_sphere::spgrid_destroy (this)
 Release all allocated memory and reset the gridded sphere fitter to its default state.
 
subroutine fitpack_gridded_sphere::spgrid_new_points (this, u, v, z)
 Load new gridded spherical data and allocate working storage.
 
type(fitpack_grid_sphere) function fitpack_gridded_sphere::spgrid_new_from_points (u, v, z, ierr)
 Construct a fitpack_grid_sphere from gridded data and perform an initial fit.
 
integer function fitpack_gridded_sphere::spgrid_new_fit (this, u, v, z, smoothing)
 Load new gridded data and fit a smoothing spherical spline in one call.
 
real(fp_real) function, dimension(size(v), size(u)) fitpack_gridded_sphere::gridded_eval_many (this, u, v, ierr)
 Evaluate the gridded spherical spline on a grid of colatitude and longitude values.
 
real(fp_real) function fitpack_gridded_sphere::gridded_eval_one (this, u, v, ierr)
 Evaluate the gridded spherical spline at a single point.
 
subroutine fitpack_gridded_sphere::pole_bc (this, pole, z0, exact, differentiable, zero_grad)
 Set boundary conditions at one pole of the sphere.
 
subroutine fitpack_gridded_sphere::bc_north_pole (this, z0, exact, differentiable, zero_grad)
 Set boundary conditions at the north pole ( \( u = 0 \)).
 
subroutine fitpack_gridded_sphere::bc_south_pole (this, z0, exact, differentiable, zero_grad)
 Set boundary conditions at the south pole ( \( u = \pi \)).
 
subroutine fitpack_gridded_sphere::gridded_to_disk (this, filename)
 Write gridded spherical data to a formatted text file.
 
character(12) function named (name, i)
 
character(12) function numbered (v)
 
elemental integer(fp_size) function fitpack_gridded_sphere::gridsphere_comm_size (this)
 Return the communication buffer size for parallel pack/expand.
 
pure subroutine fitpack_gridded_sphere::gridsphere_comm_pack (this, buffer)
 Pack the gridded sphere fitter state into a communication buffer.
 
pure subroutine fitpack_gridded_sphere::gridsphere_comm_expand (this, buffer)
 Restore the gridded sphere fitter state from a communication buffer.
 

Function/Subroutine Documentation

◆ named()

character(12) function gridded_to_disk::named ( character(*), intent(in) name,
integer, intent(in) i )
private
Here is the call graph for this function:

◆ numbered()

character(12) function gridded_to_disk::numbered ( real(fp_real), intent(in) v)
private
Here is the call graph for this function: