Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Classes | Namespaces | Typedefs | Functions
tagging_method/GradientDetector.hpp File Reference
#include "fub/ForEach.hpp"
#include "fub/StateArray.hpp"
#include "fub/StateRow.hpp"
#include "fub/core/mdspan.hpp"
#include "fub/ext/Eigen.hpp"
#include <utility>

Go to the source code of this file.

Classes

class  fub::GradientDetectorBase_< Equation, Projections >
 
class  fub::ScalarGradientDetector_< Equation, Projections >
 
class  fub::ArrayGradientDetector_< Equation, Projections >
 
struct  fub::GradientDetectorImpl_< IsArray, Eq, Ps >
 
struct  fub::GradientDetectorImpl_< false, Eq, Ps... >
 
struct  fub::GradientDetector< Eq, Ps >
 This class tags cells with a relative error to their neighbors. More...
 

Namespaces

 fub
 The fub namespace.
 

Typedefs

template<typename Proj , typename State >
using fub::Projection_t = decltype(std::invoke(std::declval< Proj >(), std::declval< State >()))
 
template<typename Proj , typename State >
using fub::IsProjection = is_detected< Projection_t, Proj, State >
 

Functions

template<std::size_t DestRank, std::size_t SrcRank>
std::array< std::ptrdiff_t, DestRank > fub::EmbedInSpace (const std::array< std::ptrdiff_t, SrcRank > &index)
 
template<typename Eq , typename... Ps>
 fub::GradientDetector (const Eq &, const std::pair< Ps, double > &...) -> GradientDetector< Eq, Ps... >