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

Eval funcs docs #240

Merged
merged 49 commits into from
Jul 24, 2023
Merged

Eval funcs docs #240

merged 49 commits into from
Jul 24, 2023

Conversation

gawng
Copy link
Contributor

@gawng gawng commented Oct 22, 2022

Purpose

Address #206

Also, all the time spectral aircraft stability derivatives are allegedly broken so the documentation of cost functions says so Issue #295 .
Fixes some typos in source code as well.

Do not merge until these are checked

Expected time until merged

Would really appreciate reviews before all the senior students graduate so within the next semester.
EDIT: Before September 2023

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Checklist

  • I have run flake8 and black to make sure the Python code adheres to PEP-8 and is consistently formatted
  • I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@codecov
Copy link

codecov bot commented Oct 22, 2022

Codecov Report

Merging #240 (1d12ad7) into main (eea5686) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #240   +/-   ##
=======================================
  Coverage   42.01%   42.01%           
=======================================
  Files          13       13           
  Lines        3999     3999           
=======================================
  Hits         1680     1680           
  Misses       2319     2319           
Impacted Files Coverage Δ
adflow/pyADflow.py 68.94% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gawng gawng marked this pull request as ready for review November 11, 2022 21:38
@gawng gawng requested a review from a team as a code owner November 11, 2022 21:38
@gawng
Copy link
Contributor Author

gawng commented Nov 11, 2022

@ArshSaja Please document the remaining functions. That would be every function after area. Also the separation sensor funcs are your domain too.

To others, feel free to check the changes I have made so far so we can iterate. I would appreciate some help with all the aircraft stability derivatives. @lamkina feel free to add your stuff to this too. Thanks!

@anilyil
Copy link
Contributor

anilyil commented Nov 20, 2022

In #231, we ran into an issue with the computeCavitation option. This option controls of the cpmin and cavitation cost functions are computed or not. Is this documented in this PR? Is this the right place to document these? If not, I will create an issue.

@gawng
Copy link
Contributor Author

gawng commented Nov 20, 2022

Yep, this is exactly the place to put that documentation. It is not currently in this PR so I will add it to my TODO to specify that the compute cavitation flag results in extra computations in the cost function description.

@ArshSaja
Copy link
Contributor

I will work on this during the break.

@ewu63 ewu63 linked an issue Dec 14, 2022 that may be closed by this pull request
lamkina
lamkina previously approved these changes May 23, 2023
Copy link
Contributor

@lamkina lamkina left a comment

Choose a reason for hiding this comment

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

Thanks for fixing all the formatting stuff @gang525! I think this is ready to go.

Copy link
Contributor

@anilyil anilyil left a comment

Choose a reason for hiding this comment

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

I am hitting request changes; I want to review the explanations. Will try to do it later this week. Please finish reviewing other discussions in the meanwhile.

@ArshSaja
Copy link
Contributor

ArshSaja commented May 23, 2023

Thanks @gang525 for all changes! I will try to fix it if anything new comes up

@gawng
Copy link
Contributor Author

gawng commented May 24, 2023

The index TOC depth is now changed from 2 to 1. I corrected some of the other items, but @ArshSaja do you know what the flowpower cost functional is? This PR is getting close to ready.

EDIT: this is ready for review

@gawng gawng requested a review from anilyil July 10, 2023 14:46
@anilyil
Copy link
Contributor

anilyil commented Jul 14, 2023

I have pushed my changes to the descriptions. Someone else should review. @sseraj can you add brief descriptions to the time spectral functions and remove the "TODO"s ?

@sseraj
Copy link
Collaborator

sseraj commented Jul 14, 2023

@sseraj can you add brief descriptions to the time spectral functions and remove the "TODO"s ?

Yes, I can do that.

@anilyil
Copy link
Contributor

anilyil commented Jul 24, 2023

I'll wait for the tests just to be sure and merge this.

@anilyil anilyil merged commit 4dda7b3 into mdolab:main Jul 24, 2023
16 checks passed
@gawng gawng deleted the evalFuncs-docs branch July 25, 2023 12:55
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.

Document all possible evalFuncs
9 participants