Skip to content

selah_kind_parameters ​

SELAH, the working real kind.

Every operator computes in PENF's R_P, chosen when SELAH (and PENF, compiled from its sources by the same build mode) is built: -D_R_P_IS_R4P, -D_R_P_IS_R8P, or nothing (R8P, PENF's default). One precision per build, no generic interfaces: the kernels are compiled once, for that kind (notes/PLAN.md, principle P5).

A compile-time check ties the macro to PENF's R_P: a build that defines it for SELAH but not for PENF (or the reverse) stops with a division by zero in a constant expression.

Source: src/lib/selah_kind_parameters.F90

Re-exports ​

NameKindModuleDescription
R_Ppenf

GPL-3.0-or-later, BSD-2-Clause, BSD-3-Clause or MIT, at your choice