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

Data Types

interface  fitpack_fx_status::fx_status
 C-interoperable status type for error reporting across language boundaries. More...
 

Modules

module  fitpack_fx_status
 Self-contained fx_status shim for standalone bindings (no fortran-arrays dependency)
 

Functions/Subroutines

pure type(fx_status) function fitpack_fx_status::fx_status_new (code, message)
 Build an error status from a code and a Fortran string.
 
pure character(len=len_status_msg) function fitpack_fx_status::fx_status_message (status)
 Read a status message back as a Fortran string.
 
subroutine, public fitpack_fx_status::handle_error (stat0, stat)
 Copy the local status to the caller's optional out-argument, or stop on error.
 

Variables

integer, parameter fitpack_fx_status::len_status_msg = 248
 
integer(c_int), parameter, public fitpack_fx_status::fx_ok = 0
 Status codes. Values mirror arrays_c; only the codes the generated wrappers actually raise are carried here.
 
integer(c_int), parameter, public fitpack_fx_status::fx_error_allocation = 1
 
integer(c_int), parameter, public fitpack_fx_status::fx_error_deallocation = 2
 
type(fx_status), parameter, public fitpack_fx_status::fx_status_ok = fx_status( ok = .true._c_bool, code = FX_OK, message = c_null_char)
 Success status constant (initialization without a procedure call)