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

IO to manage input files #100

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open

IO to manage input files #100

wants to merge 6 commits into from

Conversation

fedebenelli
Copy link
Member

Right now we only work with Fortran/Python scripts as "input" files. Some kind of IO either by using a standard or a custom parser for Input/Output files would be a nice addition if we plan on deliverying a small executable at some point.

For now the alternatives I have in mind are

  • namelist: Easy to read/write , also there are python libraries that generate and read this kind of files
  • lua: It is relatively easy to embed lua in Fortran, so maybe using lua scripts as input files would be a nice addition. Since the input file will be programmable and the interpreter/parser can be embeded into the executable.

Right now we only work with Fortran/Python scripts as "input" files. Some kind of IO either by using a standard or a custom parser for Input/Output files would be a nice addition if we plan on deliverying a small executable at some point.

For now the alternatives I have in mind are

- namelist: Easy to read/write , also there are python libraries that generate and read this kind of files
- lua: It is relatively easy to embed lua in Fortran, so maybe using lua scripts as input files would be a nice addition. Since the input file will be programmable and the interpreter/parser can be embeded into the executable.
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 92.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 93.30%. Comparing base (904405a) to head (15980a3).

Files Patch % Lines
src/io/namelist.f90 89.47% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #100      +/-   ##
==========================================
- Coverage   93.41%   93.30%   -0.11%     
==========================================
  Files          57       59       +2     
  Lines        2686     2735      +49     
  Branches      194      193       -1     
==========================================
+ Hits         2509     2552      +43     
- Misses        127      132       +5     
- Partials       50       51       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant