SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
vector_view.hpp File Reference

This file includes a class for viewing some SystemLayout as a span of coefficients without copying the underlying storage. More...

#include <span>
#include <ranges>
#include <stdexcept>
#include <type_traits>
#include "serif/discretization/blocks/system_layout.hpp"
#include "serif/utils/error/errors.hpp"
Include dependency graph for vector_view.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  serif::discretization::blocks::BlockVectorView< Kind, Layout, Scalar >
 Build a non-owning view of a packed layout as a span. More...
 

Namespaces

namespace  serif
 
namespace  serif::discretization
 
namespace  serif::discretization::blocks
 

Typedefs

template<SystemLayoutType Layout, typename Scalar = double>
using serif::discretization::blocks::StateView = BlockVectorView<RepresentedValueKind::value, Layout, Scalar>
 A convenient alias for a view of the physical state coefficients.
 
template<SystemLayoutType Layout, typename Scalar = double>
using serif::discretization::blocks::ResidualView = BlockVectorView<RepresentedValueKind::residual, Layout, Scalar>
 A convenient alias for a view of the residual coefficients.
 

Detailed Description

This file includes a class for viewing some SystemLayout as a span of coefficients without copying the underlying storage.

Author
Emily M. Boudreaux