Opm::VtkTensorFunction< GridView, Mapper > Class Template Reference

Provides a tensor-valued function using Dune::FieldMatrix objects as elements. More...

#include <vtktensorfunction.hh>

Inheritance diagram for Opm::VtkTensorFunction< GridView, Mapper >:
Inheritance graph

Public Member Functions

 VtkTensorFunction (std::string_view name, const GridView &gridView, const Mapper &mapper, const TensorBuffer &buf, unsigned codim, unsigned matrixColumnIdx)
 
std::string name () const override
 
int ncomps () const override
 
double evaluate (int mycomp, const Element &e, const Dune::FieldVector< ctype, dim > &xi) const override
 

Detailed Description

template<class GridView, class Mapper>
class Opm::VtkTensorFunction< GridView, Mapper >

Provides a tensor-valued function using Dune::FieldMatrix objects as elements.

Constructor & Destructor Documentation

◆ VtkTensorFunction()

template<class GridView , class Mapper >
Opm::VtkTensorFunction< GridView, Mapper >::VtkTensorFunction ( std::string_view  name,
const GridView &  gridView,
const Mapper &  mapper,
const TensorBuffer &  buf,
unsigned  codim,
unsigned  matrixColumnIdx 
)
inline

Member Function Documentation

◆ evaluate()

template<class GridView , class Mapper >
double Opm::VtkTensorFunction< GridView, Mapper >::evaluate ( int  mycomp,
const Element &  e,
const Dune::FieldVector< ctype, dim > &  xi 
) const
inlineoverride

◆ name()

template<class GridView , class Mapper >
std::string Opm::VtkTensorFunction< GridView, Mapper >::name ( ) const
inlineoverride

◆ ncomps()

template<class GridView , class Mapper >
int Opm::VtkTensorFunction< GridView, Mapper >::ncomps ( ) const
inlineoverride

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