3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | List of all members
Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector > Class Template Reference

Calculates averaged values of the network solution. More...

#include <dumux/porenetwork/common/utilities.hh>

Description

template<class GridVariables, class SolutionVector>
class Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector >

Calculates averaged values of the network solution.

Public Member Functions

 AveragedValues (const GridVariables &gridVariables, const SolutionVector &sol)
 
void addAveragedQuantity (std::function< Scalar(const VolumeVariables &)> &&q, std::function< Scalar(const VolumeVariables &)> &&w, const std::string &name)
 
void eval (const std::vector< std::size_t > &dofsToNeglect=std::vector< std::size_t >())
 
const Scalar & operator[] (const std::string &name) const
 

Constructor & Destructor Documentation

◆ AveragedValues()

template<class GridVariables , class SolutionVector >
Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector >::AveragedValues ( const GridVariables &  gridVariables,
const SolutionVector &  sol 
)
inline

Member Function Documentation

◆ addAveragedQuantity()

template<class GridVariables , class SolutionVector >
void Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector >::addAveragedQuantity ( std::function< Scalar(const VolumeVariables &)> &&  q,
std::function< Scalar(const VolumeVariables &)> &&  w,
const std::string &  name 
)
inline

◆ eval()

template<class GridVariables , class SolutionVector >
void Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector >::eval ( const std::vector< std::size_t > &  dofsToNeglect = std::vector<std::size_t>())
inline

◆ operator[]()

template<class GridVariables , class SolutionVector >
const Scalar & Dumux::PoreNetwork::AveragedValues< GridVariables, SolutionVector >::operator[] ( const std::string &  name) const
inline

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