Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Namespaces | Functions
AverageState.hpp File Reference
#include <AMReX.H>
#include "fub/AMReX/ForEachFab.hpp"
#include "fub/AMReX/ViewFArrayBox.hpp"
#include "fub/ForEach.hpp"
#include <mpi.h>

Go to the source code of this file.

Namespaces

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

Functions

template<typename InitialValue , typename BinaryOp >
void fub::amrex::AccumulateState (const ::amrex::MultiFab &mf, const ::amrex::Box &box, InitialValue &&init, BinaryOp &&binary_op)
 
template<typename Equation >
void fub::amrex::AverageState (Complete< Equation > &state, const ::amrex::MultiFab &mf, const ::amrex::Geometry &, const ::amrex::Box &box)
 
template<typename Equation >
void fub::amrex::AverageState (Conservative< Equation > &state, const ::amrex::MultiFab &mf, const ::amrex::Geometry &, const ::amrex::Box &box)