#include <IntegroFunc.hpp>
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, ... | |
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.
| void NormalIntegration_CC< T >::PrintParam | ( | ) |
Prints the name and the main parameters of the method.
| void NormalIntegration_CC< T >::PreProcess | ( | Kernel_CC< T > & | the_kernel, | |
| MultiArray< T > & | u | |||
| ) | [inline] |
Computes the integration matrix.
| [in] | the_kernel | The kernel to preprocess the method for |
| [in] | u | The grid function in the integrand |
| void NormalIntegration_CC< T >::AddIntegral | ( | T | 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
| [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 |
| void NormalIntegration_CC< T >::PostProcess | ( | ) | [inline] |
Releases the allocated memory, ...
1.5.2