NormalIntegration_CC< T > Class Template Reference

The following class implements the 'normal integration' method. More...

#include <IntegroFunc.hpp>

List of all members.

Public Member Functions

void PrintParam ()
 Prints the name and the main parameters of the method.
void PreProcess (Kernel_CC< T > &the_kernel, MultiArray< T > &u)
 Computes the integration matrix.
void AddIntegral (T factor, MultiArray< T > &u, MultiArray< T > &integral, MultiArray< T > *x_factor=NULL)
 Computes the integral for a given 'u', multiplies it by a given factor and adds to a given vector.
void PostProcess ()
 Releases the allocated memory, ...


Detailed Description

template<typename T>
class NormalIntegration_CC< T >

The following class implements the 'normal integration' method.

The dence matrix of the discretized integration operator is computed and saved, and in every computation of the integral, the cell-centered grid function 'v' is multiplied by this matrix.


Member Function Documentation

template<typename T>
void NormalIntegration_CC< T >::PrintParam (  ) 

Prints the name and the main parameters of the method.

template<typename T>
void NormalIntegration_CC< T >::PreProcess ( Kernel_CC< T > &  the_kernel,
MultiArray< T > &  u 
) [inline]

Computes the integration matrix.

Parameters:
[in] the_kernel The kernel to preprocess the method for
[in] u The grid function in the integrand
Note:
Only the grid sizes from 'u' are used. Thus, the values of the function do not need to be initialized.

template<typename T>
void NormalIntegration_CC< T >::AddIntegral ( factor,
MultiArray< T > &  u,
MultiArray< T > &  integral,
MultiArray< T > *  x_factor = NULL 
) [inline]

Computes the integral for a given 'u', multiplies it by a given factor and adds to a given vector.

If x_factor != NULL then the function multiplies the computed integral also by the given grid function * x_factor. The values of this grid function should correspond to the grid-cell centers of the grid

Parameters:
[in] factor The factor to multiply the integral by
[in] u The grid function in the integrand
[in] integral To add the integral to
[in] x_factor The factor that depends on 'x' only

template<typename T>
void NormalIntegration_CC< T >::PostProcess (  )  [inline]

Releases the allocated memory, ...


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