FORTRAN SOFTWARE CATALOG

Repository owner: Leon Foks (leonfoks)

coretran

Scientific utilities including sorting, dynamic arrays and k-d trees.

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

GAMS classifications

About this package

Category
Numerical utilities
License
BSD-3-Clause

Topics: ford, fortran, fortran-routines, kd-tree, kdtrees, modern, nearest-neighbor, object-oriented, scientific-computing, sorting, sorting-algorithms

Classification scope and review notes

Scientific utilities. The main sorts repeated and negative integers, builds a k-d tree for 20 deterministic 2D points and compares the nearest point with an independent direct search. The OpenMP metapackage is resolved explicitly and -fopenmp is enabled; the execution sandbox still uses one thread. No source edits. The broad library is compiled, but this driver does not validate all containers, random generators, mathematical utilities or parallel performance.

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.

sort

Module: m_sort

N6

N6: verified

Derivatives / callbacks: not applicable

Scientific utilities. The main sorts repeated and negative integers, builds a k-d tree for 20 deterministic 2D points and compares the nearest point with an independent direct search. The OpenMP metapackage is resolved explicitly and -fopenmp is enabled; the execution sandbox still uses one thread. No source edits. The broad library is compiled, but this driver does not validate all containers, random generators, mathematical utilities or parallel performance. The checked GAMS driver uses explicit stable=true only. A mixed-setting probe fails with stable=false on 16 equal integer32 values; source/hash/result are retained in docs/gams-candidates/coretran-sort.

Pinned source: src/sorting/m_sort.f90

Author examples/tests: test/m_tests.f90

Load checked GAMS driver: gams-coretran-sort-reference

KdTree / KdTreeSearch%nearest

Module: m_KdTree

P N5

P: source-supported; N5: source-supported

Derivatives / callbacks: not applicable

Scientific utilities. The main sorts repeated and negative integers, builds a k-d tree for 20 deterministic 2D points and compares the nearest point with an independent direct search. The OpenMP metapackage is resolved explicitly and -fopenmp is enabled; the execution sandbox still uses one thread. No source edits. The broad library is compiled, but this driver does not validate all containers, random generators, mathematical utilities or parallel performance. A broader nearest-neighbor probe fails on a valid 31-point query; its source, hash and result are retained in docs/gams-candidates/coretran-nearest. This procedure has no checked GAMS driver.

Pinned source: src/spatial/m_KdTree.f90

Author examples/tests: test/m_tests.f90