https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Attributes | List of all members
LinearFVGradientManager::LinearFVGradientContainer Struct Reference

Gradient values for all variables using the same gradient method. More...

#include <LinearFVGradientManager.h>

Public Attributes

std::unordered_set< unsigned intvariable_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.
 

Detailed Description

Gradient values for all variables using the same gradient method.

Definition at line 129 of file LinearFVGradientManager.h.

Member Data Documentation

◆ current_values

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().

◆ has_checked_restart_history

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().

◆ has_computed_gradient

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().

◆ has_initialized_history

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().

◆ next_values

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().

◆ state_values

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().

◆ variable_numbers

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().


The documentation for this struct was generated from the following file: