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

Add new newton solver that uses DOLFINx newton sovler #67

Merged
merged 7 commits into from
Nov 19, 2024

Conversation

jorgensd
Copy link
Member

@jorgensd jorgensd commented Nov 19, 2024

Alternative to the initial Newton solver.

Allows for usage of "residual" method.

Slightly more labor intensive as the packing of coefficients happens for both residual and jacobian.

@jorgensd jorgensd requested a review from finsberg November 19, 2024 09:12
@@ -214,6 +214,11 @@ def solve(self, atol=1e-6, rtol=1e-8, beta=1.0) -> int:
f": r (abs) = {residual} (tol={atol}), "
f"r (rel) = {relative_residual} (tol={rtol})"
)
print(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
print(
logger.info(

@finsberg finsberg merged commit 05b7c90 into main Nov 19, 2024
9 checks passed
@finsberg finsberg deleted the dokken/new_blocked_newton_solver branch November 20, 2024 11:03
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.

2 participants