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


Public Member Functions | |
| int | SetZero (const int lev) |
| int | Combine (Array< Array< int > > &types, Array< double > &coord, Array< double > &val) |
| Interpolates the array of sparse grids at point coord to val. | |
| int | Combine (Array< int > &types, Array< double > &coord, double &val) |
| Interpolates the scalar sparse grid at point coord to val. | |
| int | Combine (Array< Array< int > > &types, GridVec< double > &grid) |
| Interpolates from sparse grid to cartesian grid. | |
| int | Combine (Array< int > &type, GridVec< double > &grid) |
| int | Combine (Array< bool > &mask, Array< Array< int > > &types, Array< double > &coord, GridVec< double > &grid) |
| Interpolates from sparse grid to lower-dimensional cartesian grid, eg for plotting of cuts the coordinates i with mask[i] = 0 are left constant at coord[i]. | |
| int | Combine (double &val) |
| For an integration problem the sparse grid is combined to val. | |
| int | Write (char *file) |
| Write the sparse grid into a file. | |
| int | Read (char *file) |
| Read the sparse grid from a file. | |
| template<> | |
| int | Combine (Array< Array< int > > &types, Array< double > &coord, Array< double > &val) |
| template<> | |
| int | Combine (Array< int > &type, Array< double > &coord, double &val) |
| template<> | |
| int | Combine (Array< Array< int > > &types, GridVec< double > &grid) |
| template<> | |
| int | Combine (Array< int > &type, GridVec< double > &grid) |
| template<> | |
| int | Combine (Array< bool > &mask, Array< Array< int > > &types, Array< double > &coord, GridVec< double > &grid) |
| template<> | |
| int | Combine (double &val) |
Based on the GridTable , it implements adaptive refinement, updating of active set,... provides an interface for exchange of grids/solutions with the PDE solver, integration routine...
| int SparseGrid< T >::SetZero | ( | const int | lev | ) | [inline] |
| int SparseGrid< T >::Combine | ( | Array< Array< int > > & | types, | |
| Array< double > & | coord, | |||
| Array< double > & | val | |||
| ) |
Interpolates the array of sparse grids at point coord to val.
| int SparseGrid< T >::Combine | ( | Array< int > & | types, | |
| Array< double > & | coord, | |||
| double & | val | |||
| ) |
Interpolates the scalar sparse grid at point coord to val.
| int SparseGrid< T >::Combine | ( | Array< Array< int > > & | types, | |
| GridVec< double > & | grid | |||
| ) |
Interpolates from sparse grid to cartesian grid.
| int SparseGrid< T >::Combine | ( | Array< int > & | type, | |
| GridVec< double > & | grid | |||
| ) |
| int SparseGrid< T >::Combine | ( | Array< bool > & | mask, | |
| Array< Array< int > > & | types, | |||
| Array< double > & | coord, | |||
| GridVec< double > & | grid | |||
| ) |
Interpolates from sparse grid to lower-dimensional cartesian grid, eg for plotting of cuts the coordinates i with mask[i] = 0 are left constant at coord[i].
| int SparseGrid< T >::Combine | ( | double & | val | ) |
For an integration problem the sparse grid is combined to val.
| int SparseGrid< T >::Write | ( | char * | file | ) | [inline] |
Write the sparse grid into a file.
| int SparseGrid< T >::Read | ( | char * | file | ) | [inline] |
Read the sparse grid from a file.
| int SparseGrid< GridVec< double > >::Combine | ( | Array< Array< int > > & | types, | |
| Array< double > & | coord, | |||
| Array< double > & | val | |||
| ) | [inline] |
| int SparseGrid< GridVec< double > >::Combine | ( | Array< int > & | type, | |
| Array< double > & | coord, | |||
| double & | val | |||
| ) | [inline] |
| int SparseGrid< GridVec< double > >::Combine | ( | Array< Array< int > > & | types, | |
| GridVec< double > & | grid | |||
| ) | [inline] |
| int SparseGrid< GridVec< double > >::Combine | ( | Array< int > & | type, | |
| GridVec< double > & | grid | |||
| ) | [inline] |
| int SparseGrid< GridVec< double > >::Combine | ( | Array< bool > & | mask, | |
| Array< Array< int > > & | types, | |||
| Array< double > & | coord, | |||
| GridVec< double > & | grid | |||
| ) | [inline] |
| int SparseGrid< double >::Combine | ( | double & | val | ) | [inline] |
1.5.2