#include <SGrid.hpp>
Inheritance diagram for GridConstInterpolation< T >:


Public Member Functions | |
| void | Rewind () |
| Sets the values to zero. | |
| void | AddGridVec (T factor, GridVec< T > &vec) |
| Adds a grid function to the current combination. | |
| GridConstInterpolation (MultiVector< T > &the_dst, int the_vec_no=0, int ipc=0) | |
| Constructor. | |
Considers the given grid function as a cell-centered grid function with the constant values over the grid cells. This function is mapped to the another cell-centered cellwise constant grid function by the averaging the values over the cells.
| GridConstInterpolation< T >::GridConstInterpolation | ( | MultiVector< T > & | the_dst, | |
| int | the_vec_no = 0, |
|||
| int | ipc = 0 | |||
| ) | [inline] |
Constructor.
| [in] | the_dst | To accumulate the sparse grid solution in |
| [in] | the_vec_no | # of the grid function in the GridVec's |
| [in] | ipc | Number of the free indices per grid cell |
| void GridConstInterpolation< T >::Rewind | ( | ) | [inline, virtual] |
| void GridConstInterpolation< T >::AddGridVec | ( | T | factor, | |
| GridVec< T > & | vec | |||
| ) | [inline, virtual] |
Adds a grid function to the current combination.
| [in] | factor | The factor to multiply the grid function by |
| [in] | vec | The grid function to add |
Implements GridVecInterpolation< T >.
1.5.2