FORTRAN interface for PEXSI library using ISO_C_BINDING.
The ISO_C_BINDING feature is included in the FORTRAN 2003 standard, and is implemented in most modern compilers.
- Note
- (From Alberto Garcia, 2013-04-10) Array arguments are required by the standard to be explicit shape (e.g. a(3)), or assumed size (e.g. a(*)). This avoids problems with the assumed shape specification (e.g. a(:)), which would need to pass extra information in general. This permits the use of pointers and array sections as actual arguments. The compiler would presumably make on-the-fly copies in the case of non-contiguous data (a situation that should be avoided on performance grounds).
- See Also
- c_pexsi_interface.h
- Date
- 2014-04-01