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


Public Member Functions | |
| T & | Solution () |
| Returns the reference to the solution. | |
| void | Rewind () |
| Sets the values to zero. | |
| void | AddGridVec (T factor, GridVec< T > &vec) |
| Adds a grid function to the current combination. | |
| InterpolationAtPoint (int the_size, Array< double > &the_position, Array< double > &the_shifts, int the_vec_no=0) | |
| InterpolationAtPoint (int the_size, Array< double > &the_position, double the_shift=0, int the_vec_no=0) | |
| virtual | ~InterpolationAtPoint () |
| 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.
| InterpolationAtPoint< T >::InterpolationAtPoint | ( | int | the_size, | |
| Array< double > & | the_position, | |||
| Array< double > & | the_shifts, | |||
| int | the_vec_no = 0 | |||
| ) | [inline] |
| InterpolationAtPoint< T >::InterpolationAtPoint | ( | int | the_size, | |
| Array< double > & | the_position, | |||
| double | the_shift = 0, |
|||
| int | the_vec_no = 0 | |||
| ) | [inline] |
| virtual InterpolationAtPoint< T >::~InterpolationAtPoint | ( | ) | [inline, virtual] |
Virtual destructor.
| T& InterpolationAtPoint< T >::Solution | ( | ) | [inline] |
Returns the reference to the solution.
| void InterpolationAtPoint< T >::Rewind | ( | ) | [inline, virtual] |
| void InterpolationAtPoint< 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