Skip to content

[newchem-cpp] transcribe scale_fields_table#381

Merged
brittonsmith merged 4 commits into
grackle-project:newchem-cppfrom
mabruzzo:gen2024transcribe/scale_fields_table
Sep 12, 2025
Merged

[newchem-cpp] transcribe scale_fields_table#381
brittonsmith merged 4 commits into
grackle-project:newchem-cppfrom
mabruzzo:gen2024transcribe/scale_fields_table

Conversation

@mabruzzo

Copy link
Copy Markdown
Collaborator

This was originally proposed as brittonsmith#35


This should be reviewed after PR #380 is merged.


This transcribes the scale_fields_table Fortran subroutine. The function is incredibly small and simple, and is only called within calc_temp_cloudy_g (which was transcribed in #380).

@mabruzzo mabruzzo added the refactor internal reorganization or code simplification with no behavior changes label Aug 20, 2025
@mabruzzo mabruzzo moved this to Awaiting Review in New Chemistry and C++ Transcription Aug 20, 2025
@mabruzzo mabruzzo changed the base branch from newchem-cpp to main September 11, 2025 18:11
@mabruzzo mabruzzo changed the base branch from main to newchem-cpp September 11, 2025 18:11
@brittonsmith brittonsmith changed the base branch from newchem-cpp to main September 12, 2025 10:24
@brittonsmith brittonsmith changed the base branch from main to newchem-cpp September 12, 2025 10:25

@brittonsmith brittonsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me and I'll merge it to keep things rolling, but here is one comment. Should we add OpenMP parallelization for this? The regular scale_fields has it. Generally speaking, I've noticed that we are not fully consistent on where we implement parallelism.

@brittonsmith brittonsmith merged commit e27b506 into grackle-project:newchem-cpp Sep 12, 2025
5 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Done in New Chemistry and C++ Transcription Sep 12, 2025
@mabruzzo mabruzzo deleted the gen2024transcribe/scale_fields_table branch September 12, 2025 14:06
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

Projects

Development

Successfully merging this pull request may close these issues.

2 participants