CFL
Public Member Functions | List of all members
cfl::IInd Class Referenceabstract

Interface class for one-dimensional indicator function. More...

#include <cfl/Ind.hpp>

Public Member Functions

virtual ~IInd ()
 
virtual void indicator (std::valarray< double > &rValues, double dBarrier) const =0
 

Detailed Description

This is the abstract class for one-dimensional indicator function. Its implementation is used to construct concrete class Ind. The goal is to accelerate the numerical integration of discontinuous functions.

See also
Ind and NInd

Constructor & Destructor Documentation

virtual cfl::IInd::~IInd ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

virtual void cfl::IInd::indicator ( std::valarray< double > &  rValues,
double  dBarrier 
) const
pure virtual

Constructs the indicator function of the event: "the function is greater then the barrier". It is going to be used to represent discontinuous functions and is intended to accelerate numerical integration of these functions.

Parameters
rValuesBefore the operation this array represents the values of the function on a grid. After the operation it contains the values of the event "the function is greater than the barrier".
dBarrierThe level of the barrier.

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