Discontinuous Galerkin Library
#include "dg/algorithm.h"
fem.h File Reference
#include "../blas.h"
#include "grid.h"
#include "xspacelib.h"
#include "fem_weights.h"

Go to the source code of this file.

Classes

struct  dg::TriDiagonal< Container >
 Fast (shared memory) tridiagonal sparse matrix. More...
 
struct  dg::InverseTriDiagonal< value_type >
 Fast inverse tridiagonal sparse matrix. More...
 
struct  dg::KroneckerTriDiagonal2d< Container >
 Fast tridiagonal sparse matrix in 2d \( T_y\otimes T_x\). More...
 
struct  dg::InverseKroneckerTriDiagonal2d< Container >
 Fast inverse tridiagonal sparse matrix in 2d \( T_y^{-1}\otimes T_x^{-1}\). 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::TriDiagonal< dg::HVec_t< real_type > > dg::create::fem_mass (const RealGrid1d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int v_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::TriDiagonal< dg::HVec_t< real_type > > dg::create::fem_linear2const (const RealGrid1d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int c_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::KroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::fem_mass (const aRealTopology2d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int v_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::InverseKroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::inv_fem_mass (const aRealTopology2d< real_type > &g)
 Inverse finite element mass matrix \( S^{-1} \). More...
 
template<class real_type >
dg::KroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::fem_linear2const (const aRealTopology2d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int c_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::InverseKroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::inv_fem_linear2const (const aRealTopology2d< real_type > &g)
 Inverse finite element mass matrix \( S^{-1} \). More...
 
template<class real_type >
dg::KroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::fem_mass2d (const aRealTopology3d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int v_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::InverseKroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::inv_fem_mass2d (const aRealTopology3d< real_type > &g)
 Inverse finite element mass matrix \( S^{-1} \). More...
 
template<class real_type >
dg::KroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::fem_linear2const2d (const aRealTopology3d< real_type > &g)
 \( S_{ij} = \frac{1}{w_i}\int c_i(x) v_j(x) \) finite element projection matrix More...
 
template<class real_type >
dg::InverseKroneckerTriDiagonal2d< dg::HVec_t< real_type > > dg::create::inv_fem_linear2const2d (const aRealTopology3d< real_type > &g)
 Inverse finite element mass matrix \( S^{-1} \). More...