|
| | Laplace (unsigned int quadOrder) |
| | Constructor. More...
|
| |
| template<typename EG , typename LFSU , typename X , typename LFSV , typename R > |
| void | alpha_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, R &r) const |
| | Compute Laplace matrix times a given vector for one element. More...
|
| |
| template<typename EG , typename LFSU , typename X , typename LFSV , typename M > |
| void | jacobian_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, M &matrix) const |
| | Compute the Laplace stiffness matrix for the element given in 'eg'. More...
|
| |
| template<typename LFSU , typename LFSV , typename LocalPattern > |
| void | pattern_volume (const LFSU &lfsu, const LFSV &lfsv, LocalPattern &pattern) const |
| |
a local operator for solving the Laplace equation
with conforming finite elements on all types of grids in any dimension.
In other words, it only assembles the Laplace matrix.
template<typename EG , typename LFSU , typename X , typename LFSV , typename R >
| void Dune::PDELab::Laplace::alpha_volume |
( |
const EG & |
eg, |
|
|
const LFSU & |
lfsu, |
|
|
const X & |
x, |
|
|
const LFSV & |
lfsv, |
|
|
R & |
r |
|
) |
| const |
|
inline |
Compute Laplace matrix times a given vector for one element.
This is used for matrix-free algorithms for the Laplace equation
- Parameters
-
| [in] | eg | The grid element we are assembling on |
| [in] | lfsu | Local ansatz function space basis |
| [in] | lfsv | Local test function space basis |
| [in] | x | Input vector |
| [out] | r | The product of the Laplace matrix times x |
References quadOrder_.
template<typename EG , typename LFSU , typename X , typename LFSV , typename M >
| void Dune::PDELab::Laplace::jacobian_volume |
( |
const EG & |
eg, |
|
|
const LFSU & |
lfsu, |
|
|
const X & |
x, |
|
|
const LFSV & |
lfsv, |
|
|
M & |
matrix |
|
) |
| const |
|
inline |
Compute the Laplace stiffness matrix for the element given in 'eg'.
- Template Parameters
-
| M | Type of the element stiffness matrix |
- Parameters
-
| [in] | eg | The grid element we are assembling on |
| [in] | lfsu | Local ansatz function space basis |
| [in] | lfsv | Local test function space basis |
| [in] | x | Current configuration; gets ignored for linear problems like this one |
| [out] | matrix | Element stiffness matrix |
References dim, and quadOrder_.