FORTRAN SOFTWARE CATALOG

Repository owner: Jannis Teunissen (jannisteunissen)

lookup-table-fortran

Linear lookup tables with multiple columns and selectable grid spacing.

Repository · Pinned source (b7dc72359e7c) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Interpolation
License
GPL-3.0

Topics: linear-interpolation, lookup-tables, tabulated-functions

Classification scope and review notes

Linear lookup tables. An operator-owned FPM manifest wraps the unchanged m_lookup_table.f90 file. The main checks exact interpolation of a linear function, the expected interpolation error for a quadratic, an exact grid value, and clamping below/above the endpoints. No mathematical source edits. The 2D interface, nonuniform spacing options, persistence and all boundary cases are not validated by this example.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-29.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

LT_create / LT_set_col / LT_set_col_data / LT_add_col / LT_get_loc / LT_get_col / LT_get_mcol / LT_get_col_at_loc / LT_get_mcol_at_loc

Module: m_lookup_table

E1a E3

E1a: source-supported; E3: verified

Derivatives / callbacks: not applicable

Linear lookup tables. An operator-owned FPM manifest wraps the unchanged m_lookup_table.f90 file. The main checks exact interpolation of a linear function, the expected interpolation error for a quadratic, an exact grid value, and clamping below/above the endpoints. No mathematical source edits. The 2D interface, nonuniform spacing options, persistence and all boundary cases are not validated by this example. Linear grids only: independent two-stage interpolation references check 98 queries on original/copied and updated tables, three columns, four lookup routes, location coordinates, endpoint clamping and column resampling/addition. This E3 service driver does not verify the separate E1a mapping.

Pinned source: m_lookup_table.f90

Author examples/tests: usage_example.f90

Load checked GAMS driver: gams-lookup-services-reference