#include <boundaries.hh>
Public Member Functions | |
| DirichletIdentity (DirichletCoefficients *dc=0) | |
| void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
| void | operator() (const Quad<> &elm, concepts::ElementMatrix< Real > &em) const |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Linear form in 2D for coping the Dirichlet boundary for Identity bilinearform.
This linear form computes for elements with edges lying on the boundary
![\[ \int_K \vec{f} \vec{v} \, dx\]](form_566.png)
where
![\[\vec{t} = \vec{n}^\bot = {-n_y \choose n_x} \]](form_563.png)
is the tangential vector,
![\[\vec{n}\]](form_564.png)
the outer normal vector, and
![\[g\]](form_565.png)
the tangential component of the Neumann boundary.
Currently only on quadrilaterals.
Definition at line 118 of file boundaries.hh.
| hp2Dedge::DirichletIdentity::DirichletIdentity | ( | DirichletCoefficients * | dc = 0 | ) |
Constructor
| dc | Local coefficients, which fullfill bc |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< Real >.
| void hp2Dedge::DirichletIdentity::operator() | ( | const concepts::Element< Real > & | elm, |
| concepts::ElementMatrix< Real > & | em | ||
| ) | const |
Computes the element load vector. There are the loops over all quadrature points and the loops over all shape functions.
| elm | The element for which the load vector should be computed. |
| em | The load vector |
|
pure virtualinherited |
Computes the element contribution to the function.
| elm | Element on which the computations should be performed |
| em | The local matrix |