27#include "neml2/equation_systems/AxisLayout.h"
28#include "neml2/tensors/Tensor.h"
Definition DiagnosticsInterface.h:31
c10::TensorOptions TensorOptions
Definition types.h:66
Dense representation of a tensor assembled from a list of tensors and their layout.
Definition AssembledVector.h:36
Definition AxisLayout.h:34
AssembledVector assemble() const
Assemble the tensors for each variable group.
AxisLayout layout
Layout of the tensors.
Definition SparseVector.h:53
SparseVector group(std::size_t) const
Contiguous view of the sparse vector.
std::vector< Tensor > tensors
List of tensors.
Definition SparseVector.h:51
SparseVector(AxisLayout, std::vector< Tensor >)
TensorOptions options() const
Tensor options.