An open API service indexing awesome lists of open source software.

https://github.com/pedro-ricardo/fmap

Just set some functions to use the C++ std::map inside Modern Fortran. Doesn't duplicate the mapping algorithm.
https://github.com/pedro-ricardo/fmap

cpp dictionary interoperability modern-fortran

Last synced: about 1 year ago
JSON representation

Just set some functions to use the C++ std::map inside Modern Fortran. Doesn't duplicate the mapping algorithm.

Awesome Lists containing this project

README

          

# Mapping in Modern Fortran
Simple dictionary that maps `string` to `1D array` in Modern Fortran.

* This code just uses the C++ `std::map` from Modern Fortran,
it doesn't need any algorithm in Fortran.
* Free from memory leaks
* The purpose of this repo is to show that it is possible to do this fairly easy.
Please edit the files to fit your needs.

## Tested With:
| Library | Version |
| -------- | -------- |
| GCC | 10.2.1 |
| Valgrind | 3.15.0 |