Structure for stencil iterator.  
 More...
template<unsigned int dim, unsigned int Np>
struct stencil_offset_compute< dim, Np >
Structure for stencil iterator. 
- Template Parameters
 - 
  
    | Np | number of stencil points  | 
  
   
Definition at line 18 of file stencil_type.hpp.
 
#include <stencil_type.hpp>
 | 
| 
static const unsigned int  | nsp = Np | 
|   | Number of stencil points. 
  | 
|   | 
template<unsigned int dim, unsigned int Np> 
template<typename ginfo > 
 
Adjust the offset. 
- Parameters
 - 
  
    | i | component  | 
    | idr | component  | 
    | grid_base | obbect containing the grid informations  | 
  
   
Definition at line 116 of file stencil_type.hpp.
 
 
template<unsigned int dim, unsigned int Np> 
template<unsigned int dim2, typename ginfo > 
 
Calculate the offsets of the stencil points. 
- Parameters
 - 
  
    | g | object storing the grid information  | 
    | start_p | starting point where we calculate the stencil offsets  | 
  
   
Definition at line 61 of file stencil_type.hpp.
 
 
template<unsigned int dim, unsigned int Np> 
template<unsigned int dim2, typename ginfo > 
 
Calculate the offsets of the stencil points. 
- Template Parameters
 - 
  
    | dim | dimensionality  | 
    | ginfo | grid information object | 
  
   
- Parameters
 - 
  
    | g | information of the grid  | 
    | start_p | starting point  | 
    | stencil_pnt | stencil points in the grid  | 
  
   
Definition at line 85 of file stencil_type.hpp.
 
 
template<unsigned int dim, unsigned int Np> 
template<unsigned int id> 
 
Get the calculated stencil offset. 
- Template Parameters
 - 
  
  
 
- Returns
 - the point 
 
Definition at line 48 of file stencil_type.hpp.
 
 
template<unsigned int dim, unsigned int Np> 
 
 
template<unsigned int dim, unsigned int Np> 
 
Sum a template constant. 
- Parameters
 - 
  
    | tot_add | Add an offset to all the pointer  | 
  
   
Definition at line 142 of file stencil_type.hpp.
 
 
template<unsigned int dim, unsigned int Np> 
template<unsigned int tot_add> 
 
 
template<unsigned int dim, unsigned int Np> 
template<unsigned int dim2> 
 
 
The documentation for this struct was generated from the following file: