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

Data Types

interface  fitpack_surfaces_c::f_pointer
 Get pointer to embedded Fortran object. More...
 
interface  fitpack_surfaces_c::f_associated
 Pointer-identity check (Fortran-side wrapper of the bind(C) function). More...
 
interface  fitpack_surfaces_c::fitpack_surface_c
 Construct from Fortran object. More...
 

Modules

module  fitpack_surfaces_c
 C interface to fitpack_surface.
 

Functions/Subroutines

logical(c_bool) function, public fitpack_surfaces_c::fitpack_surface_c_is_same (this, that)
 Pointer-identity check: true iff both wrappers point to the same underlying Fortran object (and that object is allocated).
 
type(fitpack_surface) function, pointer fitpack_surfaces_c::fitpack_surface_c_get_pointer (this)
 Get pointer to embedded Fortran object (non-allocating)
 
logical function fitpack_surfaces_c::fitpack_surface_c_pointer (this, fthis)
 Get/allocate embedded Fortran object (internal, not bind(C)) Returns .true. on success, .false. on allocation failure.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_allocate (this, status)
 [bind(C)] Allocate new object
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_destroy (this, status)
 [bind(C)] Deallocate object
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_copy (this, that, deep_copy, status)
 [bind(C)] Copy. By default, mirrors source ownership: a view source yields a view (shallow handle copy); an owned source yields a deep copy via Fortran intrinsic assignment. Pass deep_copy=.true. to force a deep copy regardless of the source's ownership.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_associate (this, that, status)
 [bind(C)] Shallow copy (pointer semantics — Fortran "associate" construct)
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_move_alloc (to, from, status)
 [bind(C)] Move allocation (transfer ownership)
 
type(fitpack_surface_c) function fitpack_surfaces_c::fitpack_surface_c_f2c (f)
 Create from Fortran object (owns copy)
 
type(fitpack_surface_c) function fitpack_surfaces_c::fitpack_surface_c_fptr2c (f, want_pointer)
 Create from Fortran object (optionally as pointer)
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_fit (this, smoothing, order, keep_knots)
 fit
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_interpolate (this, reset_knots)
 interpolate
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_least_squares (this, smoothing, reset_knots)
 least_squares
 
real(c_double) function, public fitpack_surfaces_c::fitpack_surface_c_surface_eval_one (this, x, y, ierr)
 surface_eval_one
 
real(c_double) function, public fitpack_surfaces_c::fitpack_surface_c_surface_derivatives_one (this, x, y, dx, dy, ierr)
 surface_derivatives_one
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_cross_section (this, u, along_y, ierr, result)
 cross_section
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_derivative_spline (this, nux, nuy, ierr, result)
 derivative_spline
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_comm_size (this)
 comm_size
 
real(c_double) function, public fitpack_surfaces_c::fitpack_surface_c_mse (this)
 mse
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_core_comm_size (this)
 core_comm_size
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_destroy_base (this)
 destroy_base
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_new_points (this, n, x, y, z, w)
 new_points
 
integer(c_int32_t) function, public fitpack_surfaces_c::fitpack_surface_c_new_fit (this, n, x, y, z, w, smoothing, order)
 new_fit
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_surface_eval_many (this, n, x, y, ierr, result, n_result, max_size)
 surface_eval_many
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_surface_eval_gridded (this, n, x, y, ierr, result, n_result, max_size)
 surface_eval_gridded
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_surface_derivatives_many (this, n, x, y, dx, dy, ierr, result, n_result, max_size)
 surface_derivatives_many
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_surface_derivatives_gridded (this, n, x, y, dx, dy, ierr, result, n_result, max_size)
 surface_derivatives_gridded
 
real(c_double) function, public fitpack_surfaces_c::fitpack_surface_c_integral (this, n, lower, upper)
 integral
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_comm_pack (this, n, buffer)
 comm_pack
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_comm_expand (this, n, buffer)
 comm_expand
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_core_comm_pack (this, n, buffer)
 core_comm_pack
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_core_comm_expand (this, n, buffer)
 core_comm_expand
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_x (this, ptr, extents)
 Raw view of component 'x': address of the first element, plus the component's 1 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_y (this, ptr, extents)
 Raw view of component 'y': address of the first element, plus the component's 1 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_z (this, ptr, extents)
 Raw view of component 'z': address of the first element, plus the component's 1 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_w (this, ptr, extents)
 Raw view of component 'w': address of the first element, plus the component's 1 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_wrk2 (this, ptr, extents)
 Raw view of component 'wrk2': address of the first element, plus the component's 1 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
subroutine, public fitpack_surfaces_c::fitpack_surface_c_getcomp_t (this, ptr, extents)
 Raw view of component 't': address of the first element, plus the component's 2 extent(s). Null pointer and zero extents when the object or the component is unallocated; an allocated but zero-sized component still reports its true shape, but has no representable address. Symbol uses the getcomp_ infix (not get_) so it can never collide with a type-bound procedure named get_<component>.
 
type(c_ptr) function, public fitpack_surfaces_c::fitpack_surface_c_ref_m (this)
 Get pointer to scalar property 'm'.
 
type(c_ptr) function, public fitpack_surfaces_c::fitpack_surface_c_ref_nmax (this)
 Get pointer to scalar property 'nmax'.
 
type(c_ptr) function, public fitpack_surfaces_c::fitpack_surface_c_ref_lwrk2 (this)
 Get pointer to scalar property 'lwrk2'.
 
type(c_ptr) function, public fitpack_surfaces_c::fitpack_surface_c_ref_bc (this)
 Get pointer to scalar property 'bc'.