dune-pdelab
2.4.1
|
#include <dune/pdelab/localoperator/poisson.hh>
Public Types | |
enum | { doPatternVolume = true } |
enum | { doAlphaVolume = true } |
enum | { doLambdaVolume = true } |
enum | { doLambdaBoundary = true } |
Flags for the sparsity pattern | |
enum | { doPatternVolume } |
Whether to assemble the pattern on the elements, i.e. whether or not pattern_volume() should be called. More... | |
enum | { doPatternVolumePostSkeleton } |
Whether to assemble the pattern on the elements after the skeleton has been handled, i.e. whether or not pattern_volume_post_skeleton() should be called. More... | |
enum | { doPatternSkeleton } |
Whether to assemble the pattern on the interior intersections, i.e. whether or not pattern_skeleton() should be called. More... | |
enum | { doPatternBoundary } |
Whether to assemble the pattern on the boundary intersections, i.e. whether or not pattern_boundary() should be called. More... | |
Flags for the non-constant part of the residual and the jacobian | |
enum | { doAlphaVolume } |
Whether to call the local operator's alpha_volume(), jacobian_apply_volume() and jacobian_volume(). More... | |
enum | { doAlphaVolumePostSkeleton } |
Whether to call the local operator's alpha_volume_post_skeleton(), jacobian_apply_volume_post_skeleton() and jacobian_volume_post_skeleton(). More... | |
enum | { doAlphaSkeleton } |
Whether to call the local operator's alpha_skeleton(), jacobian_apply_skeleton() and jacobian_skeleton(). More... | |
enum | { doAlphaBoundary } |
Whether to call the local operator's alpha_boundary(), jacobian_apply_boundary() and jacobian_boundary(). More... | |
Flags for the constant part of the residual | |
enum | { doLambdaVolume } |
Whether to call the local operator's lambda_volume(). More... | |
enum | { doLambdaVolumePostSkeleton } |
Whether to call the local operator's lambda_volume_post_skeleton(). More... | |
enum | { doLambdaSkeleton } |
Whether to call the local operator's lambda_skeleton(). More... | |
enum | { doLambdaBoundary } |
Whether to call the local operator's lambda_boundary(). More... | |
Special flags | |
enum | { doSkeletonTwoSided } |
Whether to visit the skeleton methods from both sides. More... | |
Public Member Functions | |
Poisson (const F &f_, const B &bctype_, const J &j_, 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 |
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 EG , typename LFSV , typename R > | |
void | lambda_volume (const EG &eg, const LFSV &lfsv, R &r) const |
template<typename IG , typename LFSV , typename R > | |
void | lambda_boundary (const IG &ig, const LFSV &lfsv, R &r) const |
void | jacobian_apply_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, Y &y) const |
apply local jacobian of the volume term More... | |
void | jacobian_apply_volume (const EG &eg, const LFSU &lfsu, const X &x, const X &z, const LFSV &lfsv, Y &y) const |
apply local jacobian of the volume term More... | |
template<typename LFSU , typename LFSV , typename LocalPattern > | |
void | pattern_volume (const LFSU &lfsu, const LFSV &lfsv, LocalPattern &pattern) const |
Protected Attributes | |
const F & | f |
const B & | bctype |
const J & | j |
Laplace | laplace_ |
unsigned int | quadOrder_ |
a local operator for solving the Poisson equation
with conforming finite elements on all types of grids in any dimension
F | grid function type giving f |
B | grid function type selecting boundary condition |
J | grid function type giving j |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Constructor.
quadOrder | Order of the quadrature rule used for integrating over the element |
|
inline |
|
inlineinherited |
apply local jacobian of the volume term
|
inlineinherited |
apply local jacobian of the volume term
|
inline |
Compute the Laplace stiffness matrix for the element given in 'eg'.
M | Type of the element stiffness matrix |
[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 |
|
inline |
|
inline |
|
inlineinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |