Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
This is the storage type for the extents class and only takes storage for dynamic extents. More...
#include <mdspan.hpp>
Public Member Functions | |
ExtentsStorage_ ()=default | |
template<typename... IndexType, typename = std::enable_if_t<conjunction< std::is_convertible<IndexType, std::ptrdiff_t>...>::value>, typename = std::enable_if_t<sizeof...(IndexType) == RankDynamic>> | |
constexpr | ExtentsStorage_ (IndexType... extent) noexcept |
constexpr | ExtentsStorage_ (const std::array< std::ptrdiff_t, RankDynamic > &extents) noexcept |
constexpr std::ptrdiff_t | extent (size_t n) const noexcept |
Returns the N-th Extent. More... | |
Static Public Member Functions | |
static constexpr std::size_t | rank () noexcept |
Returns sizeof...(StaticExtents) More... | |
static constexpr std::size_t | rank_dynamic () noexcept |
Returns sizeof...(StaticExtents) More... | |
static constexpr std::ptrdiff_t | static_extent (std::size_t n) noexcept |
Returns dynamic_extent. More... | |
Static Private Member Functions | |
static constexpr std::size_t | find_dynamic_extent_index (std::size_t n) noexcept |
Private Attributes | |
std::array< std::ptrdiff_t, RankDynamic > | m_dynamic_extents |
This is the storage type for the extents class and only takes storage for dynamic extents.
This class is also responsible for accessing all extents.
|
default |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
Returns the N-th Extent.
|
inlinestaticconstexprprivatenoexcept |
|
inlinestaticconstexprnoexcept |
Returns sizeof...(StaticExtents)
|
inlinestaticconstexprnoexcept |
Returns sizeof...(StaticExtents)
|
inlinestaticconstexprnoexcept |
Returns dynamic_extent.
|
private |