version 3.11-dev
Loading...
Searching...
No Matches
Dumux::Experimental::EmptyPointSources Struct Reference

Empty point sources. More...

#include <dumux/common/pointsources.hh>

Description

Provides the full contexts/eval interface expected by assembly, but contexts always returns an empty span so nothing is ever evaluated.

Classes

struct  Context
 Dummy context type satisfying the assembly interface. More...

Public Member Functions

constexpr bool empty () const
template<class ElementDiscretization>
std::span< const Context > contexts (const ElementDiscretization &, const typename ElementDiscretization::SubControlVolume &) const
template<class ElementDiscretization>
std::span< const Context > contexts (const ElementDiscretization &, const typename ElementDiscretization::Element &) const
template<class ElementDiscretization, class ElementVariables>
auto eval (const ElementDiscretization &, const ElementVariables &, const Context &) const

Member Function Documentation

◆ contexts() [1/2]

template<class ElementDiscretization>
std::span< const Context > Dumux::Experimental::EmptyPointSources::contexts ( const ElementDiscretization & ,
const typename ElementDiscretization::Element &  ) const
inline

◆ contexts() [2/2]

template<class ElementDiscretization>
std::span< const Context > Dumux::Experimental::EmptyPointSources::contexts ( const ElementDiscretization & ,
const typename ElementDiscretization::SubControlVolume &  ) const
inline

◆ empty()

bool Dumux::Experimental::EmptyPointSources::empty ( ) const
inlineconstexpr

◆ eval()

template<class ElementDiscretization, class ElementVariables>
auto Dumux::Experimental::EmptyPointSources::eval ( const ElementDiscretization & ,
const ElementVariables & ,
const Context &  ) const
inline

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