hp2Dedge::EdgeRiesz Class Referenceabstract
Linear form in 2D. More...
#include <linearForm.hh>
Public Member Functions | |
EdgeRiesz (const concepts::Boundary &bd) | |
Constructor. More... | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
Computes the element load vector. More... | |
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 |
Computes the element contribution to the function. More... | |
virtual | ~EdgeRiesz () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const concepts::Boundary | bd_ |
Boundary condition on this edge. More... | |
Detailed Description
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.
- See also
- Edge
Definition at line 147 of file linearForm.hh.
Constructor & Destructor Documentation
◆ EdgeRiesz()
hp2Dedge::EdgeRiesz::EdgeRiesz | ( | const concepts::Boundary & | bd | ) |
Constructor.
- Parameters
-
bd Boundary condition with contained formula
◆ ~EdgeRiesz()
|
virtual |
Member Function Documentation
◆ info()
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/3]
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.
- Parameters
-
elm The element for which the load vector should be computed. em The load vector
◆ operator()() [2/3]
void hp2Dedge::EdgeRiesz::operator() | ( | const Edge< Real > & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) | const |
◆ operator()() [3/3]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
Member Data Documentation
◆ bd_
|
private |
Boundary condition on this edge.
Definition at line 170 of file linearForm.hh.
The documentation for this class was generated from the following file:
- hp2Dedge/linearForm.hh