mbsim 4.0.0 MBSim Kernel

Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MBSim::GaussLegendreQuadrature< Ret > Class Template Reference

## Public Member Functions

| GaussLegendreQuadrature (fmatvec::Function< Ret(double)> *function, int dimension, int subIntegrals=1, int Nb=3)
const Ret | integrate (double l, double u)
| function to integrate a MBSim-Function numerically using the gaussian quadrature More...
void | setSubIntegrals (int subInts_)

## Public Attributes

fmatvec::Function< Ret(double)> * | function
| function to integrate
int | dim
| dimension of the result
size_t | subIntegrals
| number of integrals the original one should be split to
size_t | Nb
| number of gauss points that should be used

## Protected Member Functions

const Ret | integrateSingle (double l, double u)

## Member Function Documentation

## ◆ integrate()

template<class Ret >

const Ret MBSim::GaussLegendreQuadrature< Ret >::integrate | ( | double | l,
|  | double | u
| ) |  |

inline

function to integrate a MBSim-Function numerically using the gaussian quadrature

Parameters

  function1 | the function that should be integrated
  l | the lower bound of the integral
  u | the upper bound of the integral

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

- /mbsim-env/mbsim/kernel/mbsim/numerics/gaussian_quadratur.h