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

Public Member Functions | Protected Member Functions
hp2Dedge::EdgeIdentity Class Reference

Bilinear form in 2D, integral over an edge. More...

#include <bilinearForm.hh>

Inheritance diagram for hp2Dedge::EdgeIdentity:
Inheritance graph
[legend]
Collaboration diagram for hp2Dedge::EdgeIdentity:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual EdgeIdentityclone () const
 Virtual constructor.
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.
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.
void operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< Real > &em)
 Computes the element mass matrix.
void operator() (const Edge< Real > &elmX, const Edge< Real > &elmY, concepts::ElementMatrix< Real > &em)

Protected Member Functions

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

Detailed Description

Bilinear form in 2D, integral over an edge.

This linear form computes

\[\int_{\partial K \cap \Gamma_N} g \vec{t} \vec v \, ds. \]

where $\vec{t} = \vec{n}^\bot = {-n_y \choose n_x} $ is the tangential vector, $\vec{n}$ the outer normal vector and $g$ the tangential component of the Neumann boundary.

Author:
Kersten Schmidt, 2004

Definition at line 129 of file bilinearForm.hh.


Member Function Documentation

virtual EdgeIdentity* hp2Dedge::EdgeIdentity::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 144 of file bilinearForm.hh.

virtual std::ostream& hp2Dedge::EdgeIdentity::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::BilinearForm< Real >.

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
void hp2Dedge::EdgeIdentity::operator() ( const Edge< Real > &  elmX,
const Edge< Real > &  elmY,
concepts::ElementMatrix< Real > &  em 
)
void hp2Dedge::EdgeIdentity::operator() ( const concepts::Element< Real > &  elmX,
const concepts::Element< Real > &  elmY,
concepts::ElementMatrix< Real > &  em 
)

Computes the element mass matrix.

There are the loops over all quadrature points and the loops over all shape functions.

Parameters:
elmXThe edge with the test functions
elmYThe edge with the trial functions
emThe element matrix
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:


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

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