CC_Integral< T, Integrand > Class Template Reference

Integration as an interpolation class (for the sparse grids). More...

#include <CCIntegr.hpp>

Inheritance diagram for CC_Integral< T, Integrand >:

Inheritance graph
[legend]
Collaboration diagram for CC_Integral< T, Integrand >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Value () const
void Rewind ()
 Resets the value (for ex. sets it to zero).
void AddGridVec (T factor, GridVec< T > &vec)
 Adds a grid function to the current combination.
 CC_Integral (Integrand &the_kernel, int the_vec_no=0, int the_n_points=1)
 Constructor.

Detailed Description

template<typename T, class Integrand>
class CC_Integral< T, Integrand >

Integration as an interpolation class (for the sparse grids).

Integrates a partial solution considered as a cell-centered-grid function.


Constructor & Destructor Documentation

template<typename T, class Integrand>
CC_Integral< T, Integrand >::CC_Integral ( Integrand &  the_kernel,
int  the_vec_no = 0,
int  the_n_points = 1 
) [inline]

Constructor.

Parameters:
[in] the_kernel The integrand function
[in] the_vec_no The index of the grid function in the GridVec
[in] the_n_points Number of the gaussian points per dimension


Member Function Documentation

template<typename T, class Integrand>
T CC_Integral< T, Integrand >::Value (  )  const [inline]

template<typename T, class Integrand>
void CC_Integral< T, Integrand >::Rewind (  )  [inline, virtual]

Resets the value (for ex. sets it to zero).

Implements GridVecInterpolation< T >.

template<typename T, class Integrand>
void CC_Integral< T, Integrand >::AddGridVec ( factor,
GridVec< T > &  vec 
) [inline, virtual]

Adds a grid function to the current combination.

Parameters:
[in] factor The factor to multiply the grid function by
[in] vec The grid function to add

Implements GridVecInterpolation< T >.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:06 2007 for SG2 by  doxygen 1.5.2