Gradient values for all variables using the same gradient method. More...
#include <LinearFVGradientManager.h>
Public Attributes | |
| std::unordered_set< unsigned int > | variable_numbers |
| Variable numbers whose gradients are stored in the gradient containers. | |
| OwnedGradientContainer | current_values |
| Owned current gradient values. | |
| GradientStateContainer | state_values |
| Published gradient values indexed by solution time state. | |
| OwnedGradientContainer | next_values |
| Replacement gradient values computed before publication. | |
| bool | has_computed_gradient = false |
| Whether the current gradient has received a computed value. | |
| bool | has_initialized_history = false |
| Whether the old gradient states contain valid values. | |
| bool | has_checked_restart_history = false |
| Whether restart data has been checked for this gradient method. | |
Gradient values for all variables using the same gradient method.
Definition at line 129 of file LinearFVGradientManager.h.
| OwnedGradientContainer LinearFVGradientManager::LinearFVGradientContainer::current_values |
Owned current gradient values.
We keep this outside of the system because we should be able to recompute these.
Definition at line 136 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::finalizeLinearFVGradientContainer(), and LinearFVGradientManager::setCurrentGradientState().
| bool LinearFVGradientManager::LinearFVGradientContainer::has_checked_restart_history = false |
Whether restart data has been checked for this gradient method.
Definition at line 154 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory().
| bool LinearFVGradientManager::LinearFVGradientContainer::has_computed_gradient = false |
Whether the current gradient has received a computed value.
Definition at line 148 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::finalizeLinearFVGradientContainer().
| bool LinearFVGradientManager::LinearFVGradientContainer::has_initialized_history = false |
Whether the old gradient states contain valid values.
Definition at line 151 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory(), and LinearFVGradientManager::finalizeLinearFVGradientContainer().
| OwnedGradientContainer LinearFVGradientManager::LinearFVGradientContainer::next_values |
Replacement gradient values computed before publication.
We keep this outside of the system because we should be able to recompute these.
Definition at line 145 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::finalizeLinearFVGradientContainer().
| GradientStateContainer LinearFVGradientManager::LinearFVGradientContainer::state_values |
Published gradient values indexed by solution time state.
This is just the vector of pointers to other vectors describing old gradients (if any) stored on the system. To ensure we can map solutions and automatically use the checkpoint capabilities.
Definition at line 141 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory(), LinearFVGradientManager::finalizeLinearFVGradientContainer(), LinearFVGradientManager::resizeGradientStateStorage(), and LinearFVGradientManager::setCurrentGradientState().
| std::unordered_set<unsigned int> LinearFVGradientManager::LinearFVGradientContainer::variable_numbers |
Variable numbers whose gradients are stored in the gradient containers.
Definition at line 132 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory().