3.5-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
 

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==DiscretizationMethods::cctpfa||FVElementGeometry::GridGeometry::discMethod==DiscretizationMethods::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: