SGridCombTechn< T, t_entry > Class Template Reference

Combination technique base class template. More...

#include <SGrid.hpp>

Inheritance diagram for SGridCombTechn< T, t_entry >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void PrepareGridTable (int level)=0
 Adds necessary levels, computes the factors.
void Combine (GridVecInterpolation< T > &sol_accumulator)
 Performs the combination technique.
 SGridCombTechn (SGridTable< T, t_entry > &the_grid_table)
 Constructor.
virtual ~SGridCombTechn ()
 Virtual destructor.

Protected Attributes

SGridTable< T, t_entry > & grid_table

Detailed Description

template<typename T, class t_entry>
class SGridCombTechn< T, t_entry >

Combination technique base class template.


Constructor & Destructor Documentation

template<typename T, class t_entry>
SGridCombTechn< T, t_entry >::SGridCombTechn ( SGridTable< T, t_entry > &  the_grid_table  )  [inline]

Constructor.

template<typename T, class t_entry>
virtual SGridCombTechn< T, t_entry >::~SGridCombTechn (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T, class t_entry>
virtual void SGridCombTechn< T, t_entry >::PrepareGridTable ( int  level  )  [pure virtual]

Adds necessary levels, computes the factors.

Parameters:
[in] level The level for which the solution should be computed

Implemented in SGridCombTechn2o< T, t_entry >.

template<typename T, class t_entry>
void SGridCombTechn< T, t_entry >::Combine ( GridVecInterpolation< T > &  sol_accumulator  )  [inline]

Performs the combination technique.

Adds the grid functions in the grid tables multiplying them by the given factors

Parameters:
[in] sol_accumulator Solution accumulator
Note:
In parallel programs, this function collects the solution in the process with the rank 0.


Member Data Documentation

template<typename T, class t_entry>
SGridTable<T, t_entry>& SGridCombTechn< T, t_entry >::grid_table [protected]


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:32 2007 for SG2 by  doxygen 1.5.2