Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constituent updates #468

Closed
wants to merge 61 commits into from

Conversation

peverwhee
Copy link
Collaborator

Summary

Incorporate constituent mods into capgen; also any lingering updates/fixes/tests from @gold2718 's capgen fork

Description

Flesh out constituent objects, add necessary interfaces and metadata

User interface changes?: Not that I know of...

addresses #282
addresses #380

Testing:

All unit tests have been updated to reflect changes and pass except for the unit conversion test that is expected to fail

Steve Goldhaber and others added 28 commits July 13, 2022 21:45
Allow schema file to be passed to validate
Add Fortran comment write method
Add metadata table type and name to CCPP datatable variable entries
Improve generated constituent-handling code
Fix issues with output of long comments
Ensure more instance variables are 'private'
Have capgen create database object
Add line fill (target line length) interface to FortranWriter
New Fortran interface, indent_size
New Fortran interface, blank_line
Added insert function for verbatim copy to file
Allow arbitrary break for long lines
Make sure call list variables have an intent
Added link to constituent dictionary
Add metadata to CCPP constituent object DDT
Add Fortran writing unit tests and fix line break bugs
Added constituent props array host interface, improved unit conversion error
Use +ELLIPSIS instead of +IGNORE_EXCEPTION_DETAILS for doctests
Constituent cleanup, no function side effects in interface
Completed and optimized constituent accessor routines
Added minimum allowed value property
Add molecular weight as variable and constituent property
Fix missing property (advected) from database
@dustinswales
Copy link
Collaborator

@peverwhee @mkavulich @climbfuji @gold2718
There are several things rolled into this PR and I'm finding it a bit hard to review. We have at least four Capgen innovations here.

My preference would be to silo these changes into focused smaller focused PRs. Thoughts?

@peverwhee
Copy link
Collaborator Author

@dustinswales Fair point. I will separate them into their requisite parts and ultimately close this PR

@peverwhee peverwhee closed this Jul 10, 2023
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.

6 participants