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

Data Types

interface  fitpack_gridded_polar_c::f_pointer
 Get pointer to embedded Fortran object. More...
 
interface  fitpack_gridded_polar_c::f_associated
 Pointer-identity check (Fortran-side wrapper of the bind(C) function). More...
 
interface  fitpack_gridded_polar_c::fitpack_grid_polar_c
 Construct from Fortran object. More...
 
interface  fitpack_gridded_polar_c::f_char
 Pointer view of a null-terminated C string: a character(:,c_char), pointer result aliasing the C buffer — no copy, no allocation. Always associated: a null, zero-length or ABSENT input yields a 0-length module sentinel, safe to pass to required character(*) dummies and to trim(). Two overloads: More...
 

Modules

module  fitpack_gridded_polar_c
 C interface to fitpack_grid_polar.
 

Functions/Subroutines

logical(c_bool) function, public fitpack_gridded_polar_c::fitpack_grid_polar_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_grid_polar) function, pointer fitpack_gridded_polar_c::fitpack_grid_polar_c_get_pointer (this)
 Get pointer to embedded Fortran object (non-allocating)
 
logical function fitpack_gridded_polar_c::fitpack_grid_polar_c_pointer (this, fthis)
 Get/allocate embedded Fortran object (internal, not bind(C)) Returns .true. on success, .false. on allocation failure.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_allocate (this, status)
 [bind(C)] Allocate new object
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_destroy (this, status)
 [bind(C)] Deallocate object
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_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_gridded_polar_c::fitpack_grid_polar_c_associate (this, that, status)
 [bind(C)] Shallow copy (pointer semantics — Fortran "associate" construct)
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_move_alloc (to, from, status)
 [bind(C)] Move allocation (transfer ownership)
 
type(fitpack_grid_polar_c) function fitpack_gridded_polar_c::fitpack_grid_polar_c_f2c (f)
 Create from Fortran object (owns copy)
 
type(fitpack_grid_polar_c) function fitpack_gridded_polar_c::fitpack_grid_polar_c_fptr2c (f, want_pointer)
 Create from Fortran object (optionally as pointer)
 
character(len=:, kind=c_char) function, pointer fitpack_gridded_polar_c::from_c_string_ptr_cptr (c_str)
 Pointer view from a type(c_ptr) C string. Aliases the C buffer; always associated (0-length sentinel for null/empty input). The sentinel is a NUL byte viewed as zero-length, so it is simultaneously an empty Fortran string and a valid empty C string: a callee that re-derives the length with strlen (any character(len=1) :: s(*) dummy) stops at the NUL instead of reading on into adjacent statics.
 
subroutine fitpack_gridded_polar_c::c_array_to_string (scalar_len, scalar, ptr)
 Turn array of characters to a character string.
 
character(len=:, kind=c_char) function, pointer fitpack_gridded_polar_c::from_c_string_ptr_arr (c_str)
 Pointer view from a character(*) assumed-size C buffer. The dummy is optional: an absent argument (NULL passed to the optional bind(C) dummy) maps to the 0-length sentinel — always associated, safe for required character(*) callee dummies.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_set_origin_bc (this, z0, exact, differentiable)
 set_origin_BC
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_fit (this, smoothing, keep_knots)
 fit
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_least_squares (this, smoothing, reset_knots)
 least_squares
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_interpolate (this, reset_knots)
 interpolate
 
real(c_double) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_gridded_eval_one (this, u, v, ierr)
 gridded_eval_one
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_comm_size (this)
 comm_size
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_write (this, filename)
 write
 
real(c_double) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_mse (this)
 mse
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_core_comm_size (this)
 core_comm_size
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_destroy_base (this)
 destroy_base
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_new_points (this, n, u, v, r, z_n1, z_n2, z, z0)
 new_points
 
integer(c_int32_t) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_new_fit (this, n, u, v, r, z_n1, z_n2, z, z0, smoothing)
 new_fit
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_gridded_eval_many (this, n, u, v, ierr, result, n_result, max_size)
 gridded_eval_many
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_comm_pack (this, n, buffer)
 comm_pack
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_comm_expand (this, n, buffer)
 comm_expand
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_core_comm_pack (this, n, buffer)
 core_comm_pack
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_core_comm_expand (this, n, buffer)
 core_comm_expand
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_getcomp_u (this, ptr, extents)
 Raw view of component 'u': 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_gridded_polar_c::fitpack_grid_polar_c_getcomp_v (this, ptr, extents)
 Raw view of component 'v': 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_gridded_polar_c::fitpack_grid_polar_c_getcomp_z (this, ptr, extents)
 Raw view of component 'z': 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>.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_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_gridded_polar_c::fitpack_grid_polar_c_ref_r (this)
 Get pointer to scalar property 'r'.
 
type(c_ptr) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_ref_z0 (this)
 Get pointer to scalar property 'z0'.
 
logical(c_bool) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_get_z0_present (this)
 Get logical property 'z0_present'.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_set_z0_present (this, value)
 Set logical property 'z0_present'.
 
logical(c_bool) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_get_z0_exact (this)
 Get logical property 'z0_exact'.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_set_z0_exact (this, value)
 Set logical property 'z0_exact'.
 
logical(c_bool) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_get_z0_zero_gradient (this)
 Get logical property 'z0_zero_gradient'.
 
subroutine, public fitpack_gridded_polar_c::fitpack_grid_polar_c_set_z0_zero_gradient (this, value)
 Set logical property 'z0_zero_gradient'.
 
type(c_ptr) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_ref_nmax (this)
 Get pointer to scalar property 'nmax'.
 
type(c_ptr) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_ref_bc_continuity_origin (this)
 Get pointer to scalar property 'bc_continuity_origin'.
 
type(c_ptr) function, public fitpack_gridded_polar_c::fitpack_grid_polar_c_ref_bc_boundary (this)
 Get pointer to scalar property 'bc_boundary'.