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

Data Types

interface  fitpack_grid_surfaces::fitpack_grid_surface
 Bivariate surface fitter \( z = s(x, y) \) for gridded data. More...
 

Modules

module  fitpack_grid_surfaces
 OOP wrapper for bivariate surface fitting to data on a rectangular grid.
 

Functions/Subroutines

integer function fitpack_grid_surfaces::surface_fit_least_squares (this, smoothing, reset_knots)
 Fit a least-squares gridded surface with fixed knots.
 
integer function fitpack_grid_surfaces::surface_fit_interpolating (this, reset_knots)
 Fit an interpolating gridded surface ( \( s = 0 \)).
 
integer(fp_flag) function fitpack_grid_surfaces::surface_fit_automatic_knots (this, smoothing, order, keep_knots)
 Fit a smoothing gridded surface with automatic knot placement.
 
elemental subroutine fitpack_grid_surfaces::surf_destroy (this)
 Destroy a grid surface object and release all allocated memory.
 
subroutine fitpack_grid_surfaces::surf_new_points (this, x, y, z)
 Load new gridded data and allocate workspace.
 
type(fitpack_grid_surface) function fitpack_grid_surfaces::surf_new_from_points (x, y, z, ierr)
 Construct a grid surface from gridded data and perform a default fit.
 
integer function fitpack_grid_surfaces::surf_new_fit (this, x, y, z, smoothing, order)
 Load new gridded data and perform a fresh fit.
 
real(fp_real) function, dimension(size(x)) fitpack_grid_surfaces::gridsurf_eval_many (this, x, y, ierr)
 Evaluate the grid surface at scattered \( (x_i, y_i) \) points.
 
real(fp_real) function fitpack_grid_surfaces::gridsurf_eval_one (this, x, y, ierr)
 Evaluate the grid surface at a single \( (x, y) \) point.
 
real(fp_real) function, dimension(size(y), size(x)) fitpack_grid_surfaces::gridded_eval_many (this, x, y, ierr)
 Evaluate the grid surface on a rectangular evaluation grid.
 
real(fp_real) function fitpack_grid_surfaces::gridded_eval_one (this, x, y, ierr)
 Evaluate the grid surface at a single grid point via bispev.
 
real(fp_real) function, dimension(size(y), size(x)) fitpack_grid_surfaces::gridded_derivatives_gridded (this, x, y, dx, dy, ierr)
 Evaluate partial derivatives on a rectangular grid.
 
real(fp_real) function, dimension(size(x)) fitpack_grid_surfaces::gridded_derivatives_many (this, x, y, dx, dy, ierr)
 Evaluate partial derivatives at scattered \( (x_i, y_i) \) points.
 
real(fp_real) function fitpack_grid_surfaces::gridded_derivatives_one (this, x, y, dx, dy, ierr)
 Evaluate a partial derivative at a single \( (x, y) \) point.
 
real(fp_real) function fitpack_grid_surfaces::gridsurf_integral (this, lower, upper)
 Compute the double integral of the grid surface over a rectangular domain.
 
type(fitpack_curve) function fitpack_grid_surfaces::gridsurf_cross_section (this, u, along_y, ierr)
 Extract a 1D cross-section curve from the grid surface.
 
type(fitpack_grid_surface) function fitpack_grid_surfaces::gridsurf_derivative_spline (this, nux, nuy, ierr)
 Compute the B-spline representation of a partial derivative surface.
 
elemental integer(fp_size) function fitpack_grid_surfaces::gridsurf_comm_size (this)
 Return the communication buffer size for the grid surface.
 
pure subroutine fitpack_grid_surfaces::gridsurf_comm_pack (this, buffer)
 Pack grid surface data into a communication buffer.
 
pure subroutine fitpack_grid_surfaces::gridsurf_comm_expand (this, buffer)
 Expand grid surface data from a communication buffer.