Chombo + EB + MF  3.2
Public Member Functions | List of all members
OneDIntegrator Class Reference

#include <OneDIntegrator.H>

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

OneDIntegrator::OneDIntegrator ( )
inline

Default constructor.

virtual OneDIntegrator::~OneDIntegrator ( )
inlinevirtual

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: