Refactor ngrid#268
Conversation
Added support for non vectorized functions (slower) Added chunk size parameter for controlling memory/accuracy balance
|
Thanks @marco-2023 . I'm going to add @FarnazH to the review panel for this one. I'm also curious if @Ali-Tehrani has any comments/thoughts. |
|
I talked to @marco-2023 about this today. The main issue is that the I looked a little bit at the code. Some comments:
What do you think @Ali-Tehrani and @FarnazH ? |
I am not guaranteeing if these suggestions would make it easy or not. I think you'll have to change |
Refactored the ngrid module to improve readability and add features.
@PaulWAyers I think this PR improved the previous class. Nonetheless, I still have some doubts:
Gridbecause of this, several methods are inheritedmoments,saveandget_localgrid. I think thatsaveandget_localgridcan be implemented (I have some doubts about the meaning ofget_localgridin this context ), but I don't see how to getmoments.MultiDomainGridIntegratorthat is only responsible for integrating functions with more than one argument?