|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Interpolation matrix creation functions. More...
#include "dg/backend/typedefs.h"#include "dg/backend/view.h"#include "grid.h"#include "evaluation.h"#include "functions.h"#include "operator_tensor.h"#include "xspacelib.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 RecursiveHostVector , class real_type , size_t Nd> | |
| dg::SparseMatrix< int, real_type, thrust::host_vector > | dg::create::interpolation (const RecursiveHostVector &x, const aRealTopology< real_type, Nd > &g, std::array< dg::bc, Nd > bcx, std::string method="dg") |
| Create interpolation matrix of a list of points in given grid. | |
| template<class host_vector , class real_type , typename = std::enable_if_t<dg::is_vector_v<host_vector>>> | |
| dg::SparseMatrix< int, real_type, thrust::host_vector > | dg::create::interpolation (const host_vector &x, const RealGrid1d< real_type > &g, dg::bc bcx=dg::NEU, std::string method="dg") |
| Create interpolation matrix. | |
| template<class host_vector , class real_type > | |
| dg::SparseMatrix< int, real_type, thrust::host_vector > | dg::create::interpolation (const host_vector &x, const host_vector &y, const aRealTopology2d< real_type > &g, dg::bc bcx=dg::NEU, dg::bc bcy=dg::NEU, std::string method="dg") |
| Create interpolation matrix. | |
| template<class host_vector , class real_type > | |
| dg::SparseMatrix< int, real_type, thrust::host_vector > | dg::create::interpolation (const host_vector &x, const host_vector &y, const host_vector &z, const aRealTopology3d< real_type > &g, dg::bc bcx=dg::NEU, dg::bc bcy=dg::NEU, dg::bc bcz=dg::PER, std::string method="dg") |
| Create interpolation matrix. | |
| template<class real_type , size_t Nd> | |
| dg::SparseMatrix< int, real_type, thrust::host_vector > | dg::create::interpolation (const aRealTopology< real_type, Nd > &g_new, const aRealTopology< real_type, Nd > &g_old, std::string method="dg") |
| Create interpolation between two grids. | |
| template<class host_vector , class real_type > | |
| real_type | dg::interpolate (dg::space sp, const host_vector &v, real_type x, const RealGrid1d< real_type > &g, dg::bc bcx=dg::NEU) |
| Interpolate a vector on a single point on a 1d Grid. | |
| template<class host_vector , class real_type > | |
| real_type | dg::interpolate (dg::space sp, const host_vector &v, real_type x, real_type y, const aRealTopology< real_type, 2 > &g, dg::bc bcx=dg::NEU, dg::bc bcy=dg::NEU) |
| Interpolate a vector on a single point on a 2d Grid. | |
Interpolation matrix creation functions.