version 3.11-dev
Loading...
Searching...
No Matches

The local element solution class for control-volume finite element methods.

#include <type_traits>
#include <dune/common/reservedvector.hh>
#include <dumux/common/typetraits/localdofs_.hh>
#include <dumux/discretization/method.hh>
#include <dumux/discretization/cvfe/localdof.hh>

Go to the source code of this file.

Classes

class  Dumux::CVFEElementSolution< FVElementGeometry, PV >
 The element solution vector. More...

Namespaces

namespace  Dumux
namespace  Dumux::Detail

Typedefs

template<class ElementVariables>
using Dumux::Detail::PrimaryVariables_t = typename decltype(primaryVariablesType<ElementVariables>())::type

Functions

template<class ElementVariables>
constexpr auto Dumux::Detail::primaryVariablesType ()
template<class Element, class SolutionVector, class GridGeometry>
auto Dumux::elementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gg) -> std::enable_if_t< DiscretizationMethods::isCVFE< typename GridGeometry::DiscretizationMethod >, CVFEElementSolution< typename GridGeometry::LocalView, std::decay_t< decltype(std::declval< SolutionVector >()[0])> > >
 Make an element solution for control-volume finite element schemes.
template<class Element, class ElementVariables, class FVElementGeometry>
auto Dumux::elementSolution (const Element &element, const ElementVariables &elemVars, const FVElementGeometry &gg) -> std::enable_if_t< DiscretizationMethods::isCVFE< typename FVElementGeometry::GridGeometry::DiscretizationMethod > &&!std::is_void_v< Detail::PrimaryVariables_t< ElementVariables > >, CVFEElementSolution< FVElementGeometry, Detail::PrimaryVariables_t< ElementVariables > > >
 Make an element solution for control-volume finite element schemes.