hp2Dedge::EdgeIdentity Class Referenceabstract
Bilinear form in 2D, integral over an edge. More...
#include <bilinearForm.hh>
Public Member Functions | |
virtual EdgeIdentity * | clone () const |
Virtual constructor. More... | |
virtual BilinearForm * | clone () const=0 |
Virtual constructor. More... | |
void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< Real > &em) const |
Computes the element mass matrix. More... | |
void | operator() (const Edge< Real > &elmX, const Edge< Real > &elmY, concepts::ElementMatrix< Real > &em) const |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em) const=0 |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
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) const |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Detailed Description
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 118 of file bilinearForm.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 133 of file bilinearForm.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< Real >.
◆ operator()() [1/4]
void hp2Dedge::EdgeIdentity::operator() | ( | const concepts::Element< Real > & | elmX, |
const concepts::Element< Real > & | elmY, | ||
concepts::ElementMatrix< Real > & | em | ||
) | const |
Computes the element mass matrix.
There are the loops over all quadrature points and the loops over all shape functions.
- Parameters
-
elmX The edge with the test functions elmY The edge with the trial functions em The element matrix
◆ operator()() [2/4]
void hp2Dedge::EdgeIdentity::operator() | ( | const Edge< Real > & | elmX, |
const Edge< Real > & | elmY, | ||
concepts::ElementMatrix< Real > & | em | ||
) | const |
◆ operator()() [3/4]
|
pure virtualinherited |
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
-
elmX Left element (test functions) elmY Right element (trial functions) em Return element matrix
◆ operator()() [4/4]
|
inlinevirtualinherited |
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
-
elmX Left element elmY Right element em Return element matrix ep Element pair holding more information on the pair elmX
andelmY
Definition at line 57 of file bilinearForm.hh.
The documentation for this class was generated from the following file:
- hp2Dedge/bilinearForm.hh