Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fub::ShallowWater Struct Reference

#include <ShallowWater.hpp>

Public Types

using ConservativeDepths = ShallowWaterVariables< ScalarDepth, VectorDepth< 2 > >
 
using CompleteDepths = ConservativeDepths
 
using Conservative = ::fub::Conservative< ShallowWater >
 
using Complete = ::fub::Complete< ShallowWater >
 
using ConservativeArray = ::fub::ConservativeArray< ShallowWater >
 
using CompleteArray = ::fub::CompleteArray< ShallowWater >
 

Public Member Functions

void Flux (Conservative &flux, const Complete &state, Direction dir) const noexcept
 
void Flux (ConservativeArray &flux, const CompleteArray &state, Direction dir) const noexcept
 

Static Public Member Functions

static constexpr int Rank () noexcept
 

Public Attributes

double gravity_
 

Member Typedef Documentation

◆ Complete

◆ CompleteArray

◆ CompleteDepths

◆ Conservative

◆ ConservativeArray

◆ ConservativeDepths

Member Function Documentation

◆ Flux() [1/2]

void fub::ShallowWater::Flux ( Conservative flux,
const Complete state,
Direction  dir 
) const
noexcept

◆ Flux() [2/2]

void fub::ShallowWater::Flux ( ConservativeArray flux,
const CompleteArray state,
Direction  dir 
) const
noexcept

◆ Rank()

static constexpr int fub::ShallowWater::Rank ( )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ gravity_

double fub::ShallowWater::gravity_

The documentation for this struct was generated from the following file: