Skip to content

[newchem-cpp] Remove last occurence of logical from Fortran source files#261

Merged
brittonsmith merged 9 commits into
grackle-project:newchem-cppfrom
mabruzzo:remove-last-logical
Jun 11, 2025
Merged

[newchem-cpp] Remove last occurence of logical from Fortran source files#261
brittonsmith merged 9 commits into
grackle-project:newchem-cppfrom
mabruzzo:remove-last-logical

Conversation

@mabruzzo

Copy link
Copy Markdown
Collaborator

This PR was originally proposed as brittonsmith#16

For context: All other occurrences of logical were replaced in brittonsmith#7

Unlike other cases where we replaced logical with MASK_TYPE, I replaced it with integer*8 for the sake of consistency with prior PRs where I previously proposed a transcription of the interpolators_g.F file (see #160, #251).1

Footnotes

  1. In fact, I will port over Transcribe interpolate routines brittonsmith/grackle#38, which was the most recent iteration of this PR.

Unlike other cases where we replaced ``logical`` with ``MASK_TYPE``,
I replaced it with ``integer*8`` for the sake of consistency with the
grackle-project#160 PR (I plan to use the transcription of
interpolators_g.F from that PR in the future).
@mabruzzo mabruzzo changed the title Remove last occurence of logical from Fortran source files [newchem-cpp] Remove last occurence of logical from Fortran source files Mar 18, 2025
@mabruzzo mabruzzo changed the base branch from newchem-cpp to main March 18, 2025 16:27
@mabruzzo mabruzzo changed the base branch from main to newchem-cpp March 18, 2025 16:27
@mabruzzo mabruzzo moved this from In Progress to Awaiting Review in New Chemistry and C++ Transcription Mar 20, 2025
@mabruzzo mabruzzo added the refactor internal reorganization or code simplification with no behavior changes label Mar 24, 2025
@mabruzzo mabruzzo force-pushed the remove-last-logical branch from ba87c83 to 97f0648 Compare April 16, 2025 15:41
@mabruzzo

Copy link
Copy Markdown
Collaborator Author

With this last push, I have manually re-verified that all tests pass successfully (when I use the current HEAD of newchem-cpp as the gold-standard)

mabruzzo added 2 commits May 14, 2025 09:12
When I changed the type of `end_int` argument of ``interpolate_3Dz_g``
to use a 64-bit integer, I forgot to modify the declaration used within
the InterpolationTest.Interpolate3Dz unit-test
@brittonsmith brittonsmith merged commit 1780f3a into grackle-project:newchem-cpp Jun 11, 2025
4 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Done in New Chemistry and C++ Transcription Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor internal reorganization or code simplification with no behavior changes trivial

Projects

Development

Successfully merging this pull request may close these issues.

2 participants