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

Data Types

interface  fitpack_sphere_domains::fitpack_sphere
 Bicubic spline fitter for data scattered on the sphere. More...
 

Modules

module  fitpack_sphere_domains
 OOP wrapper for bivariate spline fitting on the sphere to scattered data.
 

Functions/Subroutines

integer function fitpack_sphere_domains::surface_fit_least_squares (this, smoothing, reset_knots)
 Fit a least-squares spherical surface with fixed knots.
 
integer function fitpack_sphere_domains::surface_fit_interpolating (this, reset_knots)
 Fit an interpolating spherical surface ( \( s = 0 \)).
 
integer function fitpack_sphere_domains::surface_fit_automatic_knots (this, smoothing, keep_knots)
 Fit a smoothing spherical surface with automatic knot placement.
 
elemental subroutine fitpack_sphere_domains::sphere_destroy (this)
 Release all allocated memory and reset the sphere fitter to its default state.
 
subroutine fitpack_sphere_domains::sphere_new_points (this, theta, phi, r, w)
 Load new scattered spherical data and allocate working storage.
 
type(fitpack_sphere) function fitpack_sphere_domains::sphere_new_from_points (theta, phi, r, w, ierr)
 Construct a fitpack_sphere from scattered data and perform an initial fit.
 
real(fp_real) function, dimension(size(phi), size(theta)) fitpack_sphere_domains::sphere_eval_many (this, theta, phi, ierr)
 Evaluate the spherical spline on a grid of colatitude and longitude values.
 
real(fp_real) function fitpack_sphere_domains::sphere_eval_one (this, theta, phi, ierr)
 Evaluate the spherical spline at a single point.
 
integer function fitpack_sphere_domains::sphere_new_fit (this, theta, phi, r, w, smoothing)
 Load new scattered data and fit a smoothing spherical spline in one call.
 
elemental integer(fp_size) function fitpack_sphere_domains::sphere_comm_size (this)
 Return the communication buffer size for parallel pack/expand.
 
pure subroutine fitpack_sphere_domains::sphere_comm_pack (this, buffer)
 Pack the sphere fitter state into a communication buffer.
 
pure subroutine fitpack_sphere_domains::sphere_comm_expand (this, buffer)
 Restore the sphere fitter state from a communication buffer.