|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
utility functions More...
#include <thrust/host_vector.h>#include <cassert>#include "dg/backend/typedefs.h"#include "grid.h"#include "dlt.h"#include "operator.h"#include "operator_tensor.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 T > | |
| dg::SparseMatrix< int, T, thrust::host_vector > | dg::tensorproduct (const dg::SparseMatrix< int, T, thrust::host_vector > &lhs, const dg::SparseMatrix< int, T, thrust::host_vector > &rhs) |
| \( L\otimes R\) Form the tensor (Kronecker) product between two matrices | |
| template<class T > | |
| dg::SparseMatrix< int, T, thrust::host_vector > | dg::tensorproduct_cols (const dg::SparseMatrix< int, T, thrust::host_vector > &lhs, const dg::SparseMatrix< int, T, thrust::host_vector > &rhs) |
| \( L\otimes R\) Form the tensor (Kronecker) product between two matrices in the column index | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::backscatter (const RealGrid1d< real_type > &g) |
| Create a matrix \( B_{eq} F\) that interpolates values to an equidistant grid ready for visualisation. | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::backscatter (const aRealTopology2d< real_type > &g) |
| Create a matrix \( B_{eq} F\) that interpolates values to an equidistant grid ready for visualisation. | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::backscatter (const aRealTopology3d< real_type > &g) |
| Create a matrix \( B_{eq} F\) that interpolates values to an equidistant grid ready for visualisation. | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::inv_backscatter (const RealGrid1d< real_type > &g) |
| Create a matrix \( (B_{eq} F)^{-1}\) that transforms values from an equidistant grid back to a dg grid. | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::inv_backscatter (const aRealTopology2d< real_type > &g) |
| Create a matrix \( (B_{eq} F)^{-1}\) that transforms values from an equidistant grid back to a dg grid. | |
| template<class real_type > | |
| dg::IHMatrix_t< real_type > | dg::create::inv_backscatter (const aRealTopology3d< real_type > &g) |
| Create a matrix \( (B_{eq} F)^{-1}\) that transforms values from an equidistant grid back to a dg grid. | |
utility functions