Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Classes | Namespaces | Functions
ViewFArrayBox.hpp File Reference
#include "fub/Equation.hpp"
#include "fub/PatchDataView.hpp"
#include "fub/State.hpp"
#include "fub/ext/ProgramOptions.hpp"
#include <AMReX_BaseFab.H>
#include <AMReX_FArrayBox.H>
#include <AMReX_RealBox.H>

Go to the source code of this file.

Classes

struct  fub::amrex::MakeViewImpl< State >
 

Namespaces

 fub
 The fub namespace.
 
 fub::amrex
 The amrex namespace.
 

Functions

template<>
::amrex::IntVect fub::GetOptionOr (const ProgramOptions &map, const std::string &name, const ::amrex::IntVect &value)
 
template<>
::amrex::Box fub::GetOptionOr (const ProgramOptions &map, const std::string &name, const ::amrex::Box &value)
 
template<>
::amrex::RealBox fub::GetOptionOr (const ProgramOptions &map, const std::string &name, const ::amrex::RealBox &value)
 
std::array< std::ptrdiff_t, AMREX_SPACEDIM > fub::amrex::AsArray (const ::amrex::IntVect &vec)
 
template<int Rank>
IndexBox< Rank > fub::amrex::AsIndexBox (const ::amrex::Box &box)
 
template<typename T >
mdspan< T, AMREX_SPACEDIM+1 > fub::amrex::MakeMdSpan (::amrex::BaseFab< T > &fab)
 Creates a mdspan which views all components of a mutable Fab. More...
 
template<typename T >
PatchDataView< T, AMREX_SPACEDIM+1 > fub::amrex::MakePatchDataView (::amrex::BaseFab< T > &fab)
 
template<typename T >
mdspan< T, AMREX_SPACEDIM > fub::amrex::MakeMdSpan (::amrex::BaseFab< T > &fab, int component)
 Creates a mdspan which views the specified component of a mutable Fab. More...
 
template<typename T >
PatchDataView< T, AMREX_SPACEDIM > fub::amrex::MakePatchDataView (::amrex::BaseFab< T > &fab, int component)
 
template<typename T >
mdspan< const T, AMREX_SPACEDIM+1 > fub::amrex::MakeMdSpan (const ::amrex::BaseFab< T > &fab)
 Creates a mdspan which views all components of a const Fab. More...
 
template<typename T >
PatchDataView< const T, AMREX_SPACEDIM+1 > fub::amrex::MakePatchDataView (const ::amrex::BaseFab< T > &fab)
 
template<typename T >
mdspan< const T, AMREX_SPACEDIM > fub::amrex::MakeMdSpan (const ::amrex::BaseFab< T > &fab, int component)
 Creates a mdspan which views the specified component of a const Fab. More...
 
template<typename T >
PatchDataView< const T, AMREX_SPACEDIM > fub::amrex::MakePatchDataView (const ::amrex::BaseFab< T > &fab, int component)
 
template<typename T >
PatchDataView< const T, AMREX_SPACEDIM, layout_stride > fub::amrex::MakePatchDataView (const ::amrex::BaseFab< T > &fab, int component, const ::amrex::Box &box)
 
template<typename T >
PatchDataView< T, AMREX_SPACEDIM, layout_stride > fub::amrex::MakePatchDataView (::amrex::BaseFab< T > &fab, int component, const ::amrex::Box &box)
 
template<typename State , typename T , typename Equation >
auto fub::amrex::MakeView (const PatchDataView< T, AMREX_SPACEDIM+1 > &fab, const Equation &equation)
 
template<typename State , typename Equation >
auto fub::amrex::MakeView (::amrex::FArrayBox &fab, const Equation &equation)
 
template<typename State , typename Equation >
auto fub::amrex::MakeView (const ::amrex::FArrayBox &fab, const Equation &equation)
 
template<typename State , typename Equation >
auto fub::amrex::MakeView (::amrex::FArrayBox &fab, const Equation &eq, const IndexBox< Equation::Rank()> &box)
 
template<typename State , typename Equation >
auto fub::amrex::MakeView (const ::amrex::FArrayBox &fab, const Equation &eq, const IndexBox< Equation::Rank()> &box)
 
template<typename State , typename FAB , typename Equation >
auto fub::amrex::MakeView (FAB &&fab, const Equation &eq, const ::amrex::Box &box)
 
std::array<::amrex::Box, 2 > fub::amrex::GetCellsAndFacesInStencilRange (const ::amrex::Box &cell_tilebox, const ::amrex::Box &face_validbox, int stencil_width, Direction dir)