3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Typedefs | Functions
staggered/elementsolution.hh File Reference

The local element solution class for staggered methods. More...

#include <type_traits>
#include <dune/istl/bvector.hh>
#include <dumux/discretization/method.hh>

Go to the source code of this file.

Description

The local element solution class for staggered methods.

Namespaces

namespace  Dumux
 make the local view function available whenever we use the grid geometry
 

Typedefs

template<class PrimaryVariables >
using Dumux::StaggeredElementSolution = Dune::BlockVector< PrimaryVariables >
 

Functions

template<class PrimaryVariables , class CellCenterPrimaryVariables >
PrimaryVariables Dumux::makePriVarsFromCellCenterPriVars (const CellCenterPrimaryVariables &cellCenterPriVars)
 Helper function to create a PrimaryVariables object from CellCenterPrimaryVariables. More...
 
template<class FVElementGeometry , class PrimaryVariables >
auto Dumux::elementSolution (PrimaryVariables &&priVars) -> std::enable_if_t< FVElementGeometry::GridGeometry::discMethod==DiscretizationMethod::cctpfa||FVElementGeometry::GridGeometry::discMethod==DiscretizationMethod::ccmpfa, CCElementSolution< FVElementGeometry, PrimaryVariables > >
 Make an element solution for cell-centered schemes. More...
 
template<class PrimaryVariables , class CellCenterPrimaryVariables >
StaggeredElementSolution< PrimaryVariables > Dumux::makeElementSolutionFromCellCenterPrivars (const CellCenterPrimaryVariables &cellCenterPriVars)
 Helper function to create an elementSolution from cell center primary variables. More...
 
Include dependency graph for staggered/elementsolution.hh: