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
hp Version of KellyErrorEstimator<1,spacedim> #12797
Conversation
Yes, this should be a Comparing to the other functions, I can only spot a difference to this overload: dealii/source/numerics/error_estimator_1d.cc Lines 165 to 199 in 3d0a9b8
This function is implemented for just one solution, rather than for a collection. But that should already be implemented, as they convert that one solution into a vector of solutions. Funny. I assume you somehow ran into this exception in one of your applications. Can you try to call
instead of throwing the exception there and see it works? This way, we can resolve the mystery behind this function :) |
@marcfehling thanks for looking into the code! That one solution vector is wrapped by a dealii/source/numerics/error_estimator_1d.cc Lines 270 to 290 in 8a0eed8
However, currently the final goal is this function dealii/source/numerics/error_estimator_1d.cc Lines 294 to 311 in 8a0eed8
Forcing the right function call, by passing a single |
Your approach should work since if you are using a single It looks like the windows CI has some trouble with that.
I guess that you need to either get rid of the function you deleted in source/numerics/error_estimator_1d.inst.in as well, or keep the function you deleted and call the internal |
The conversion constructor is not needed as the input argument for the quadrature is not used, see dealii/source/numerics/error_estimator_1d.cc Line 300 in 8a0eed8
For the warning I have to check the inst file ... I just wonder, because I did not delete any function, just switched the content. In addition I used the PR to reorder the functions in the source file according to the occurence in the header. |
Has someone seen this error in the tester once. I dont understand it right now. |
I didn't read your patch correctly at first. You are right, you just changed the input parameters.
I think with your change you accidentally caused one of the overloads to call itself, which will end up in a infinite recursion loop. |
OK, thanks, so I will take a second look. But strange, the linux testers are happy... |
Should now be fixed... |
/rebuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
However, your change of reordering the functions makes this patch horrible to review now :-)
I would like to wait for a second approval just in case I missed something.
Well, I compared both @gfcas -- I think a changelog entry would be nice. I would merge the PR after you provided one :) |
I totally agree with you, sorry ... I reverted the reordering of the functions and added a minor(?) changelog entry. Thanks for reviewing! |
The internal error message was a little bit confusing. Looking in the code shows, that this is just not implemented. Would this be straightforward or is that not so easy?