OneDIntegrator Class Reference

#include <OneDIntegrator.H>

List of all members.


Detailed Description

Gives an approximation to the numerical integral of a function over a region

Public Member Functions

 OneDIntegrator ()
 Default constructor.
virtual ~OneDIntegrator ()
 Default destructor.
Real integral (const RefCountedPtr< BaseOneDFunc > &a_func, const Real &a_xstart, const Real &a_xend, const int &a_num_bits) const

Constructor & Destructor Documentation

OneDIntegrator::OneDIntegrator (  )  [inline]

Default constructor.

virtual OneDIntegrator::~OneDIntegrator (  )  [inline, virtual]

Default destructor.


Member Function Documentation

Real OneDIntegrator::integral ( const RefCountedPtr< BaseOneDFunc > &  a_func,
const Real a_xstart,
const Real a_xend,
const int &  a_num_bits 
) const

integrate the function over the region dividing the by dividing up the region of integration into bits of fixed size = size/num_bits (midpoint rule)


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

Generated on Fri Apr 5 04:25:14 2019 for Chombo + EB by  doxygen 1.5.5