#include <SGrid.hpp>
Inheritance diagram for GridInterpolation< 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. | |
| GridInterpolation (MultiVector< T > &the_dst, Array< double > &the_dst_shifts, Array< double > &the_src_shifts, int the_vec_no=0, bool is_const_near_bnd=0) | |
| Specifies all the data explicitly. | |
| GridInterpolation (MultiVector< T > &the_dst, double the_dst_shift, Array< double > &the_src_shifts, int the_vec_no=0, bool is_const_near_bnd=0) | |
| Specifies equal sparse grid shifts. | |
| GridInterpolation (MultiVector< T > &the_dst, Array< double > &the_dst_shifts, double the_src_shift=0, int the_vec_no=0, bool is_const_near_bnd=0) | |
| Specifies equal partial solution's grid shifts. | |
| GridInterpolation (MultiVector< T > &the_dst, double the_dst_shift=0, double the_src_shift=0, int the_vec_no=0, int vec_size=1, bool is_const_near_bnd=0) | |
| Specifies equal shifts. | |
| virtual | ~GridInterpolation () |
| Virtual destructor. | |
This accumulator works with different types of grids: those having the dofs in the nodes, containing the boundary nodes or not, and those that with the dofs in the centers of the cells or on the cell edges/sides. The type of the grid is specified by the array of the shifts of the first/last grid points from the boundary: For every dimension there is the value specifying this shift in the units of the grid step. The possible values are in particular 0 for the node-centered grids with the boundary nodes, 0.5 for the cell-centered grids, 1 for the node-centered grids without the boundary nodes.
| GridInterpolation< T >::GridInterpolation | ( | MultiVector< T > & | the_dst, | |
| Array< double > & | the_dst_shifts, | |||
| Array< double > & | the_src_shifts, | |||
| int | the_vec_no = 0, |
|||
| bool | is_const_near_bnd = 0 | |||
| ) | [inline] |
Specifies all the data explicitly.
| [in] | the_dst | To accumulate the sparse grid solution in |
| [in] | the_dst_shifts | The shifts of 'the_dst' grid |
| [in] | the_src_shifts | The shifts of partial solution |
| [in] | the_vec_no | The index of the grid function |
| [in] | is_const_near_bnd | s. above |
| GridInterpolation< T >::GridInterpolation | ( | MultiVector< T > & | the_dst, | |
| double | the_dst_shift, | |||
| Array< double > & | the_src_shifts, | |||
| int | the_vec_no = 0, |
|||
| bool | is_const_near_bnd = 0 | |||
| ) | [inline] |
Specifies equal sparse grid shifts.
| [in] | the_dst | To accumulate the sparse grid solution in |
| [in] | the_dst_shift | The shifts of 'the_dst' grid |
| [in] | the_src_shifts | The shifts of partial solution |
| [in] | the_vec_no | The index of the grid function |
| [in] | is_const_near_bnd | s. above |
| GridInterpolation< T >::GridInterpolation | ( | MultiVector< T > & | the_dst, | |
| Array< double > & | the_dst_shifts, | |||
| double | the_src_shift = 0, |
|||
| int | the_vec_no = 0, |
|||
| bool | is_const_near_bnd = 0 | |||
| ) | [inline] |
Specifies equal partial solution's grid shifts.
| [in] | the_dst | To accumulate the sparse grid solution in |
| [in] | the_dst_shifts | The shifts of 'the_dst' grid |
| [in] | the_src_shift | The shifts of partial solution |
| [in] | the_vec_no | The index of the grid function |
| [in] | is_const_near_bnd | s. above |
| GridInterpolation< T >::GridInterpolation | ( | MultiVector< T > & | the_dst, | |
| double | the_dst_shift = 0, |
|||
| double | the_src_shift = 0, |
|||
| int | the_vec_no = 0, |
|||
| int | vec_size = 1, |
|||
| bool | is_const_near_bnd = 0 | |||
| ) | [inline] |
Specifies equal shifts.
| [in] | the_dst | To accumulate the sparse grid solution in |
| [in] | the_dst_shift | The shifts of 'the_dst' grid |
| [in] | the_src_shift | The shifts of partial solution |
| [in] | the_vec_no | # of the grid function in the GridVec's |
| [in] | vec_size | Number of dofs in a grid point |
| [in] | is_const_near_bnd | s. above |
| virtual GridInterpolation< T >::~GridInterpolation | ( | ) | [inline, virtual] |
Virtual destructor.
| void GridInterpolation< T >::Rewind | ( | ) | [inline, virtual] |
| void GridInterpolation< 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