|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
A matrix type for fast interpolations/projections. More...
#include <thrust/host_vector.h>#include "dg/backend/memory.h"#include "dg/backend/typedefs.h"#include "dg/enums.h"#include "dg/blas.h"#include "grid.h"#include "derivatives.h"#include "interpolation.h"#include "projection.h"#include "mpi_grid.h"#include "mpi_derivatives.h"Go to the source code of this file.
Classes | |
| struct | dg::MultiMatrix< MatrixType, ContainerType > |
| Struct that applies given matrices one after the other. More... | |
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::HMatrix_t< real_type > | dg::create::fast_interpolation1d (const RealGrid1d< real_type > &t, unsigned multiplyn, unsigned multiplyNx) |
| Create interpolation matrix for integer multipliers. | |
| template<class real_type > | |
| dg::HMatrix_t< real_type > | dg::create::fast_projection1d (const RealGrid1d< real_type > &t, unsigned dividen, unsigned divideNx) |
| Create projecton matrix for integer dividers. | |
| template<class real_type > | |
| dg::HMatrix_t< real_type > | dg::create::fast_transform1d (const dg::SquareMatrix< real_type > &opx, const RealGrid1d< real_type > &t) |
| Create a block-diagonal matrix. | |
| template<class real_type , size_t Nd> | |
| EllSparseBlockMat< real_type, thrust::host_vector > | dg::create::fast_interpolation (unsigned coord, const aRealTopology< real_type, Nd > &t, unsigned multiplyn, unsigned multiplyNx) |
| Create interpolation matrix for integer multipliers. | |
| template<class real_type , size_t Nd> | |
| EllSparseBlockMat< real_type, thrust::host_vector > | dg::create::fast_projection (unsigned coord, const aRealTopology< real_type, Nd > &t, unsigned dividen, unsigned divideNx) |
| Create projecton matrix for integer dividers. | |
| template<class real_type , size_t Nd> | |
| EllSparseBlockMat< real_type, thrust::host_vector > | dg::create::fast_transform (unsigned coord, const dg::SquareMatrix< real_type > &opx, const aRealTopology< real_type, Nd > &t) |
| Create a block-diagonal matrix. | |
| template<class real_type , size_t Nd> | |
| dg::MHMatrix_t< real_type > | dg::create::fast_interpolation (unsigned coord, const aRealMPITopology< real_type, Nd > &t, unsigned multiplyn, unsigned multiplyNx) |
| Create interpolation matrix for integer multipliers. | |
| template<class real_type , size_t Nd> | |
| dg::MHMatrix_t< real_type > | dg::create::fast_projection (unsigned coord, const aRealMPITopology< real_type, Nd > &t, unsigned dividen, unsigned divideNx) |
| Create projecton matrix for integer dividers. | |
| template<class real_type , size_t Nd> | |
| MHMatrix_t< real_type > | dg::create::fast_transform (unsigned coord, dg::SquareMatrix< real_type > opx, const aRealMPITopology< real_type, Nd > &t) |
| Create a block-diagonal matrix. | |
| template<class Topology > | |
| auto | dg::create::fast_interpolation (const Topology &t, unsigned multiplyn, unsigned multiplyNx, unsigned multiplyNy) |
| Create interpolation matrix for integer multipliers in the first 2 grid dimensions. | |
| template<class Topology > | |
| auto | dg::create::fast_projection (const Topology &t, unsigned dividen, unsigned divideNx, unsigned divideNy) |
| Create projection matrix for integer dividers in the first 2 grid dimensions. | |
| template<class Topology > | |
| auto | dg::create::fast_transform (const dg::SquareMatrix< typename Topology::value_type > &opx, const dg::SquareMatrix< typename Topology::value_type > &opy, const Topology &t) |
| Create transform matrix in the first 2 grid dimensions. | |
| template<class Topology > | |
| Topology::host_vector | dg::forward_transform (const typename Topology::host_vector &in, const Topology &g) |
| Transform a vector from dg::xspace (nodal values) to dg::lspace (modal values) | |
A matrix type for fast interpolations/projections.