WIP: Implemented sin w->t grids#162
Conversation
fdelesma
left a comment
There was a problem hiding this comment.
Left a few comments to address. I’ll be on a business trip for a bit, but I’ll check back once I return.
|
Hello, Thank @fdelesma for the revision and your comments. I have updated the files as suggested. Bests, |
|
@marm314 Thanks for your changes. I worked on the regression test for the sine transformation duality error, both with and without regularization. It should now meet the requirements for this MR. @moritzleucke, could review it. |
fdelesma
left a comment
There was a problem hiding this comment.
Looks good to me - let’s try to merge!
|
Looks like the Python version in the Actions might be causing the problem. |
|
@fdelesma I have an externally managed python evironment and cannot install pygreenx. I am/was just using the Fortran parts. |
|
I compile greenX in a difference machine. Here are my findings I got It seems that the duality errors for the larger grids (28–34) are too large and unstable. When regularization is applied, everything looks fine. I’ll work on a fix for that. |
|
I also noticed the same for the duality errors; in practice, I am using at least 1e-5 for the regularization in my calculations using these grids. |
moritzleucke
left a comment
There was a problem hiding this comment.
looks good to me 👍
Dear all,
I have implemented the construction of the sine w->t grids that were missing. As suggested in Issue 17 (#161), the sin_w_to_t grids have been implemented as optional in minimax_grids.F90 to avoid problems with other codes already using greenX. I have also updated the test_gx_minimax_grid.f90, which now shows how to request these grids. Please, let me know what/how test(s) should be incorporated (or, feel free to directly add them).
Looking forward to hearing from you,
Mauricio