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

refactor(tmr.py): ~40% performance improvement for Tmr.get_boundary_f… #46

Merged
merged 1 commit into from
May 5, 2022

Commits on May 5, 2022

  1. refactor(tmr.py): ~40% performance improvement for Tmr.get_boundary_f…

    …luxes
    
    * move get_intercell_connections to grid module, and seperate from flow reading so it only has to be done once
    * commented out extra intantiation of Interpolator (both x and y fluxes now interpolate to the same grid)
    * profiled get_qx_qy_qz; reading the flows from the cell budget file takes up almost all of the execution time, so further reduction would require changes to the flopy binary grid reader
    * current configuration took ~45 minutes to get boundary fluxes for the delta model (605 x 270; 21 layers)
    aleaf committed May 5, 2022
    Configuration menu
    Copy the full SHA
    2d56ad2 View commit details
    Browse the repository at this point in the history