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

De advection greedy #250

Merged
merged 12 commits into from
Jan 22, 2024
Merged

De advection greedy #250

merged 12 commits into from
Jan 22, 2024

Conversation

ptranq
Copy link
Collaborator

@ptranq ptranq commented Nov 16, 2023

Adds de_dg_advection_greedy example.

@chldkdtn chldkdtn requested a review from ckendrick November 18, 2023 00:30
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
delting empty lines and commented sections.  Did not yet change
example output to a different folder.
Copy link
Collaborator

@ckendrick ckendrick left a comment

Choose a reason for hiding this comment

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

Overall this looks good, just a few minor changes.

examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
examples/dmd/de_dg_advection_greedy.cpp Outdated Show resolved Hide resolved
subfolder.  Individual subfolders can be used to store output, or
to load input.  Additionally, I have addressed minor comments in
PR#250.
since these needed to be the same for successful execution.
Copy link
Collaborator

@ckendrick ckendrick left a comment

Choose a reason for hiding this comment

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

Looks good, just two more minor issues: creating the io directory if it doesn't exist, and add a missing timer.

examples/dmd/de_dg_advection_greedy.cpp Show resolved Hide resolved
@ptranq ptranq merged commit b30bd99 into master Jan 22, 2024
4 checks passed
andersonw1 pushed a commit that referenced this pull request Apr 2, 2024
* Added optimal control for dg_advection.

* Added de_dg_advection_greedy to CMakeLists.txt, so the new example will compile.

* Improved the introductory comments, included example run commands and output

* Applied sylize script to code.

* Turned back on DMD visualization.

* Ran styleize script.

* Addressed most comments from Dylan.  Minor code style changes,
delting empty lines and commented sections.  Did not yet change
example output to a different folder.

* Modified example de_dg_advection_greedy to place output files in a
subfolder.  Individual subfolders can be used to store output, or
to load input.  Additionally, I have addressed minor comments in
PR#250.

* Modified the input and output directories, to be only a single io_dir
since these needed to be the same for successful execution.

* Created iodir if it does not already exist.  Added timers per CKendrick's
suggestion

* Changed the method of subfolder creation.

* Addressed minor comments and updated copyright year.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants