hp2Dedge::DirichletIdentity Class Referenceabstract
Linear form in 2D for coping the Dirichlet boundary for Identity bilinearform. More...
#include <boundaries.hh>
Public Member Functions | |
DirichletIdentity (DirichletCoefficients *dc=0) | |
Constructor. More... | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
Computes the element load vector. More... | |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Computes the element contribution to the function. More... | |
void | operator() (const Quad<> &elm, concepts::ElementMatrix< Real > &em) const |
virtual | ~DirichletIdentity () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
DirichletCoefficients * | dc_ |
Reference to the local coefficients, which fullfill bc. More... | |
concepts::Array< Real > | function_ |
concepts::Array< Real > | jacobian_ |
Intermediate data for element matrix computation. More... | |
concepts::Array< concepts::MapReal2d > | jacobianInv_ |
concepts::Array< Real > | tmp_ |
Detailed Description
Linear form in 2D for coping the Dirichlet boundary for Identity bilinearform.
This linear form computes for elements with edges lying on the boundary
where
is the tangential vector,
the outer normal vector, and
the tangential component of the Neumann boundary.
Currently only on quadrilaterals.
Definition at line 118 of file boundaries.hh.
Constructor & Destructor Documentation
◆ DirichletIdentity()
hp2Dedge::DirichletIdentity::DirichletIdentity | ( | DirichletCoefficients * | dc = 0 | ) |
Constructor.
- Parameters
-
dc Local coefficients, which fullfill bc
◆ ~DirichletIdentity()
|
virtual |
Member Function Documentation
◆ info()
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/3]
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.
- Parameters
-
elm The element for which the load vector should be computed. em The load vector
◆ operator()() [2/3]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
◆ operator()() [3/3]
void hp2Dedge::DirichletIdentity::operator() | ( | const Quad<> & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) | const |
Member Data Documentation
◆ dc_
|
private |
Reference to the local coefficients, which fullfill bc.
Definition at line 144 of file boundaries.hh.
◆ function_
|
private |
Definition at line 140 of file boundaries.hh.
◆ jacobian_
|
mutableprivate |
Intermediate data for element matrix computation.
Definition at line 140 of file boundaries.hh.
◆ jacobianInv_
|
private |
Definition at line 141 of file boundaries.hh.
◆ tmp_
|
private |
Definition at line 142 of file boundaries.hh.
The documentation for this class was generated from the following file:
- hp2Dedge/boundaries.hh