fitpack
Modern Fortran library for curve and surface fitting with splines
Loading...
Searching...
No Matches
fitpack_fitters Module Reference

Abstract base module for all FITPACK OOP fitters. More...

Data Types

interface  comm_expand_if
 
interface  comm_pack_if
 
interface  comm_size_if
 
type  fitpack_fitter
 Abstract base type for all FITPACK OOP fitters. More...
 

Functions/Subroutines

elemental real(fp_real) function fitter_mse (this)
 Return fitting MSE.
 
elemental integer(fp_size) function fitter_core_comm_size (this)
 Number of FP_COMM slots needed for base fields: iopt (1) + smoothing (1) + fp (1) + lwrk (1) + liwrk (1) + c(:) + wrk(:) + iwrk(:)
 
pure subroutine fitter_core_comm_pack (this, buffer)
 Pack base fields into communication buffer.
 
pure subroutine fitter_core_comm_expand (this, buffer)
 Expand base fields from communication buffer.
 
elemental subroutine fitter_destroy_base (this)
 Reset base fields to defaults and deallocate arrays.
 

Detailed Description

Abstract base module for all FITPACK OOP fitters.

Defines fitpack_fitter, the abstract base type from which all curve and surface fitters inherit. Provides shared state (smoothing factor, residuals, workspaces) and the deferred communication interface for parallel serialization.

Function/Subroutine Documentation

◆ fitter_core_comm_expand()

pure subroutine fitpack_fitters::fitter_core_comm_expand ( class(fitpack_fitter), intent(inout) this,
real(fp_comm), dimension(:), intent(in) buffer )
private

Expand base fields from communication buffer.

◆ fitter_core_comm_pack()

pure subroutine fitpack_fitters::fitter_core_comm_pack ( class(fitpack_fitter), intent(in) this,
real(fp_comm), dimension(:), intent(out) buffer )
private

Pack base fields into communication buffer.

◆ fitter_core_comm_size()

elemental integer(fp_size) function fitpack_fitters::fitter_core_comm_size ( class(fitpack_fitter), intent(in) this)
private

Number of FP_COMM slots needed for base fields: iopt (1) + smoothing (1) + fp (1) + lwrk (1) + liwrk (1) + c(:) + wrk(:) + iwrk(:)

Here is the call graph for this function:

◆ fitter_destroy_base()

elemental subroutine fitpack_fitters::fitter_destroy_base ( class(fitpack_fitter), intent(inout) this)
private

Reset base fields to defaults and deallocate arrays.

◆ fitter_mse()

elemental real(fp_real) function fitpack_fitters::fitter_mse ( class(fitpack_fitter), intent(in) this)
private

Return fitting MSE.

Here is the call graph for this function: