forked from Zhang-Jiayong/Albany
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing how parameter for sensitivity analysis (kappa_x for now)
is registered. Registering it as a shared parameter (LandIce::SharedParameter) rather than Sacado parameter. I'm not sure why the Sacado parameter doesn't work, but I suppose it doesn't really matter since we will be using LandIce::SharedParameter for all intents and purposes. With this change, dg/dp \neq 0 for the Solution Average response, and dg/dp = 0 for the Solution Max Value response, as expected. I have not verified correctness for the former response yet. Before, I was always getting df/dp = 0 and dg/dp = 0 when attempting to compute transient sensitivities w.r.t. kappa_x. Code needs some cleanup - exception checks, ifdefs, and extension to more parameters (kappa_y and kappa_z).
- Loading branch information
Showing
4 changed files
with
49 additions
and
63 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
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