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

[WIP]:Pseudo-Transient method #215

Closed
wants to merge 39 commits into from
Closed

[WIP]:Pseudo-Transient method #215

wants to merge 39 commits into from

Conversation

yonatanwesen
Copy link
Contributor

@yonatanwesen yonatanwesen commented Sep 19, 2023

@ChrisRackauckas
Copy link
Member

That URL doesn't work. Which paper?

@@ -37,6 +37,7 @@ include("utils.jl")
include("raphson.jl")
include("trustRegion.jl")
include("levenberg.jl")
include("pseudoTransient.jl")
Copy link
Member

Choose a reason for hiding this comment

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

please follow standard naming conventions. psudotransient.jl for the page should be fine.

src/jacobian.jl Outdated
Comment on lines 119 to 120
J_new = J - (1/alpha) * I
linprob = LinearProblem(J_new, _vec(zero(u)); u0 = _vec(zero(u)))
Copy link
Member

Choose a reason for hiding this comment

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

What difference does this make?

Copy link
Member

Choose a reason for hiding this comment

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

If J is a VecJac operator, then the addition constructs an AddedOperator. needed for Krylov Subspace compatibility.

Copy link
Member

Choose a reason for hiding this comment

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

Without this the types wont match in dolinsolve

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #215 (b6e1f0c) into master (4392343) will decrease coverage by 1.99%.
Report is 34 commits behind head on master.
The diff coverage is 81.17%.

❗ Current head b6e1f0c differs from pull request most recent head c26577a. Consider uploading reports for the commit c26577a to get more accurate results

@@            Coverage Diff             @@
##           master     #215      +/-   ##
==========================================
- Coverage   94.94%   92.95%   -1.99%     
==========================================
  Files           8        8              
  Lines         732      781      +49     
==========================================
+ Hits          695      726      +31     
- Misses         37       55      +18     
Files Coverage Δ
src/NonlinearSolve.jl 100.00% <100.00%> (ø)
src/jacobian.jl 91.17% <100.00%> (-0.67%) ⬇️
src/pseudoTransient.jl 79.48% <79.48%> (ø)

... and 6 files with indirect coverage changes

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

src/pseudotransient.jl Outdated Show resolved Hide resolved
@yonatanwesen yonatanwesen changed the title Pseudo-Transient method [WIP]:Pseudo-Transient method Sep 25, 2023
@avik-pal
Copy link
Member

avik-pal commented Oct 4, 2023

Open a new PR for this. Also, set your git config to rebase and not merge on pull. Otherwise, these disastrous merges happen.

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.

5 participants