feat(fortran): Fortran interface can now use multi-zone

Fortran interface uses the new C api ability to call the naieve
multi-zone solver. This allows fortran calling code to make use of in
build parellaism for solving multiple zones
This commit is contained in:
2025-12-19 09:58:47 -05:00
parent 2a9649a72e
commit d65c237b26
17 changed files with 738 additions and 69 deletions

View File

@@ -1,5 +1,10 @@
if get_option('build_fortran')
add_languages('fortran', native: true)
found_fortran = add_languages('fortran')
if not found_fortran
error('Fortran compiler not found, but build_fortran option is enabled.')
else
message('Fortran compiler found.')
endif
message('Found FORTRAN compiler: ' + meson.get_compiler('fortran').get_id())
message('Fortran standard set to: ' + get_option('fortran_std'))
message('Building fortran module (gridfire_mod.mod)')