SPH
|
Object for integrating a generic three-dimensional scalar function. More...
#include <Functional.h>
Public Member Functions | |
Integrator (const IDomain &domain) | |
Constructs an integrator given the domain of integration. More... | |
Integrator (IDomain &&domain)=delete | |
template<typename TFunctor > | |
Float | integrate (TFunctor &&f, const Float targetError=0.001_f) |
Integrates a function. More... | |
![]() | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Object for integrating a generic three-dimensional scalar function.
Definition at line 36 of file Functional.h.
|
inline |
Constructs an integrator given the domain of integration.
Definition at line 45 of file Functional.h.
|
delete |
|
inline |
Integrates a function.
f | Functor with a Vector parameter, returning the integral as a scalar value |
Definition at line 54 of file Functional.h.