Skip to content

transcribe calc_temp_cloudy_g#34

Closed
mabruzzo wants to merge 701 commits into
brittonsmith:gen2024from
mabruzzo:gen2024transcribe/calc_temp_cloudy_g
Closed

transcribe calc_temp_cloudy_g#34
mabruzzo wants to merge 701 commits into
brittonsmith:gen2024from
mabruzzo:gen2024transcribe/calc_temp_cloudy_g

Conversation

@mabruzzo

Copy link
Copy Markdown

This should be reviewed after PR #33 is merged (I could probably reorder commits that we depend on an earlier PR is a hard dependency)


This PR transcribes calc_temp_cloudy_g from Fortran to C++. At this point the procedure is becoming pretty standardized. It might be easier to review commit-by-commit

I have manually confirmed that all tests successfully pass.


NOTE: I have not run the OpenMP tests. I'm pretty confident that the transcribed code is all valid. But, since Gen broke OpenMP support, I have not been tempted to test it yet

mabruzzo and others added 27 commits May 19, 2025 21:05
Originally one job ran the tests after building pygrackle as a
standalone package (i.e. the core Grackle is compiled as part of
pygrackle). The other job ran the tests with versions of pygrackle
where we explicitly built the core library (with both build-systems) as
a separate step from building pygrackle.
In these cases, we only run a subset of the test-suite (the much faster
component). This seems reasonable since we are already running the
answer-tests with the version of pygrackle configured that automatically
compiled the core-library as part of the build process. This should save
a lot of time
…sting-without-editable-install

Support running subset of pygrackle test without a an editable install
…tweak

cython does not need to be a runtime-dependency
…nstruction-tweaks

Pygrackle test instruction tweaks
…Warnings

Enable Compiler Warnings in a CI job
…lding_length_fix

H2 self shielding length scale factor fix
Superficial Website Documentation Tweaks
[newchem-cpp] Minor model test refactor and adding model comparison option
mabruzzo and others added 26 commits August 13, 2025 08:26
…o gen2024transcribe/step_rate_newton_raphson-cleanup-1of2
…e/internal_types_updates

[newchem-cpp] internal scratch-buffer interface update
…e/Implement-SpLUT-with-XMacros

[newchem-cpp] Refactor such that SpLUT is implemented with XMacros
…e/SpeciesLUTFieldAdaptor

[newchem-cpp] Introduce `SpeciesLutFieldAdaptor`
The *Great Renaming:* `gracklepy` edition
…e/initial-step_rate_newton_raphson

[newchem-cpp] initial transcription of `step_rate_newton_raphson`
…' into gen2024transcribe/lookup_cool_rates0d
…2024transcribe/calc_temp_cloudy_g

I needed to introduce the bugfix from PR grackle-project#367.
@mabruzzo

Copy link
Copy Markdown
Author

superseded by grackle-project#380

@mabruzzo mabruzzo closed this Aug 20, 2025
@mabruzzo mabruzzo deleted the gen2024transcribe/calc_temp_cloudy_g branch September 12, 2025 14:08
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.

3 participants