Bilinear form in 2D, integral over an edge. More...
#include <bilinearForm.hh>


Public Member Functions | |
| virtual EdgeIdentity * | clone () 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. | |
Bilinear form in 2D, integral over an edge.
This linear form computes
where
is the tangential vector,
the outer normal vector and
the tangential component of the Neumann boundary.
Definition at line 129 of file bilinearForm.hh.
| 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.
em has the correct size. | elmX | Left element (test functions) |
| elmY | Right element (trial functions) |
| em | Return 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.
| elmX | The edge with the test functions |
| elmY | The edge with the trial functions |
| em | The 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.
em has the correct size. | elmX | Left element |
| elmY | Right element |
| em | Return element matrix |
| ep | Element pair holding more information on the pair elmX and elmY |
Definition at line 53 of file bilinearForm.hh.
