-
Notifications
You must be signed in to change notification settings - Fork 10
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
Assertion error in solve! for transient operators #81
Comments
Hi! I am getting the same error at the second time step after convergence of nonlinear solver in the first time step. |
Using the theta method I found out that cache.op.tθ is not updated at the second time step, while op.tθ it is; and easy fix that seems to work is: |
I would say that |
I tested the PETScNonlinearSolver to solve the Poisson problem, precisely the one in the transient tutorial. I can't see any difference in comparing the solution with the Gridap internal NLSolver. I know it is a Linear Problem, but for testing purpose seems reasonable. Just commenting |
Where do you add this operation: |
I see. The problem is that the only way |
Hi @amartinhuertas and @fverdugo, what is your view on this issue? should we replace |
Hi @oriolcg (and the others) ! Thanks for taking care of this. I think that However, the concern I have of just doing Ideally, what I think we should do is:
|
Hi @amartinhuertas , I agree with this scheme, but I see one implementation issue. It is not clear to me how to check the domain/range size of |
@amartinhuertas @fverdugo , any view on this? |
As far I can see, and you point out, there are expressivity limitations in the abstract concept of a |
Hi @amartinhuertas , @fverdugo . I'm getting an assertion error here:
GridapPETSc.jl/src/PETScNonlinearSolvers.jl
Line 161 in 119a9d0
PETScNonlinearSolver
in transient problem. I get the error at the second time step, which makes me think that indeedop
andcache.op
are not the same. Should that be the case? If yes, what would be the best solution to this issue?The text was updated successfully, but these errors were encountered: