#include <BiTransfer.hpp>
Inheritance diagram for BiTransfer< T >:


Public Member Functions | |
| void | PrintParam () |
| Prints the name of the transfer object and (optionally) the parameters. | |
| virtual bool | ProperGrids (const Array< int > &p_domain_size, const Array< int > &p_range_size) |
| Returns true if the grid sizes may correspond to the domain and the range of the prolongation (or the range and the domain of the restriction). | |
| void | Prolong (MultiVector< T > &src, MultiVector< T > &dst) |
| Prolongs the coarse grid. | |
| void | Restrict (MultiVector< T > &src, MultiVector< T > &dst) |
| The restriction. | |
| BiTransfer (unsigned the_disp_type) | |
| Constructor which sets the display type. | |
The templates depend on a type T. This type should satisfy the conditions listed in small_matrix.hpp for small matrices.
| BiTransfer< T >::BiTransfer | ( | unsigned | the_disp_type | ) | [inline] |
Constructor which sets the display type.
| [in] | the_disp_type | The display type |
| void BiTransfer< T >::PrintParam | ( | ) | [inline, virtual] |
Prints the name of the transfer object and (optionally) the parameters.
Implements SysTransfer< T >.
| virtual bool BiTransfer< T >::ProperGrids | ( | const Array< int > & | p_domain_size, | |
| const Array< int > & | p_range_size | |||
| ) | [inline, virtual] |
Returns true if the grid sizes may correspond to the domain and the range of the prolongation (or the range and the domain of the restriction).
| [in] | p_domain_size | For the domain of the prolongation |
| [in] | p_range_size | For the range of the prolongation |
Implements Transfer< T >.
| void BiTransfer< T >::Prolong | ( | MultiVector< T > & | src, | |
| MultiVector< T > & | dst | |||
| ) | [inline, virtual] |
Prolongs the coarse grid.
This is implemented as computation of halved sums of manyfolds of the grid. We do it recursively and start with the manyfolds of the smallest dimensionality.
| [in] | src | The vector to prolong |
| [in] | dst | The result (the sizes must be initialized!) |
Implements Transfer< T >.
| void BiTransfer< T >::Restrict | ( | MultiVector< T > & | src, | |
| MultiVector< T > & | dst | |||
| ) | [inline, virtual] |
The restriction.
| [in] | src | The vector to restrict |
| [in] | dst | The result (the sizes must be initialized!) |
Implements Transfer< T >.
1.5.2