Numerically integrate data employing the extrapolation method.
make,gcc, andgfortran.
make
sudo make install PREFIX=/usr/local
Default installation in /usr/local. Installs:
eint: executable program which processes CSV data to compute integrals numerically,libeint.so: shared library providing the functionsextrapolation_float, andextrapolation_double;EINT_C.h: C header file forlibeint.so, andEINT_F.h: Fortran header file forlibeint.so.
sudo make uninstall PREFIX=/usr/local
Click me
We provide a makefile for a OpenMP-parallelised build. The parallelisation target is the computation of the trapezoidal rule sums.
To employ this option, use
cp profiles/parallel.make Makefile
and then follow the instructions for a regular installation.
EINT computes integrals of the form
using the extrapolation (a.k.a. Romberg integration) method. We assume that the
and that the array of values
The accuracy of the method depends on
After installation, the manual page is available
man eint
Additional resources, use cases and examples can be found in the example/ directory.
Compute
echo "0.0 0.25 0.5 0.75 1.0" | eint -t
Click me
make,gcc,gfortran,clang,clang-format(>=v20.1),clang-tidy(>=v20.1),fypp,pre-commit,valgrind,gcov,lcov, andgenhtml.
Install pre-commit:
pre-commit install
Updating the source code:
fypp src/EINT_Core.fypp src/EINT_Core.F90
fypp src/Prime_Factors.fypp src/Prime_Factors.F90
Testing:
make test
LCOV report:
firefox test/report/index.html
valgrind runs (serial and parallel):
code test/report/valgrind_s_run.log
code test/report/valgrind_p_run.log
Static analysis:
make static_analysis
code test/static_analysis_reports/*.rpt