iphreeqc/README.Fortran
Darth Vader 63ca4c7ef4 Squashed 'src/' changes from 6fd34ae3..2dcf4062
2dcf4062 normalized text files

git-subtree-dir: src
git-subtree-split: 2dcf40623ff462e2b379cd5f8ed8299928d0a6fd
2024-04-05 17:14:35 +00:00

18 lines
694 B
Plaintext

In Fortran, you will need to include the source file IPhreeqc_interface.F90
in your project files. This file defines the IPhreeqc Fortran module. This
is the preferred method to use IPhreeqc from a Fortran program.
USE IPhreeqc
INTEGER(KIND=4) id
id = CreateIPhreeqc()
Use of the include files IPhreeqc.f.inc and IPhreeqc.f90.inc has been
deprecated. To continue using them you must unset IPHREEQC_ENABLE_MODULE in
CMake builds or use the --disable-fortran-module in configure builds. If
either of these settings are used the Fortran include files will be
installed to the include directory.
INCLUDE 'IPhreeqc.f90.inc'
INTEGER(KIND=4) id
id = CreateIPhreeqc()