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

Feature/arkode sts #541

Open
wants to merge 349 commits into
base: develop
Choose a base branch
from
Open

Feature/arkode sts #541

wants to merge 349 commits into from

Conversation

maggul
Copy link
Collaborator

@maggul maggul commented Jul 12, 2024

This is a draft PR for feedback on new STS module.

@drreynolds
Copy link
Collaborator

Unfortunately, the rebase to develop seems to have marked hundreds of files as conflicts. I'll work on fixing this branch now, so that it will be easier for folks to review.

@balos1
Copy link
Member

balos1 commented Jul 12, 2024

Unfortunately, the rebase to develop seems to have marked hundreds of files as conflicts. I'll work on fixing this branch now, so that it will be easier for folks to review.

Yeah, I think in the future we should not rebase develop on main (if main is updated directly) and instead do a merge. I don't see a real advantage to having the same linear history for main and develop, and it seems the rebase has a pretty big downside.

@drreynolds
Copy link
Collaborator

and it seems the rebase has a pretty big downside.

Indeed. Although rebasing might be no big deal for branches with 1-2 commits, it is a huge waste of time for a branch with any appreciable amount of development.

Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

I still need to look at the changes in src/arkode, but I wanted to share my comments so far.

examples/arkode/C_serial/erk_analytic.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/erk_analytic.out Outdated Show resolved Hide resolved
examples/arkode/C_serial/ark_analytic.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic_VarJac.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic_VarJac.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic_VarJac.c Outdated Show resolved Hide resolved
examples/arkode/C_serial/lsrk_analytic_VarJac.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

One more set of comments, covering the rest of this draft PR.

src/arkode/arkode_lsrkstep_impl.h Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep_impl.h Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep_impl.h Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep_impl.h Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep_io.c Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep.c Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep.c Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep.c Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep.c Outdated Show resolved Hide resolved
src/arkode/arkode_lsrkstep.c Outdated Show resolved Hide resolved
@drreynolds
Copy link
Collaborator

I believe that all conversations have now been resolved. The only remaining item to do in the code is to adjust how the number of RHS evaluations is retrieved by the user (addressed in PR #587). Whichever of the two PRs is merged second will need to be updated slightly. I'll request "re-review" by everyone so folks can verify that their concerns have been resolved.

drreynolds
drreynolds previously approved these changes Oct 10, 2024
@drreynolds drreynolds dismissed stale reviews from balos1, Steven-Roberts, and gardner48 October 10, 2024 17:47

All comments appear to be resolved, so I'm dismissing this stale review.

Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

One minor error, but otherwise I think this looks good.

doc/arkode/guide/source/Usage/LSRKStep/User_callable.rst Outdated Show resolved Hide resolved
@@ -2992,6 +3002,10 @@ int arkCheckConvergence(ARKodeMem ark_mem, int* nflagPtr, int* ncfPtr)
ARKodeHAdaptMem hadapt_mem;

if (*nflagPtr == ARK_SUCCESS) { return (ARK_SUCCESS); }
/* Returns with an ARK_RETRY_STEP flag happen in a step much
Copy link
Member

@balos1 balos1 Oct 18, 2024

Choose a reason for hiding this comment

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

I do not understand what this comment is saying. Can you clarify?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants