star-phor-input

star-phor-input is a file format convention for describing photoreactor configurations in the field of photoreactive system engineering. It comes with a dedicated C library and a linter. The star-phor-input file format specification is used as the input for the star-phor solver, which depends on the sphin library.

sphin is a C library designed to parse star-phor-input configuration files and to access the associated data. Thanks to an unstructured scene description, the memory representation is independent of any specific numerical method used to solve the system. This makes the library solver-agnostic while still providing all necessary geometries and physical properties for computation.

sphin-lint is an executable that flags syntactic errors, bugs, stylistic issues, and suspicious constructs in star-phor-input configuration files.

Requirements

Installation

Edit config.mk as needed. Run:

make all

Then run:

make install

with appropriate privileges.

Uninstallation

Run:

make uninstall

with appropriate privileges.

Copyright notice

Copyright (C) 2024-2026 Centre National de la Recherche Scientifique
Copyright (C) 2024-2026 Clermont Auvergne INP
Copyright (C) 2024-2026 INSA Lyon
Copyright (C) 2024-2026 Institut Mines Télécom Albi-Carmaux
Copyright (C) 2024-2026 Institut National Polytechnique de Toulouse
Copyright (C) 2024-2026 |Méso|Star> (contact@meso-star.com)
Copyright (C) 2024-2026 PhotonLyX (info@photonlyx.com)
Copyright (C) 2024-2026 Université de Lorraine
Copyright (C) 2024-2026 Université Paul Sabatier
Copyright (C) 2024-2026 Université Toulouse - Jean Jaurès

License

This is free software released under the GPL v3+ license: GNU GPL version 3 or later. You are welcome to redistribute them under certain conditions; refer to the COPYING file for details.