3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Functions
facetensoraverage.hh File Reference

A free function to average a Tensor at an interface. More...

#include <dune/common/fmatrix.hh>
#include <dumux/common/math.hh>

Go to the source code of this file.

Description

A free function to average a Tensor at an interface.

Namespaces

namespace  Dumux
 

Functions

template<class Scalar , int dim>
Scalar Dumux::faceTensorAverage (const Scalar T1, const Scalar T2, const Dune::FieldVector< Scalar, dim > &normal)
 Average of a discontinuous scalar field at discontinuity interface (for compatibility reasons with the function below) More...
 
template<class Scalar , int dim>
Dune::FieldMatrix< Scalar, dim > Dumux::faceTensorAverage (const Dune::FieldMatrix< Scalar, dim > &T1, const Dune::FieldMatrix< Scalar, dim > &T2, const Dune::FieldVector< Scalar, dim > &normal)
 Average of a discontinuous tensorial field at discontinuity interface. More...
 
Include dependency graph for facetensoraverage.hh: