Discontinuous Galerkin Library
#include "dg/algorithm.h"
stencil.h File Reference

Stencil generation. More...

#include <cusp/coo_matrix.h>
#include "xspacelib.h"
#include "mpi_projection.h"

Go to the source code of this file.

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 
namespace  dg::create
 Contains functions used for matrix creation.
 

Functions

template<class real_type >
dg::IHMatrix_t< real_type > dg::create::window_stencil (unsigned window_size, const RealGrid1d< real_type > &g, dg::bc bcx)
 A 1d centered window stencil. More...
 
template<class real_type >
dg::IHMatrix_t< real_type > dg::create::limiter_stencil (const RealGrid1d< real_type > &g, dg::bc bound)
 A stencil for the dg Slope limiter. More...
 
template<class real_type >
dg::IHMatrix_t< real_type > dg::create::window_stencil (std::array< int, 2 > window_size, const aRealTopology2d< real_type > &g, dg::bc bcx, dg::bc bcy)
 A 2d centered window stencil. More...
 
template<class real_type >
dg::IHMatrix_t< real_type > dg::create::limiter_stencil (enum coo3d direction, const aRealTopology2d< real_type > &g, dg::bc bound)
 A stencil for the dg Slope limiter. More...
 
template<class real_type >
dg::IHMatrix_t< real_type > dg::create::limiter_stencil (enum coo3d direction, const aRealTopology3d< real_type > &g, dg::bc bound)
 A stencil for the dg Slope limiter. More...
 
template<class real_type >
dg::IHMatrix_t< real_type > dg::create::window_stencil (std::array< int, 2 > window_size, const aRealTopology3d< real_type > &g, dg::bc bcx, dg::bc bcy)
 A 2d centered window stencil. More...
 
template<class real_type >
dg::MIHMatrix_t< real_type > dg::create::window_stencil (std::array< int, 2 > window_size, const aRealMPITopology2d< real_type > &g, dg::bc bcx, dg::bc bcy)
 A 2d centered window stencil. More...
 
template<class real_type >
dg::MIHMatrix_t< real_type > dg::create::window_stencil (std::array< int, 2 > window_size, const aRealMPITopology3d< real_type > &g, dg::bc bcx, dg::bc bcy)
 A 2d centered window stencil. More...
 
template<class real_type >
dg::MIHMatrix_t< real_type > dg::create::limiter_stencil (enum coo3d direction, const aRealMPITopology2d< real_type > &g, dg::bc bound)
 A stencil for the dg Slope limiter. More...
 
template<class real_type >
dg::MIHMatrix_t< real_type > dg::create::limiter_stencil (enum coo3d direction, const aRealMPITopology3d< real_type > &g, dg::bc bound)
 A stencil for the dg Slope limiter. More...
 

Detailed Description

Stencil generation.