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

Restructure MPTRAC to serve as a library. #37

Open
2 of 5 tasks
janhclem opened this issue May 29, 2024 · 0 comments
Open
2 of 5 tasks

Restructure MPTRAC to serve as a library. #37

janhclem opened this issue May 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@janhclem
Copy link
Collaborator

janhclem commented May 29, 2024

MPTRAC routines could be made available to other Models (CLaMS) more easily if MPTRAC is properly organized into a library containing those routines (libtrac.h/libtrac.c), and a time loop (trac.c).

  • Move routine declarations and macros etc. to libtrac.h, from trac.c
  • Eventually, rename and reorder the routines.
  • Create high-level functions for the initialisation, running and finalization of the library tools.
  • Change the compile process if needed ...
  • Test library in a set-up separate from MPTRAC...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants