Dune Core Modules (2.4.1)

Dune::VirtualFunction< DomainType, RangeType > Class Template Referenceabstract

Virtual base class template for function classes. More...

#include <dune/common/function.hh>

Public Types

typedef RawRangeType RangeType
 Raw type of input variable with removed reference and constness.
 
typedef RawDomainType DomainType
 Raw type of output variable with removed reference and constness.
 

Public Member Functions

virtual void evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const =0
 Function evaluation. More...
 

Detailed Description

template<class DomainType, class RangeType>
class Dune::VirtualFunction< DomainType, RangeType >

Virtual base class template for function classes.

Template Parameters
DomainTypeThe type of the input variable is 'const DomainType &'
RangeTypeThe type of the output variable is 'RangeType &'

Member Function Documentation

◆ evaluate()

template<class DomainType , class RangeType >
virtual void Dune::VirtualFunction< DomainType, RangeType >::evaluate ( const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
pure virtual

Function evaluation.

Parameters
xArgument for function evaluation.
yResult of function evaluation.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)