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

1D, 2D and 3D interpolation matrix creation functions on X-point topology More...

#include "interpolation.h"
#include "gridX.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 >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const thrust::host_vector< real_type > &x, const RealGridX1d< real_type > &g)
 Create interpolation matrix. More...
 
template<class real_type >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const thrust::host_vector< real_type > &x, const thrust::host_vector< real_type > &y, const aRealTopologyX2d< real_type > &g, dg::bc globalbcz=dg::NEU)
 Create interpolation matrix. More...
 
template<class real_type >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const thrust::host_vector< real_type > &x, const thrust::host_vector< real_type > &y, const thrust::host_vector< real_type > &z, const aRealTopologyX3d< real_type > &g, dg::bc globalbcz=dg::NEU)
 Create interpolation matrix. More...
 
template<class real_type >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const RealGridX1d< real_type > &g_new, const RealGridX1d< real_type > &g_old)
 Create interpolation between two grids. More...
 
template<class real_type >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const aRealTopologyX2d< real_type > &g_new, const aRealTopologyX2d< real_type > &g_old)
 Create interpolation between two grids. More...
 
template<class real_type >
cusp::coo_matrix< int, real_type, cusp::host_memory > dg::create::interpolation (const aRealTopologyX3d< real_type > &g_new, const aRealTopologyX3d< real_type > &g_old)
 Create interpolation between two grids. More...
 
template<class real_type >
thrust::host_vector< real_type > dg::create::forward_transform (const thrust::host_vector< real_type > &in, const aRealTopologyX2d< real_type > &g)
 Transform a vector from XSPACE to LSPACE. More...
 
template<class real_type >
real_type dg::interpolate (dg::space sp, const thrust::host_vector< real_type > &v, real_type x, real_type y, const aRealTopologyX2d< real_type > &g, dg::bc bcx=dg::NEU, dg::bc bcy=dg::NEU)
 Interpolate a vector on a single point on a 2d Grid. More...
 

Detailed Description

1D, 2D and 3D interpolation matrix creation functions on X-point topology