Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module generation for composite #59

Open
pradal opened this issue Apr 9, 2019 · 0 comments
Open

Module generation for composite #59

pradal opened this issue Apr 9, 2019 · 0 comments
Labels

Comments

@pradal
Copy link
Contributor

pradal commented Apr 9, 2019

In Fortran, a module has to be generated from the

From a package, generate:

  • a module in Fortran
  • a namespace in C++
  • a package in Pythonl
    For a composite:
  • a module in Fortran
  • a class in C#, Java
  • a function in Python or a functor in C++

If a composite is defined as a graph, each edge has to be translated into a variable, and each vertex is a call of a function/functor.
Using a traversal of the graph from inputs to outputs, call the different functions in that order.

@pradal pradal added the Fortran label Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant