> Some of the possibilities I can think are (1) link the fortran solute model to Phreeqc through a DLL, (2) write results of phreeqC, and the fate and transport model at each iteration/time step to a disk and read (for each module) -- this could slow things if we simulate a large 3D problem for a lengthy duration!. Did you use a different approach? We passed arrays from Fortran to C, did the geochemical calculation in C and then passed arrays back to Fortran. > There are a few software that can convert a C program into a Fortan but it is a little risky with complex programs. I don't see any need to do this. We have successfully linked C and Fortran routines on Windows, Linux, Sun, and Dec Alphas. You can convert Fortran to C, but I doubt you can convert C to Fortran anyway. David David Parkhurst (dlpark@xxxxxxxx) U.S. Geological Survey Box 25046, MS 413 Denver Federal Center Denver, CO 80225 Project web page: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled
Please note that some U.S. Geological Survey (USGS) information accessed through this page may be preliminary in nature and presented prior to final review and approval by the Director of the USGS. This information is provided with the understanding that it is not guaranteed to be correct or complete and conclusions drawn from such information are the sole responsibility of the user.
Any use of trade, product, or firm names in this publication is for descriptive purposes only and does not imply endorsement by the U.S. Government.
The URL of this page is:
Last modified: $Date: 2005-09-13 21:04:21 -0600 (Tue, 13 Sep 2005) $
Visitor number 2143 since Jan 22, 1998.