Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
An extents object defines a multidimensional index space which is the Cartesian product of integers extents [0..N0) * [0..N1) * ...
More...
#include <mdspan.hpp>
Public Types | |
using | index_type = std::ptrdiff_t |
Public Member Functions | |
constexpr std::ptrdiff_t | extent (size_t n) const noexcept |
Returns the n -th run-time 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 the n -th StaticExtent . More... | |
Private Types | |
using | base_type = ExtentsStorage_< sizeof...(StaticExtents), count_dynamic_extents(StaticExtents...), StaticExtents... > |
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 |
An extents object defines a multidimensional index space which is the Cartesian product of integers extents [0..N0) * [0..N1) * ...
|
private |
using fub::extents< StaticExtents >::index_type = std::ptrdiff_t |
|
inlineconstexprnoexcept |
Returns the n
-th run-time extent.
|
inlinestaticconstexprprivatenoexceptinherited |
|
inlinestaticconstexprnoexcept |
Returns sizeof...(StaticExtents)
|
inlinestaticconstexprnoexcept |
Returns sizeof...(StaticExtents)
|
inlinestaticconstexprnoexcept |
Returns the n
-th StaticExtent
.
|
privateinherited |