#include <linearForm.hh>
Public Member Functions | |
EdgeRiesz (const concepts::Boundary &bd) | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
void | operator() (const Edge< Real > &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.
This linear form computes
where
is the tangential vector, and
the outer normal vector.
The integration is only done for the shape function which are located on the edge. For mapping to the degrees of freedom in the element there is the T matrix of the edge.
Definition at line 147 of file linearForm.hh.
hp2Dedge::EdgeRiesz::EdgeRiesz | ( | const concepts::Boundary & | bd | ) |
Constructor.
bd | Boundary condition with contained formula |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< Real >.
void hp2Dedge::EdgeRiesz::operator() | ( | const concepts::Element< Real > & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) | const |
Computes the element load vector. As for the computation of an element stiffness matrix, 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 |