-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test code for packed CellSpace Variables
Requires PALEOtoolkit/PALEOboxes.jl#94 Test code for packing CellSpace Variables, to evaluate whether this improves solver performance for atmosphere models. PALEOmodel.initialize!(model; pack_domain="atm") will reorder CellSpace Variables in "atm" Domain by cell (so all variables for a cell are adjacent in the aggregated stateexplicit and sms vectors) Tested with steadystate_ptcForwardDiff solver (NB: steadystate_ptc_splitdae does not work !) Shows neglible difference with minimal CHO and CHONS models, which suggests that the default reordering by UMFPACK (Julia \ for sparse matrices) already does a good job of finding a permutation that puts the Jacobian in block-diagonal form (?).
- Loading branch information
Showing
3 changed files
with
112 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.