-
Notifications
You must be signed in to change notification settings - Fork 847
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
Deprecate options that did not work since v7.0.0, and other minor cleanups #1129
Conversation
Dark mode? |
🧙 Sure, if you just go to your front page (i.e. just github.com) there should be a big button directly on the right side. |
What is the equivalent of DUAL_TIME in the TIME / OUTER / INNER versions we have now? TIME? With all this deprecation the next version number should probably be 7.1.0 even if I would call these things bug fixes from v6.2 to v7.0. |
…into chore_minor_cleanups
Well thanks for fixing the typo. It seems we use I have to admit I don't understand why 7.0.9 would be awkward 🤔 |
I also removed your options from the tutorials @pcarruscag : only WRT_CSV_SOL was used in two cases |
Because 7.0.9 + 1 = 7.0.10 xD Silly question, using OUTPUT_WRT_FREQ = 1 to output on every time iteration, will it cause outputs on every inner iteration for some unsteady problems that were using the DUALTIME options? |
For unsteady cases output is only written at the end of each "time"-iteration (if the OUTPUT_WRT_FREQ is matched), never inside the inner-iterations. |
@TobiKattmann are you going after WRT_CON_FREQ now? (or at some point) |
I was too lazy on that. Sorry, I should have done that that in the first place 😞 As there were only a few non-defaults I would have gone with: EDIT: This suggestion above is bad how I just noticed -> If you have some more options to deprecate in mind I can take care of some. Maybe I try to hunt down a few more over the weekend 🏹 |
you prob mean that some files a "rewritten" completely. Hm seems to happen whenever a file ends on WRT_CONV_FREQ and does not have the default value. |
This reverts commit d8dcfb0.
bool output_per_surface = config->GetWrt_Surface(); | ||
bool output_per_surface = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously this kind of change (there are just 3 in this file) takes away functionality from users of output_structure_legacy. In these cases I was always generous 👑 and enabled stuff which potentially clutters output but I am unsure whether anybody even uses this at this point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EDIT: now it is just WRT_SURFACE
Ok I am happy with the changes as they are right now. I've looked over the diff once again and I have no more comments (obviously more regarding @pcarruscag commits than my own). Btw thanks for being attentive regarding my mistakes and of course for all the added commits 👍 |
Thank you for taking the lead (this is boring stuff, but less so if more people do it). |
By the way, I noticed you didn't squash-merge. Any reasons or just forgotten? No big deal though |
Cus yolo. |
Proposed Changes
Hi all,
Following a bit the idea of #942 this PR mostly gets rid of stuff.
WRT_RESIDUALS
unusedWRT_LIMITERS
unusedWRT_CON_FREQ_DUALTIME
only used in legacy output ... so I thought I just go for itSetMeshFile
function as it not used anywhere and CSU2MeshFileWriter is the new cool kid on the block 🛴files changed
for allThere is a lot of other things to deprecate so feel free to add here.
I have to check the tutorials for these options as well... ✔️ done and open PR (see below) but not merged yet to wait for reviews. This fails to reg tests of tutorials.
(p.s. github now has a dark mode, which makes writing this on Thursday nights much nicer 🕶️)
Related Work
none
PR Checklist