Interface class for one-dimensional indicator function.
More...
#include <cfl/Ind.hpp>
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
virtual cfl::IInd::~IInd |
( |
| ) |
|
|
inlinevirtual |
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
-
rValues | Before 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". |
dBarrier | The level of the barrier. |
The documentation for this class was generated from the following file: