Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
linDG2D::LaplaceStabBf Class Reference

Stabilizing edge integral for the Laplacian in DG FEM in 2D. More...

#include <bilinearForm.hh>

Inheritance diagram for linDG2D::LaplaceStabBf:
Inheritance graph
[legend]
Collaboration diagram for linDG2D::LaplaceStabBf:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual LaplaceStabBfclone () const
 Virtual constructor.
 LaplaceStabBf (Real omega, const concepts::BoundaryConditions *bc)
 Constructor.
virtual void operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em)=0
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
virtual void operator() (const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em)
 Application operator for volume terms, does nothing.
virtual void operator() (const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em, const concepts::ElementPair< Real > &ep)
 Application operator for DG term.
virtual void operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep)
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

const
concepts::BoundaryConditions
bc_
 Boundary conditions, only the boundary type is relevant.
const Real omega_
 Stabilization parameter.

Detailed Description

Stabilizing edge integral for the Laplacian in DG FEM in 2D.

This bilinear form integrates

\[ \frac{\omega}{\vert e\vert} \int_{e} [\phi_i] \cdot [\phi_j] \, ds. \]

Author:
Christoph Winkelmann, 2003

Definition at line 87 of file bilinearForm.hh.


Constructor & Destructor Documentation

linDG2D::LaplaceStabBf::LaplaceStabBf ( Real  omega,
const concepts::BoundaryConditions bc 
) [inline]

Constructor.

Parameters:
omegaStabilization parameter
bcBoundary conditions, only the boundary type is relevant

Definition at line 93 of file bilinearForm.hh.


Member Function Documentation

virtual LaplaceStabBf* linDG2D::LaplaceStabBf::clone ( ) const [inline, virtual]

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 106 of file bilinearForm.hh.

Here is the call graph for this function:

virtual std::ostream& concepts::BilinearForm< Real , typename Realtype<Real >::type >::info ( std::ostream &  os) const [protected, virtual, inherited]
virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::operator() ( const Element< typename Realtype<Real >::type > &  elmX,
const Element< typename Realtype<Real >::type > &  elmY,
ElementMatrix< Real > &  em,
const ElementPair< typename Realtype<Real >::type > &  ep 
) [inline, virtual, inherited]

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.

If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.

Postcondition:
The returned matrix em has the correct size.
Parameters:
elmXLeft element
elmYRight element
emReturn element matrix
epElement pair holding more information on the pair elmX and elmY

Definition at line 53 of file bilinearForm.hh.

Here is the call graph for this function:

virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::operator() ( const Element< typename Realtype<Real >::type > &  elmX,
const Element< typename Realtype<Real >::type > &  elmY,
ElementMatrix< Real > &  em 
) [pure virtual, inherited]

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.

Postcondition:
The returned matrix em has the correct size.
Parameters:
elmXLeft element (test functions)
elmYRight element (trial functions)
emReturn element matrix
virtual void linDG2D::LaplaceStabBf::operator() ( const concepts::Element< Real > &  elmV,
const concepts::Element< Real > &  elmU,
concepts::ElementMatrix< Real > &  em 
) [inline, virtual]

Application operator for volume terms, does nothing.

Definition at line 96 of file bilinearForm.hh.

virtual void linDG2D::LaplaceStabBf::operator() ( const concepts::Element< Real > &  elmV,
const concepts::Element< Real > &  elmU,
concepts::ElementMatrix< Real > &  em,
const concepts::ElementPair< Real > &  ep 
) [virtual]

Application operator for DG term.


Member Data Documentation

Boundary conditions, only the boundary type is relevant.

Definition at line 112 of file bilinearForm.hh.

const Real linDG2D::LaplaceStabBf::omega_ [private]

Stabilization parameter.

Definition at line 110 of file bilinearForm.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)