Skip to content

Modern Version Of: Transcribe contents of interpolators_g.F from Fortran to C#251

Closed
mabruzzo wants to merge 22 commits into
grackle-project:mainfrom
mabruzzo:interpolators_modern
Closed

Modern Version Of: Transcribe contents of interpolators_g.F from Fortran to C#251
mabruzzo wants to merge 22 commits into
grackle-project:mainfrom
mabruzzo:interpolators_modern

Conversation

@mabruzzo

Copy link
Copy Markdown
Collaborator

Important

As noted down below, this PR should probably not reviewed

Essentially, this is a reissue of PR #160 that includes all of the more recent commits and the changes from #243.

The main change from #160 is that the tests of the C implementation are now run through the Google Test framework (introduced in #243). (I also modified the existing google tests so that they test the C implementation).

None of the actually transcribed code has actually changed from #160.


As I already mentioned, the goal isn't actually to merge this into the main branch. Currently efforts are underway to transcribe the gen2024 branch and merge these changes in as we go (before we ultimately merge the gen2024 branch).

I am making this PR as a means to run the pytest testsuite (the googletest test-suite definitely passes) and so we can keep track of already ported C routines that we won't be porting a second time.

mabruzzo added 21 commits May 1, 2024 16:06
…eger*8

Previously end_int was a logical. This produced issues while trying to port calc_temp1d_cloudy_g to C. It's unclear whether integer*8 is the best type, but it's a place to start
…test.

The transcribed routines are not currently called within the main Grackle library
- remove last reference to gr_dint (it's equivalent to gr_int)
- include the relevant header
- add file heading
@mabruzzo

mabruzzo commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator Author

Superseded by #384

@mabruzzo mabruzzo closed this Sep 2, 2025
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