Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
#include <vector>
#include <algorithm>
#include <cmath>
#include <iterator>
#include <stdexcept>
#include <cassert>
#include "dlt.h"
#include "../blas1.h"
Go to the source code of this file.
Classes | |
class | dg::Operator< T > |
A square nxn matrix. 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 T > | |
T | dg::create::lu_pivot (dg::Operator< T > &m, std::vector< unsigned > &p) |
LU Decomposition with partial pivoting. More... | |
template<class T > | |
void | dg::create::lu_solve (const dg::Operator< T > &lu, const std::vector< unsigned > &p, std::vector< T > &b) |
Solve the linear system with the LU decomposition. More... | |
template<class T > | |
dg::Operator< T > | dg::create::inverse (const dg::Operator< T > &in) |
Compute the inverse of a square matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::delta (unsigned n) |
Create the unit matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::pipj (unsigned n) |
Create the S-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::pipj_inv (unsigned n) |
Create the T-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::pidxpj (unsigned n) |
Create the D-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::rirj (unsigned n) |
Create the R-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::rilj (unsigned n) |
Create the RL-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::lirj (unsigned n) |
Create the LR-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::lilj (unsigned n) |
Create the L-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::ninj (unsigned n) |
Create the N-matrix. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::weights (const DLT< real_type > &dlt) |
Construct a diagonal operator with weights. More... | |
template<class real_type > | |
Operator< real_type > | dg::create::inv_weights (const DLT< real_type > &dlt) |
Construct a diagonal operator with inverse weights. More... | |
template<class T > | |
dg::Operator< T > | dg::invert (const dg::Operator< T > &in) |
Alias for dg::create::inverse . Compute inverse of square matrix. More... | |