Skip to content

Refactor Output_float32#469

Merged
evaneschneider merged 26 commits intocholla-hydro:devfrom
mabruzzo:Output_Float32
Mar 18, 2026
Merged

Refactor Output_float32#469
evaneschneider merged 26 commits intocholla-hydro:devfrom
mabruzzo:Output_Float32

Conversation

@mabruzzo
Copy link
Copy Markdown
Collaborator

@mabruzzo mabruzzo commented Feb 3, 2026

To be reviewed after #477 is merged


In short this aims to make use of the new FieldInfo type and refactor parsing of Float32 parameters. The Output_float32 logic is now implemented by the F32FieldWriter class.

I have factored out a bunch of common functionality between F32FieldWriter and FieldWriter. I have gone to great lengths to retain historical behavior. Once we reconcile all of the inconsistencies, a bunch of duplicated code can be removed

@mabruzzo mabruzzo mentioned this pull request Feb 4, 2026
@mabruzzo mabruzzo changed the base branch from dev to main February 18, 2026 18:53
@mabruzzo mabruzzo changed the base branch from main to dev February 18, 2026 18:53
@mabruzzo mabruzzo changed the title WIP: Refactor Output_float32 Refactor Output_float32 Mar 3, 2026
This was referenced Mar 3, 2026
@mabruzzo mabruzzo mentioned this pull request Mar 17, 2026
Comment thread src/io/FieldWriter.h Outdated
Copy link
Copy Markdown
Collaborator

@evaneschneider evaneschneider left a comment

Choose a reason for hiding this comment

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

Only one minor comment, otherwise I think this looks good.

@evaneschneider evaneschneider merged commit 3ce9a5e into cholla-hydro:dev Mar 18, 2026
14 of 15 checks passed
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.

2 participants