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


Public Member Functions | |
| virtual void | CreateGridVec (Array< int > &position, GridVec< T > &vec)=0 |
| User-defined function that resets the sizes of the grid function assinged to a given grid table position. | |
| virtual GridVec< T > & | Solution (GridVec< T > &vec) |
| User-defined function that returns the reference to the solution kept in the contents of a given grid table entry. | |
| virtual void | InitSolution (GridVec< T > &sol) |
| User-defined function that initializes the grid function, for ex. sets the initial conditions. This function should not return any value but may throw an exception on an error. | |
| virtual void | ComputeSolution (GridVec< T > &sol) |
| SparseGridTable () | |
| The dummy constructor. | |
| SparseGridTable (int the_dim, int max_level=0) | |
| Creates a blank table. | |
| SparseGridTable< T >::SparseGridTable | ( | ) | [inline] |
The dummy constructor.
| SparseGridTable< T >::SparseGridTable | ( | int | the_dim, | |
| int | max_level = 0 | |||
| ) | [inline] |
Creates a blank table.
| [in] | the_dim | The dimensionality |
| [in] | max_level | The finest level |
| virtual void SparseGridTable< T >::CreateGridVec | ( | Array< int > & | position, | |
| GridVec< T > & | vec | |||
| ) | [pure virtual] |
User-defined function that resets the sizes of the grid function assinged to a given grid table position.
By this function the user provides the method of translation of the positions to grid sizes
| [in] | position | Position in the grid table |
| [in] | vec | The grid function to reset |
Implements SGridTable< T, GridVec< T > >.
| virtual GridVec<T>& SparseGridTable< T >::Solution | ( | GridVec< T > & | vec | ) | [inline, virtual] |
User-defined function that returns the reference to the solution kept in the contents of a given grid table entry.
| [in] | vec | The entry of the grid table |
Implements SGridTable< T, GridVec< T > >.
| virtual void SparseGridTable< T >::InitSolution | ( | GridVec< T > & | sol | ) | [inline, virtual] |
User-defined function that initializes the grid function, for ex. sets the initial conditions. This function should not return any value but may throw an exception on an error.
| [in] | sol | The grid function to place the solution in |
Reimplemented from SGridTable< T, GridVec< T > >.
| virtual void SparseGridTable< T >::ComputeSolution | ( | GridVec< T > & | sol | ) | [inline, virtual] |
User-defined function that computes the solution on one grid. This function should not return any value but may throw an exception on an error.
| [in] | sol | The grid function to place the solution in |
Reimplemented from SGridTable< T, GridVec< T > >.
1.5.2