36 using GradientContainer = std::vector<std::unique_ptr<libMesh::NumericVector<libMesh::Number>>>;
47 unsigned int variable_number);
Class used for caching additional information for elements such as the volume and centroid.
Base class for linear finite-volume cell-gradient methods.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Read-only view of one variable's cell-centered linear finite-volume gradient values.
Real component(const ElemInfo &elem_info, unsigned int index) const
Read one gradient component at an element.
const FVGradientMethod & method() const
Method object that produces the stored values.
const GradientContainer & _components
Component vectors keyed by spatial direction.
const FVGradientMethod & _method
Method object that produces the stored values.
const SystemBase & system() const
System whose DOF map indexes the stored values.
std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > GradientContainer
One vector per spatial component of the cell-centered gradient.
RealVectorValue gradient(const ElemInfo &elem_info) const
Read the full gradient at an element.
const SystemBase & _sys
System the variable belongs to.
const unsigned int _variable_number
Variable number whose gradients are read by this object.
const unsigned int _system_number
System number cached for hot lookups (from faces to dofs).
const GradientContainer & components() const
Access the underlying component vectors keyed by spatial direction.
Base class for a system (of equations)
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...