version 3.8.0
Loading...
Searching...
No Matches
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.

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.
 
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.
 
template<class PrimaryVariables , class CellCenterPrimaryVariables >
StaggeredElementSolution< PrimaryVariables > Dumux::makeElementSolutionFromCellCenterPrivars (const CellCenterPrimaryVariables &cellCenterPriVars)
 Helper function to create an elementSolution from cell center primary variables.